blob: 088df15ce250b4072f9676695483a7b9d405b07c [file] [log] [blame]
Googler75c7ad02022-05-23 13:27:49 -07001# generic_clang from @llvm-raw//utils/bazel, but c++17 to match Google
2build:generic_clang --repo_env=CC=clang
3build:generic_clang --cxxopt=-std=c++17 --host_cxxopt=-std=c++17
4build:generic_clang --copt=-Wall --copt=-Werror --host_copt=-Wall --host_copt=-Werror
5build:generic_clang --cxxopt=-Wno-range-loop-analysis --host_cxxopt=-Wno-range-loop-analysis
6build:generic_clang --copt=-Wno-deprecated --host_copt=-Wno-deprecated
7
Matthew Riley03a01e32022-05-24 10:16:04 -07008# enable linking against prebuilt LLVM with no RTTI
9build:generic_clang --copt=-fno-rtti --host_copt=-fno-rtti
10
Googler75c7ad02022-05-23 13:27:49 -070011build --config=generic_clang
12build --sandbox_base=/dev/shm