From 6467b8caa78ed1b1caa1236aa29cd7bdeae823ee Mon Sep 17 00:00:00 2001 From: Vitaly Buka Date: Mon, 9 Dec 2024 20:21:50 -0800 Subject: [PATCH] [sanitizer] Print ccache stats for stage1 --- zorg/buildbot/builders/sanitizers/buildbot_functions.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zorg/buildbot/builders/sanitizers/buildbot_functions.sh b/zorg/buildbot/builders/sanitizers/buildbot_functions.sh index a77c23da..3cd8a1c7 100755 --- a/zorg/buildbot/builders/sanitizers/buildbot_functions.sh +++ b/zorg/buildbot/builders/sanitizers/buildbot_functions.sh @@ -173,11 +173,13 @@ function build_stage1_clang_impl { if clang -v ; then cmake_stage1_options+=" -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++" fi + ccache -z || true (cd ${STAGE1_DIR} && cmake ${cmake_stage1_options} $LLVM && ninja) || { touch "${STAGE1_DIR}/delete_next_time" return 1 } md5sum ${STAGE1_DIR}/bin/clang || true + ccache -s || true } function build_stage1_clang {