mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-12 12:52:35 -03:00
Merge #18667: ci: Limit cache size regardless of NO_DEPENDS
0c6318788b
ci: Limit cache size regardless of NO_DEPENDS (Hennadii Stepanov) Pull request description: Close #18666. ACKs for top commit: MarcoFalke: ACK0c6318788b
. Depends has ccache disabled anyway and is cached regardless of whether ccache is there or not, see #17248 Tree-SHA512: b1bf98be0f844b4704abd177841b014f3900be8160496f0d12596310db607b4f544547e8c3cbfcf17c086a78afd251653363f3dd467b769ac0062bc19adc8144
This commit is contained in:
commit
447f8676b2
1 changed files with 2 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue