diff options
author | Philipp Wollermann <philwo@google.com> | 2016-08-16 15:48:32 +0000 |
---|---|---|
committer | Philipp Wollermann <philwo@google.com> | 2016-08-17 11:23:47 +0000 |
commit | 29a4982e83c469bce380874d431e32b841f1a0c4 (patch) | |
tree | 88f667bc34b157693bc50b299e48081e87d13cb1 /scripts/bootstrap | |
parent | 71cdea44161e70215e9816ebdc2f559bad658822 (diff) |
Let Bazel use sandboxing during bootstrap, if it's available.
--
MOS_MIGRATED_REVID=130406085
Diffstat (limited to 'scripts/bootstrap')
-rwxr-xr-x | scripts/bootstrap/bootstrap.sh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/bootstrap/bootstrap.sh b/scripts/bootstrap/bootstrap.sh index ab09cdb8a6..14161ce6fa 100755 --- a/scripts/bootstrap/bootstrap.sh +++ b/scripts/bootstrap/bootstrap.sh @@ -33,14 +33,12 @@ fi if [ "${JAVA_VERSION}" = "1.7" ]; then : ${BAZEL_ARGS:=--java_toolchain=//src/java_tools/buildjar:bootstrap_toolchain_jdk7 \ --host_java_toolchain=//src/java_tools/buildjar:bootstrap_toolchain_jdk7 \ - --define JAVA_VERSION=1.7 \ - --genrule_strategy=standalone --spawn_strategy=standalone \ + --define JAVA_VERSION=1.7 --ignore_unsupported_sandboxing \ "${EXTRA_BAZEL_ARGS:-}"} else : ${BAZEL_ARGS:=--java_toolchain=//src/java_tools/buildjar:bootstrap_toolchain \ --host_java_toolchain=//src/java_tools/buildjar:bootstrap_toolchain \ - --strategy=Javac=worker --worker_quit_after_build \ - --genrule_strategy=standalone --spawn_strategy=standalone \ + --strategy=Javac=worker --worker_quit_after_build --ignore_unsupported_sandboxing \ "${EXTRA_BAZEL_ARGS:-}"} fi |