blob: 3a6f7367db016d7c31b3776a5ce746ef19b3ee51 [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
Lukasz Anforowicz60ed6c82023-04-26 12:05:26 -07003build:generic_clang --cxxopt=-std=c++17 --host_cxxopt=-std=c++17 --repo_env=BAZEL_CXXOPTS=-std=c++17
Googler75c7ad02022-05-23 13:27:49 -07004build: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