-
Notifications
You must be signed in to change notification settings - Fork 4
/
shared.bazelrc
41 lines (33 loc) · 1.48 KB
/
shared.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
36
37
38
39
40
41
# Verbose Failures
build --verbose_failures
# Show detailed errors for test failures
test --test_output=errors --test_summary=detailed
# Strict PATH. Helps prevent build cache invalidation due to PATH differences.
build --incompatible_strict_action_env=true
# Don't allow empty glob patterns by default
build --incompatible_disallow_empty_glob
# Enable bzlmod
common --enable_bzlmod
build --@cgrindel_bazel_starlib//bzlmod:enabled
# Remote Cache
build:cache --bes_results_url=https://app.buildbuddy.io/invocation/
build:cache --bes_backend=grpcs://remote.buildbuddy.io
build:cache --remote_cache=grpcs://remote.buildbuddy.io
build:cache --remote_download_toplevel # Helps remove network bottleneck if caching is enabled
build:cache --remote_timeout=3600
build:cache --experimental_remote_cache_async
build:cache --experimental_remote_cache_compression
# Recommended by BuildBuddy
# TODO: Rename this to remote_build_event_upload once we are no longer supporting 6.x.x.
build --experimental_remote_build_event_upload=minimal
build --noslim_profile
build --experimental_profile_include_target_label
build --experimental_profile_include_primary_output
build --nolegacy_important_outputs
# Finish BES upload in the background. Disable BES upload when running.
# Do not put these under the cache config as they do not pick up when running.
build --bes_upload_mode=fully_async
run --bes_backend=
run --bes_results_url=
# Easily run without caches
common:no_cache --remote_cache= --disk_cache= --repository_cache=