aboutsummaryrefslogtreecommitdiff
path: root/.bazelrc
diff options
context:
space:
mode:
authorFabian Meumertzheim <fabian@meumertzhe.im>2021-12-15 12:00:37 +0100
committerFabian Meumertzheim <fabian@meumertzhe.im>2021-12-15 12:40:59 +0100
commit726cc6bd0c0e26378574f74b712de948e56664ec (patch)
treec5880647e8b29782d15be0c99a60e56fed6f8a02 /.bazelrc
parent3707d34841174b4b5fa3acef5e9c4d7e5314a4bf (diff)
downloadjazzer-api-726cc6bd0c0e26378574f74b712de948e56664ec.tar.gz
Fix failure with --config=toolchain
Since our toolchain is loaded dynamically depending on the OS and architecture, we can't have a static --extra_toolchains in our .bazelrc. Instead, enable the toolchains in the specific GitHub Actions.
Diffstat (limited to '.bazelrc')
-rw-r--r--.bazelrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.bazelrc b/.bazelrc
index 75c6b9ef..6c60e6c2 100644
--- a/.bazelrc
+++ b/.bazelrc
@@ -30,7 +30,7 @@ test:windows --noincompatible_strict_action_env
run:windows --noincompatible_strict_action_env
# Toolchain
-build:toolchain --extra_toolchains=@llvm_toolchain//:cc-toolchain-x86_64-linux,@llvm_toolchain//:cc-toolchain-x86_64-darwin
+# Since the toolchain is conditional on OS and architecture, set it on the particular GitHub Action.
build:toolchain --//third_party:toolchain
# CI tests (not using the toolchain to test OSS-Fuzz & local compatibility)