20 lines
682 B
Text
20 lines
682 B
Text
|
|
# Prefer persistent workers for Java: keep the compiler warm
|
|
# - Default: remote,worker,sandboxed,local
|
|
# - Overrides --spawn_strategy (and --genrule_strategy with mnemonic Genrule)
|
|
build --strategy=Javac=worker
|
|
|
|
# Allow multiple work request per worker process
|
|
# - Default true
|
|
build --worker_multiplex=true
|
|
|
|
# Optionally cap workers per mnemonic to avoid oversubscription
|
|
# - One valid value is `auto`
|
|
build --worker_max_instances=4
|
|
|
|
# Keep the UI and profiles useful
|
|
# No longer --experimental_generate_json_trace_profile in B9
|
|
build --generate_json_trace_profile
|
|
|
|
# Feature removed in 2020: https://github.com/bazelbuild/bazel/issues/7184
|
|
# build --experimental_ui_deduplicate
|