diff --git a/src/init-ccache.sh b/src/init-ccache.sh index 0add35f506d360a1bb140d36f0cf66345b6f6e40..f325107ba70fe00528392740c5e1a75128dc1521 100755 --- a/src/init-ccache.sh +++ b/src/init-ccache.sh @@ -3,15 +3,16 @@ # Initialize CCache if it will be used if [ "$USE_CCACHE" = 1 ]; then echo ">> [$(date)] Setting up ccache config" - ccache --set-config=max_size=100G \ - --set-config=compression_level=6 \ + ccache --set-config=max_size=200G \ + --set-config=compression_level=1 \ --set-config=sloppiness=time_macros # Recompress the cache - ccache --recompress 6 + ccache --recompress 1 # Delete not recently used files ccache --evict-older-than 30d ccache -c # Reset stats ccache -z export PATH="/usr/lib/ccache:$PATH" + export CCACHE_EXEC=$(which ccache) fi