diff options
| author | Hennadii Stepanov <[email protected]> | 2020-04-10 01:47:46 +0300 |
|---|---|---|
| committer | Hennadii Stepanov <[email protected]> | 2020-04-10 19:54:32 +0300 |
| commit | 6d480667b24dc630e7c3fe7ff032cbe1a958ab77 (patch) | |
| tree | a661c82d4dd0c252ff61e1ff0040a7e36947da43 /ci/test/06_script_a.sh | |
| parent | ci: Drop unused WINEDEBUG variable (diff) | |
| download | discoin-6d480667b24dc630e7c3fe7ff032cbe1a958ab77.tar.xz discoin-6d480667b24dc630e7c3fe7ff032cbe1a958ab77.zip | |
ci: Print ccache statistics summary
Diffstat (limited to 'ci/test/06_script_a.sh')
| -rwxr-xr-x | ci/test/06_script_a.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ci/test/06_script_a.sh b/ci/test/06_script_a.sh index b6043cd61..8d77b5408 100755 --- a/ci/test/06_script_a.sh +++ b/ci/test/06_script_a.sh @@ -7,6 +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 @@ -44,3 +45,7 @@ trap 'DOCKER_EXEC "cat ${BASE_SCRATCH_DIR}/sanitizer-output/* 2> /dev/null"' ERR BEGIN_FOLD build DOCKER_EXEC make $MAKEJOBS $GOAL || ( echo "Build failure. Verbose build follows." && DOCKER_EXEC make $GOAL V=1 ; false ) END_FOLD + +BEGIN_FOLD ccache_stats +DOCKER_EXEC "command -v ccache > /dev/null && ccache --version | head -n 1 && ccache --show-stats" +END_FOLD |