diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-04-16 17:09:40 +0300 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-04-16 17:56:21 +0300 |
commit | 0c6318788beaf1a31aeba5a21f3f8bb5c07cea6c (patch) | |
tree | 34b6b594bebb3fbf778ad7b71c5b22105512fe61 /ci/test/06_script_a.sh | |
parent | 79b0459648e33307edcefc358d9bfdd0ed5ff844 (diff) |
ci: Limit cache size regardless of NO_DEPENDS
Diffstat (limited to 'ci/test/06_script_a.sh')
-rwxr-xr-x | ci/test/06_script_a.sh | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/ci/test/06_script_a.sh b/ci/test/06_script_a.sh index 8d77b5408a..2e18ad1d52 100755 --- a/ci/test/06_script_a.sh +++ b/ci/test/06_script_a.sh @@ -7,10 +7,7 @@ export LC_ALL=C.UTF-8 BITCOIN_CONFIG_ALL="--disable-dependency-tracking --prefix=$DEPENDS_DIR/$HOST --bindir=$BASE_OUTDIR/bin --libdir=$BASE_OUTDIR/lib" -DOCKER_EXEC "command -v ccache > /dev/null && ccache --zero-stats" -if [ -z "$NO_DEPENDS" ]; then - DOCKER_EXEC ccache --max-size=$CCACHE_SIZE -fi +DOCKER_EXEC "ccache --zero-stats --max-size=$CCACHE_SIZE" BEGIN_FOLD autogen if [ -n "$CONFIG_SHELL" ]; then @@ -47,5 +44,5 @@ DOCKER_EXEC make $MAKEJOBS $GOAL || ( echo "Build failure. Verbose build follows END_FOLD BEGIN_FOLD ccache_stats -DOCKER_EXEC "command -v ccache > /dev/null && ccache --version | head -n 1 && ccache --show-stats" +DOCKER_EXEC "ccache --version | head -n 1 && ccache --show-stats" END_FOLD |