@@ -13,13 +13,17 @@ if [ -n "${FILE_ENV}" ]; then
13
13
source " ${FILE_ENV} "
14
14
fi
15
15
16
+ # The root dir.
17
+ # The ci system copies this folder.
18
+ # This is where the build is done (depends and dist).
16
19
BASE_ROOT_DIR=$( cd " $( dirname " ${BASH_SOURCE[0]} " ) " /../../ > /dev/null 2>&1 && pwd )
17
20
export BASE_ROOT_DIR
18
21
19
22
echo " Fallback to default values in env (if not yet set)"
20
23
# The number of parallel jobs to pass down to make and test_runner.py
21
24
export MAKEJOBS=${MAKEJOBS:- -j4}
22
25
# A folder for the ci system to put temporary files (ccache, datadirs for tests, ...)
26
+ # This folder only exists on the ci host.
23
27
export BASE_SCRATCH_DIR=${BASE_SCRATCH_DIR:- $BASE_ROOT_DIR / ci/ scratch/ }
24
28
# What host to compile for. See also ./depends/README.md
25
29
# Tests that need cross-compilation export the appropriate HOST.
@@ -37,10 +41,13 @@ export BOOST_TEST_RANDOM=${BOOST_TEST_RANDOM:-1}
37
41
export CCACHE_SIZE=${CCACHE_SIZE:- 100M}
38
42
export CCACHE_TEMPDIR=${CCACHE_TEMPDIR:-/ tmp/ .ccache-temp}
39
43
export CCACHE_COMPRESS=${CCACHE_COMPRESS:- 1}
44
+ # The cache dir.
45
+ # This folder exists on the ci host and ci guest. Changes are propagated back and forth.
40
46
export CCACHE_DIR=${CCACHE_DIR:- $BASE_SCRATCH_DIR / .ccache}
41
- # Folder where the build is done (depends and dist). Can not be changed and is equal to the root of the git repo
42
- export BASE_BUILD_DIR=${BASE_BUILD_DIR:- $BASE_ROOT_DIR }
43
- # Folder where the build is done (bin and lib). Can not be changed.
47
+ # The depends dir.
48
+ # This folder exists on the ci host and ci guest. Changes are propagated back and forth.
49
+ export DEPENDS_DIR=${DEPENDS_DIR:- $BASE_ROOT_DIR / depends}
50
+ # Folder where the build is done (bin and lib).
44
51
export BASE_OUTDIR=${BASE_OUTDIR:- $BASE_SCRATCH_DIR / out/ $HOST }
45
52
export SDK_URL=${SDK_URL:- https:// bitcoincore.org/ depends-sources/ sdks}
46
53
export WINEDEBUG=${WINEDEBUG:- fixme-all}
0 commit comments