-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bazelrc
46 lines (41 loc) · 1.51 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
36
37
38
39
40
41
42
43
44
45
46
# Aspect-Recommended bazel flags for all projects
# Docs for these flags: https://bazel.build/reference/command-line-reference
# Accompanies this blog post: https://blog.aspect.dev/bazelrc-flags
###
# Performance fixes
###
# Consider --experimental_remote_merkle_tree_cache_size as well
build --experimental_remote_merkle_tree_cache
query --experimental_remote_merkle_tree_cache
build --incompatible_remote_results_ignore_disk
# Observed to speed up an Angular build from 7.5min to 5min
build --experimental_reuse_sandbox_directories
# Avoid waiting on 'Waiting for build events upload: Build Event Service'
build --bes_upload_mode=fully_async
###
# Correctness guarantees
###
startup --host_jvm_args=-DBAZEL_TRACK_SOURCE_DIRECTORIES=1
build --sandbox_default_allow_network=false
test --incompatible_exclusive_test_sandboxed
build --incompatible_strict_action_env
build --nolegacy_external_runfiles
build --incompatible_remote_results_ignore_disk
build --incompatible_default_to_explicit_init_py
build --incompatible_allow_tags_propagation
fetch --incompatible_allow_tags_propagation
query --incompatible_allow_tags_propagation
###
# Convenience
###
build --remote_local_fallback
build --heap_dump_on_oom
build --keep_going
test --keep_going
test --test_verbose_timeout_warnings
build --incompatible_remote_build_event_upload_respect_no_cache
###
# Allow user-specific overrides for this repository
# in a git-ignored file.
# Should be at the end of this file so that users can override anything above.
try-import %workspace%/.bazelrc.user