liftedinit / many-rs

Rust libraries for the Many Protocol
Apache License 2.0
5 stars 11 forks source link

rocksdb 7.4.4 doesn't build with GCC 13 #387

Open fmorency opened 1 year ago

fmorency commented 1 year ago

See https://github.com/facebook/rocksdb/issues/11157

Workaround: build using clang and libc++

user.bazel

build --repo_env=CC=clang --linkopt=-fuse-ld=lld
build --repo_env='BAZEL_CXXOPTS=-std=c++17:-stdlib=libc++'
build --repo_env='BAZEL_LINKLIBS=-lc++:-lm'