ci: Bump default CCACHE_MAXSIZE to 500M

This also allows to drop individually hardcoded values, which are
impossible to overwrite and hard to maintain.
This commit is contained in:
MarcoFalke 2024-09-11 14:21:57 +02:00
parent aaaa7cf8ba
commit fa146904e1
No known key found for this signature in database
9 changed files with 1 additions and 9 deletions

View File

@ -4,7 +4,6 @@ env: # Global defaults
MAKEJOBS: "-j10" MAKEJOBS: "-j10"
TEST_RUNNER_PORT_MIN: "14000" # Must be larger than 12321, which is used for the http cache. See https://cirrus-ci.org/guide/writing-tasks/#http-cache TEST_RUNNER_PORT_MIN: "14000" # Must be larger than 12321, which is used for the http cache. See https://cirrus-ci.org/guide/writing-tasks/#http-cache
CI_FAILFAST_TEST_LEAVE_DANGLING: "1" # Cirrus CI does not care about dangling processes and setting this variable avoids killing the CI script itself on error CI_FAILFAST_TEST_LEAVE_DANGLING: "1" # Cirrus CI does not care about dangling processes and setting this variable avoids killing the CI script itself on error
CCACHE_MAXSIZE: "200M"
CCACHE_DIR: "/tmp/ccache_dir" CCACHE_DIR: "/tmp/ccache_dir"
# A self-hosted machine(s) can be used via Cirrus CI. It can be configured with # A self-hosted machine(s) can be used via Cirrus CI. It can be configured with

View File

@ -53,7 +53,7 @@ export RUN_FUZZ_TESTS=${RUN_FUZZ_TESTS:-false}
export BOOST_TEST_RANDOM=${BOOST_TEST_RANDOM:-1} export BOOST_TEST_RANDOM=${BOOST_TEST_RANDOM:-1}
# See man 7 debconf # See man 7 debconf
export DEBIAN_FRONTEND=noninteractive export DEBIAN_FRONTEND=noninteractive
export CCACHE_MAXSIZE=${CCACHE_MAXSIZE:-100M} export CCACHE_MAXSIZE=${CCACHE_MAXSIZE:-500M}
export CCACHE_TEMPDIR=${CCACHE_TEMPDIR:-/tmp/.ccache-temp} export CCACHE_TEMPDIR=${CCACHE_TEMPDIR:-/tmp/.ccache-temp}
export CCACHE_COMPRESS=${CCACHE_COMPRESS:-1} export CCACHE_COMPRESS=${CCACHE_COMPRESS:-1}
# The cache dir. # The cache dir.

View File

@ -15,5 +15,4 @@ export BITCOIN_CONFIG="-DBUILD_GUI=ON -DWITH_ZMQ=ON -DWITH_MINIUPNPC=ON -DWITH_N
export CI_OS_NAME="macos" export CI_OS_NAME="macos"
export NO_DEPENDS=1 export NO_DEPENDS=1
export OSX_SDK="" export OSX_SDK=""
export CCACHE_MAXSIZE=400M
export RUN_FUZZ_TESTS=true export RUN_FUZZ_TESTS=true

View File

@ -32,4 +32,3 @@ export BITCOIN_CONFIG="\
-DAPPEND_CXXFLAGS='-std=c++23' \ -DAPPEND_CXXFLAGS='-std=c++23' \
-DAPPEND_CPPFLAGS='-DARENA_DEBUG -DDEBUG_LOCKORDER' \ -DAPPEND_CPPFLAGS='-DARENA_DEBUG -DDEBUG_LOCKORDER' \
" "
export CCACHE_MAXSIZE=300M

View File

@ -23,5 +23,4 @@ export BITCOIN_CONFIG="\
-DCMAKE_C_FLAGS='-ftrivial-auto-var-init=pattern' \ -DCMAKE_C_FLAGS='-ftrivial-auto-var-init=pattern' \
-DCMAKE_CXX_FLAGS='-ftrivial-auto-var-init=pattern' \ -DCMAKE_CXX_FLAGS='-ftrivial-auto-var-init=pattern' \
" "
export CCACHE_MAXSIZE=200M
export LLVM_SYMBOLIZER_PATH="/usr/bin/llvm-symbolizer-18" export LLVM_SYMBOLIZER_PATH="/usr/bin/llvm-symbolizer-18"

View File

@ -31,4 +31,3 @@ export USE_MEMORY_SANITIZER="true"
export RUN_UNIT_TESTS="false" export RUN_UNIT_TESTS="false"
export RUN_FUNCTIONAL_TESTS="false" export RUN_FUNCTIONAL_TESTS="false"
export RUN_FUZZ_TESTS=true export RUN_FUZZ_TESTS=true
export CCACHE_MAXSIZE=250M

View File

@ -21,4 +21,3 @@ export BITCOIN_CONFIG="\
-DCMAKE_C_COMPILER=clang-16 \ -DCMAKE_C_COMPILER=clang-16 \
-DCMAKE_CXX_COMPILER=clang++-16 \ -DCMAKE_CXX_COMPILER=clang++-16 \
" "
export CCACHE_MAXSIZE=200M

View File

@ -28,4 +28,3 @@ export BITCOIN_CONFIG="\
" "
export USE_MEMORY_SANITIZER="true" export USE_MEMORY_SANITIZER="true"
export RUN_FUNCTIONAL_TESTS="false" export RUN_FUNCTIONAL_TESTS="false"
export CCACHE_MAXSIZE=250M

View File

@ -25,4 +25,3 @@ export BITCOIN_CONFIG="\
-DCMAKE_C_FLAGS_RELWITHDEBINFO='-O0 -g0' \ -DCMAKE_C_FLAGS_RELWITHDEBINFO='-O0 -g0' \
-DCMAKE_CXX_FLAGS_RELWITHDEBINFO='-O0 -g0' \ -DCMAKE_CXX_FLAGS_RELWITHDEBINFO='-O0 -g0' \
" "
export CCACHE_MAXSIZE=200M