-
Notifications
You must be signed in to change notification settings - Fork 3
/
.bazelrc
35 lines (27 loc) · 1.63 KB
/
.bazelrc
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
28
29
30
31
32
33
34
35
# Enable platform configs below, like build:linux, test:windows etc.
common --enable_platform_specific_config
# To update these lines, execute
# `bazel run @rules_bazel_integration_test//tools:update_deleted_packages`
build --deleted_packages=fixtures/bzlmod/root,fixtures/simple/output_base/external/bar,fixtures/simple/output_base/external/foo,fixtures/simple/root,fixtures/simple/root/foo
query --deleted_packages=fixtures/bzlmod/root,fixtures/simple/output_base/external/bar,fixtures/simple/output_base/external/foo,fixtures/simple/root,fixtures/simple/root/foo
# Test fixtures require runfiles on all platforms
build --enable_runfiles
# This shortens paths on windows
common:windows --nolegacy_external_runfiles
common:windows --experimental_sibling_repository_layout
build:ci --bes_results_url=https://bazel-lsp.buildbuddy.io/invocation/
build:ci --bes_backend=grpcs://bazel-lsp.buildbuddy.io
# Do not wait for BES upload to finish to avoid failing build if BES is not available.
build:ci --bes_upload_mode=nowait_for_upload_complete
build:ci --remote_cache=grpcs://bazel-lsp.buildbuddy.io
build:ci --remote_timeout=3600
build:ci --build_metadata=VISIBILITY=PUBLIC
common:ci --lockfile_mode=error
# Configuration required by https://github.com/uber/hermetic_cc_toolchain
build:linux --sandbox_add_mount_pair=/tmp
# Disable auto-detected local C++ toolchain, always use hermetic toolchains.
build:linux --action_env BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1
# Do not leak local envs into actions, esp. PATH variable.
build --incompatible_strict_action_env
# Allow isolation of the "crate" extension in the root repo
common --experimental_isolated_extension_usages