diff options
author | Philipp Wollermann <philwo@google.com> | 2015-11-04 20:36:47 +0000 |
---|---|---|
committer | John Field <jfield@google.com> | 2015-11-05 16:49:52 +0000 |
commit | 0d05f25d178a77c7a7ebb2e98f83378822e25d12 (patch) | |
tree | 42b7104b73aea314c3297d6d0e2d5900a6565415 /scripts | |
parent | 026de57e5e4e1d853808cd817d4f6f32dc0efa58 (diff) |
Enable the worker strategy for Javac in Bazel during bootstrap.
Bazel builds 4x faster than before, which also speeds up CI and running the test suite.
--
MOS_MIGRATED_REVID=107067655
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/bootstrap/bootstrap.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/bootstrap/bootstrap.sh b/scripts/bootstrap/bootstrap.sh index b153bad636..11debd8eca 100755 --- a/scripts/bootstrap/bootstrap.sh +++ b/scripts/bootstrap/bootstrap.sh @@ -33,7 +33,8 @@ fi : ${BAZEL_ARGS="--singlejar_top=//src/java_tools/singlejar:bootstrap_deploy.jar \ --javabuilder_top=//src/java_tools/buildjar:bootstrap_deploy.jar \ --genclass_top=//src/java_tools/buildjar:bootstrap_genclass_deploy.jar \ - --ijar_top=//third_party/ijar"} + --ijar_top=//third_party/ijar \ + --strategy=Javac=worker --worker_quit_after_build"} function bazel_bootstrap() { local mode=${3:-"0644"} |