Open SlausB opened 2 years ago
I changed install_bazel.sh
from bazelisk
to apt-way described in bazel docs:
curl -fsSL https://bazel.build/bazel-release.pub.gpg | gpg --dearmor > bazel.gpg
mv bazel.gpg /etc/apt/trusted.gpg.d/
echo "deb [arch=amd64] https://storage.googleapis.com/bazel-apt stable jdk1.8" | tee /etc/apt/sources.list.d/bazel.list
apt update
apt install -y bazel
apt full-upgrade
and now it works! Dunno what could be the reason, because on host I also use bazelisk
and it works fine.
Thanks again for the awesome boilerplate!
I looked briefly at this.
It looks like clang is using the module map from /usr/lib/clang/15.0.0/include/module.modulemap (which doesn't include std_config) instead of the module map from /usr/lib/llvm-15/include/c++/v1/module.modulemap (which includes std_config).
Something must have changed in the llvm setup and where the module maps are installed.
Hello! When I do:
build fails with error:
Or as image for better colorized view:
What could be the reason? Thanks in advance!