From c1fe96933f9d7563c4f4c11fbfcdeeb8f04d3bc4 Mon Sep 17 00:00:00 2001 From: Vitaly Buka Date: Fri, 30 Sep 2022 14:42:12 -0700 Subject: [PATCH] [sanitizer] Change only default ccache size --- zorg/buildbot/builders/sanitizers/buildbot_cmake.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/zorg/buildbot/builders/sanitizers/buildbot_cmake.sh b/zorg/buildbot/builders/sanitizers/buildbot_cmake.sh index d4cd9cd63..91d7a9cc6 100755 --- a/zorg/buildbot/builders/sanitizers/buildbot_cmake.sh +++ b/zorg/buildbot/builders/sanitizers/buildbot_cmake.sh @@ -25,8 +25,10 @@ done USE_CCACHE= if ccache -s ; then USE_CCACHE="-DLLVM_CCACHE_BUILD=ON" - ccache -M 20G - ccache -o compression=true + if [[ ccache -p | grep "default.*max_size" ]] ; then + ccache -M 20G + ccache -o compression=true + fi fi # Always clobber bootstrap build trees.