-
Notifications
You must be signed in to change notification settings - Fork 5
/
.bazelrc
58 lines (49 loc) · 1.96 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
47
48
49
50
51
52
53
54
55
56
57
58
build --workspace_status_command "python config/workspace-status.py"
build --disk_cache=~/.cache/bazel/
build --stamp
run --stamp
###
# Performance fixes
###
# Consider --experimental_remote_merkle_tree_cache_size as well
build --experimental_remote_merkle_tree_cache
query --experimental_remote_merkle_tree_cache
# Note: The noexperimental_check_external_repository_files flag requires Bazel 6
build --noexperimental_check_output_files --noexperimental_check_external_repository_files
fetch --noexperimental_check_output_files --noexperimental_check_external_repository_files
query --noexperimental_check_output_files --noexperimental_check_external_repository_files
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 --experimental_remote_build_event_upload=minimal
### Disable Java header compilation because Lombok can't cope with it
build --nojava_header_compilation
test --nojava_header_compilation
### Set laksaj version to alpha to avoid clashing with real version numbers
build --define=laksaj_version=0.0.0-dev
# Tries to import additional config
try-import %workspace%/.bazelrc.configure
try-import %workspace%/.bazelrc.user