Googler | 75c7ad0 | 2022-05-23 13:27:49 -0700 | [diff] [blame] | 1 | # generic_clang from @llvm-raw//utils/bazel, but c++17 to match Google |
| 2 | build:generic_clang --repo_env=CC=clang |
| 3 | build:generic_clang --cxxopt=-std=c++17 --host_cxxopt=-std=c++17 |
| 4 | build:generic_clang --copt=-Wall --copt=-Werror --host_copt=-Wall --host_copt=-Werror |
| 5 | build:generic_clang --cxxopt=-Wno-range-loop-analysis --host_cxxopt=-Wno-range-loop-analysis |
| 6 | build:generic_clang --copt=-Wno-deprecated --host_copt=-Wno-deprecated |
| 7 | |
Matthew Riley | 03a01e3 | 2022-05-24 10:16:04 -0700 | [diff] [blame] | 8 | # enable linking against prebuilt LLVM with no RTTI |
| 9 | build:generic_clang --copt=-fno-rtti --host_copt=-fno-rtti |
| 10 | |
Googler | 75c7ad0 | 2022-05-23 13:27:49 -0700 | [diff] [blame] | 11 | build --config=generic_clang |
| 12 | build --sandbox_base=/dev/shm |