From a86ea61c63cf8be875ae647c7bc48f77aa0fb09b Mon Sep 17 00:00:00 2001 From: althafvly Date: Tue, 3 Feb 2026 13:34:34 +0530 Subject: [PATCH 1/2] ccache: relax cache sloppiness for time macros --- src/init-ccache.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/init-ccache.sh b/src/init-ccache.sh index d1e3692..105d3cf 100755 --- a/src/init-ccache.sh +++ b/src/init-ccache.sh @@ -4,7 +4,8 @@ if [ "$USE_CCACHE" = 1 ]; then echo ">> [$(date)] Setting up ccache config" ccache --set-config=max_size=100G \ - --set-config=compression_level=6 + --set-config=compression_level=6 \ + --set-config=sloppiness=time_macros # Recompress the cache ccache --recompress 6 # Delete not recently used files -- GitLab From 9fb0a330b90b99c040ea954cc37e672dad707498 Mon Sep 17 00:00:00 2001 From: althafvly Date: Tue, 3 Feb 2026 15:24:35 +0530 Subject: [PATCH 2/2] evict cache entries older than 30 days --- src/init-ccache.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/init-ccache.sh b/src/init-ccache.sh index 105d3cf..0add35f 100755 --- a/src/init-ccache.sh +++ b/src/init-ccache.sh @@ -9,6 +9,7 @@ if [ "$USE_CCACHE" = 1 ]; then # Recompress the cache ccache --recompress 6 # Delete not recently used files + ccache --evict-older-than 30d ccache -c # Reset stats ccache -z -- GitLab