We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da472c7 commit 74a83a1Copy full SHA for 74a83a1
1 file changed
ci/setup_ccache.sh
@@ -39,9 +39,12 @@ ccache --version
39
40
# This also sets the default values
41
echo "Using cache directory of size ${B2_CCACHE_SIZE:=500M} at '${B2_CCACHE_DIR:=$HOME/.ccache}'"
42
-
43
ccache --set-config=cache_dir="$B2_CCACHE_DIR"
44
ccache --set-config=max_size="$B2_CCACHE_SIZE"
+ccache --cleanup
45
+if curSize=$(du -sh "$B2_CCACHE_DIR" 2>/dev/null | cut -f1); then
46
+ echo "Current cache size: $curSize"
47
+fi
48
49
ccache -z
50
echo "CCache config: $(ccache -p)"
0 commit comments