Skip to content

Commit 6467b8c

Browse files
committed
[sanitizer] Print ccache stats for stage1
1 parent 601fa4d commit 6467b8c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

zorg/buildbot/builders/sanitizers/buildbot_functions.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,11 +173,13 @@ function build_stage1_clang_impl {
173173
if clang -v ; then
174174
cmake_stage1_options+=" -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++"
175175
fi
176+
ccache -z || true
176177
(cd ${STAGE1_DIR} && cmake ${cmake_stage1_options} $LLVM && ninja) || {
177178
touch "${STAGE1_DIR}/delete_next_time"
178179
return 1
179180
}
180181
md5sum ${STAGE1_DIR}/bin/clang || true
182+
ccache -s || true
181183
}
182184

183185
function build_stage1_clang {

0 commit comments

Comments
 (0)