aboutsummaryrefslogtreecommitdiff
path: root/ci/test/00_setup_env.sh
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-04-22 10:24:29 -0400
committerMarcoFalke <falke.marco@gmail.com>2020-04-27 12:27:34 -0400
commitfae49f6e424f31e93c5620d5ff893fb517ef4a8b (patch)
tree266db3078d88b7fb3ba56b019a7782293b3c28e8 /ci/test/00_setup_env.sh
parent9e8e813df5f19ff154d9314f2d039eb6153f06c4 (diff)
downloadbitcoin-fae49f6e424f31e93c5620d5ff893fb517ef4a8b.tar.xz
ci: Add and document BASE_BUILD_DIR
Co-Authored-By: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com>
Diffstat (limited to 'ci/test/00_setup_env.sh')
-rwxr-xr-xci/test/00_setup_env.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/ci/test/00_setup_env.sh b/ci/test/00_setup_env.sh
index e0e555bbd1..887083de1c 100755
--- a/ci/test/00_setup_env.sh
+++ b/ci/test/00_setup_env.sh
@@ -8,7 +8,7 @@ export LC_ALL=C.UTF-8
# The root dir.
# The ci system copies this folder.
-# This is where the build is done (depends and dist).
+# This is where the depends build is done.
BASE_ROOT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )"/../../ >/dev/null 2>&1 && pwd )
export BASE_ROOT_DIR
@@ -49,8 +49,10 @@ export CCACHE_DIR=${CCACHE_DIR:-$BASE_SCRATCH_DIR/.ccache}
# The depends dir.
# This folder exists on the ci host and ci guest. Changes are propagated back and forth.
export DEPENDS_DIR=${DEPENDS_DIR:-$BASE_ROOT_DIR/depends}
-# Folder where the build is done (bin and lib).
+# Folder where the build result is put (bin and lib).
export BASE_OUTDIR=${BASE_OUTDIR:-$BASE_SCRATCH_DIR/out/$HOST}
+# Folder where the build is done (dist and out-of-tree build).
+export BASE_BUILD_DIR=${BASE_BUILD_DIR:-$BASE_SCRATCH_DIR/build}
export PREVIOUS_RELEASES_DIR=${PREVIOUS_RELEASES_DIR:-$BASE_ROOT_DIR/releases/$HOST}
export SDK_URL=${SDK_URL:-https://bitcoincore.org/depends-sources/sdks}
export DOCKER_PACKAGES=${DOCKER_PACKAGES:-build-essential libtool autotools-dev automake pkg-config bsdmainutils curl ca-certificates ccache python3 rsync git procps}