Bazel: move shared bazelrc settings to a exported.bazelrc file

This will be `importe`d by the `semmle-code` `.bazelrc` file.
This commit is contained in:
Paolo Tranquilli
2024-04-09 15:10:13 +02:00
parent 4b205ff96d
commit 9c73a9a1db
2 changed files with 5 additions and 3 deletions

View File

@@ -14,7 +14,5 @@ build:linux --cxxopt=-std=c++20
build:macos --cxxopt=-std=c++20 --cpu=darwin_x86_64
build:windows --cxxopt=/std:c++20 --cxxopt=/Zc:preprocessor
# emitting jdeps does not work when building the 2.0.0+ kotlin extractor
build --@rules_kotlin//kotlin/settings:jvm_emit_jdeps=false
import %workspace%/exported.bazelrc
try-import %workspace%/local.bazelrc

4
exported.bazelrc Normal file
View File

@@ -0,0 +1,4 @@
# these settings are shared between `codeql` and `semmle-code`
# emitting jdeps does not work when building the 2.0.0+ kotlin extractor
build --@rules_kotlin//kotlin/settings:jvm_emit_jdeps=false