aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorGravatar Klaus Aehlig <aehlig@google.com>2018-02-27 05:47:21 -0800
committerGravatar Copybara-Service <copybara-piper@google.com>2018-02-27 05:48:54 -0800
commitc2499c406d0727853ea0ddc5372a50be95de5515 (patch)
tree16a06cfd31ae66c6a32155071b8dfc3d8a8b090d /scripts
parent4c763e8ff61884952953b7bca8793796f282cdc0 (diff)
Expose --output_user_base to the Bazel server process
...so that it can use that path to compute other directories in the output user base, in particular the default location for caches. The first cache we will add is the hash-index cache for downloads of external archives, but a spawn cache might be added later in the output user base as well. Change-Id: I24b1c33235c8f76ec008ecb1789163de2b2a45be PiperOrigin-RevId: 187164275
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/bootstrap/compile.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/bootstrap/compile.sh b/scripts/bootstrap/compile.sh
index 3fbd6333a8..665165c705 100755
--- a/scripts/bootstrap/compile.sh
+++ b/scripts/bootstrap/compile.sh
@@ -333,6 +333,7 @@ function run_bazel_jar() {
--batch \
--install_base=${ARCHIVE_DIR} \
--output_base=${OUTPUT_DIR}/out \
+ --output_user_root=${OUTPUT_DIR}/user_root \
--install_md5= \
--workspace_directory="$(get_cwd)" \
--nofatal_event_bus_exceptions \