aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorGravatar Klaus Aehlig <aehlig@google.com>2018-05-24 03:35:42 -0700
committerGravatar Copybara-Service <copybara-piper@google.com>2018-05-24 03:37:17 -0700
commit3c9cd82b847f3ece8ec04b2029bd5e8ad0eb7502 (patch)
tree95365e802fa4f844a231f8502840a6f3ad1f9b0a /scripts
parent72075bf94cb2dc1bee8fa785767468c8bb6a240c (diff)
distfile: pack the archives needed later in the build
...and point --experimental_distdir there, so that offline builds are again possible out of the distribution archive. Related #5175. Fixes #5202. To be cherry-picked for #5056. Change-Id: I634296e9d83e4e18ed966b42f35acc63061259d9 PiperOrigin-RevId: 197866998
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/bootstrap/bootstrap.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/bootstrap/bootstrap.sh b/scripts/bootstrap/bootstrap.sh
index 61d4f71910..260e6ddc61 100755
--- a/scripts/bootstrap/bootstrap.sh
+++ b/scripts/bootstrap/bootstrap.sh
@@ -37,6 +37,7 @@ _BAZEL_ARGS="--java_toolchain=//src/java_tools/buildjar:bootstrap_toolchain \
--nojava_header_compilation \
--strategy=Javac=worker --worker_quit_after_build --ignore_unsupported_sandboxing \
--compilation_mode=opt \
+ --experimental_distdir=derived/distdir \
${EXTRA_BAZEL_ARGS:-}"
if [ -z "${BAZEL-}" ]; then