-
Notifications
You must be signed in to change notification settings - Fork 1
/
.bazelrc
22 lines (16 loc) · 816 Bytes
/
.bazelrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Upstream LLVM/Clang requires C++17. This will only configure rules_cc.
common --repo_env=BAZEL_CXXOPTS='-std=c++17:-O3'
common --repo_env=CC='clang-16'
# Separate the toolchain from regular code. This will put execution artifacts
# into bazel-out/ll_linux_exec_platform-opt-exec-<hash>.
common --experimental_platform_in_output_dir
# We require bzlmod.
common --experimental_enable_bzlmod
# Default to the BCR.
common --registry=https://raw.githubusercontent.com/bazelbuild/bazel-central-registry/main/
# Additional registry required by rules_ll.
common --registry=https://raw.githubusercontent.com/eomii/bazel-eomii-registry/main/
# We need temporarily unresolved symlinks for CUDA.
common --experimental_allow_unresolved_symlinks
# Encapsulate the build environment.
common --incompatible_strict_action_env