Open TheExGenesis opened 1 year ago
Managed to compile after doing the following:
apt-get install libc++-dev
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
echo "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-14 main" | sudo tee -a /etc/apt/sources.list
apt-get update
apt-get install libc++-14-dev libc++abi-14-dev
export BAZEL_CXXOPTS="-stdlib=libc++:-I/usr/include/c++/v1/"
export BAZEL_LINKOPTS="-stdlib=libc++:-lc++abi"
On Ubuntu 20.04.5 LTS. clang and gcc versions:
Compiling with
--sandbox-debug
throws the following: