bazel: adopt best practices for bazelrc

Options adapted from https://docs.aspect.build/guides/bazelrc

bazel: adopt best practices for bazelrc

Options adapted from https://docs.aspect.build/guides/bazelrc
This commit is contained in:
Malte Poll 2023-08-18 15:12:21 +02:00 committed by Malte Poll
parent 339492f314
commit 6c6e2ca2f4
9 changed files with 262 additions and 32 deletions

3
bazel/bazelrc/cc.bazelrc Normal file
View file

@ -0,0 +1,3 @@
# disable automatic toolchain detection for C/C++
common --incompatible_enable_cc_toolchain_resolution
common --action_env BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1