-
Notifications
You must be signed in to change notification settings - Fork 345
Expand file tree
/
Copy path.bazelrc
More file actions
28 lines (21 loc) · 3.22 KB
/
.bazelrc
File metadata and controls
28 lines (21 loc) · 3.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
build --java_language_version=21 --java_runtime_version=21
build --tool_java_language_version=21 --tool_java_runtime_version=21
# Delete test data packages, needed for bazel integration tests. Update by running the following command:
# bazel run @rules_bazel_integration_test//tools:update_deleted_packages
build --deleted_packages=clwb/tests/projects/clang_cl,clwb/tests/projects/clang_cl/main,clwb/tests/projects/execution/.clwb/aspects,clwb/tests/projects/execution/main,clwb/tests/projects/external_includes/main,clwb/tests/projects/llvm_toolchain/main,clwb/tests/projects/llvm_toolchain/wasm,clwb/tests/projects/protobuf,clwb/tests/projects/protobuf/main,clwb/tests/projects/protobuf/proto,clwb/tests/projects/simple/main,clwb/tests/projects/target_compatible/main,clwb/tests/projects/transition/main,clwb/tests/projects/virtual_includes/lib,clwb/tests/projects/virtual_includes/lib/external,clwb/tests/projects/virtual_includes/lib/impl_deps,clwb/tests/projects/virtual_includes/lib/raw_files,clwb/tests/projects/virtual_includes/lib/strip_absolut,clwb/tests/projects/virtual_includes/lib/strip_relative,clwb/tests/projects/virtual_includes/main,examples/cpp/simple_project/src,examples/cpp/simple_project/src/lib,examples/python/simple_code_generator/example,examples/python/simple_code_generator/generated,examples/python/simple_code_generator/lib,examples/python/simple_code_generator/rules,examples/python/with_numpy,examples/python/with_numpy/app,examples/python/with_numpy/lib
query --deleted_packages=clwb/tests/projects/clang_cl,clwb/tests/projects/clang_cl/main,clwb/tests/projects/execution/.clwb/aspects,clwb/tests/projects/execution/main,clwb/tests/projects/external_includes/main,clwb/tests/projects/llvm_toolchain/main,clwb/tests/projects/llvm_toolchain/wasm,clwb/tests/projects/protobuf,clwb/tests/projects/protobuf/main,clwb/tests/projects/protobuf/proto,clwb/tests/projects/simple/main,clwb/tests/projects/target_compatible/main,clwb/tests/projects/transition/main,clwb/tests/projects/virtual_includes/lib,clwb/tests/projects/virtual_includes/lib/external,clwb/tests/projects/virtual_includes/lib/impl_deps,clwb/tests/projects/virtual_includes/lib/raw_files,clwb/tests/projects/virtual_includes/lib/strip_absolut,clwb/tests/projects/virtual_includes/lib/strip_relative,clwb/tests/projects/virtual_includes/main,examples/cpp/simple_project/src,examples/cpp/simple_project/src/lib,examples/python/simple_code_generator/example,examples/python/simple_code_generator/generated,examples/python/simple_code_generator/lib,examples/python/simple_code_generator/rules,examples/python/with_numpy,examples/python/with_numpy/app,examples/python/with_numpy/lib
# Required for rules java atm
common --noincompatible_disallow_empty_glob
# Required for nested bazel invocations in repo rules
common --repo_env=BAZEL_REAL
# Required for CLion integration tests on windows
startup --windows_enable_symlinks
build --enable_runfiles
build --legacy_external_runfiles
# Workaround for rules_android issue since CI defines these environment variables
common --repo_env=ANDROID_HOME=""
common --repo_env=ANDROID_SDK_ROOT=""
common --repo_env=ANDROID_NDK_HOME=""
common --repo_env=ANDROID_NDK_ROOT=""
# Avoids frequent protoc rebuilds
build --@protobuf//bazel/toolchains:prefer_prebuilt_protoc