Skip to content

Commit 64e3eb2

Browse files
committed
[sanitizer] Show step ccache stat
1 parent 5f72bcb commit 64e3eb2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

zorg/buildbot/builders/sanitizers/buildbot_functions.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,8 @@ function build_stage2 {
240240

241241
common_stage2_variables
242242

243+
ccache -z || true
244+
243245
local fno_sanitize_flag=
244246

245247
if [ "$sanitizer_name" == "msan" ]; then
@@ -336,6 +338,7 @@ function build_stage2 {
336338
(md5sum ${build_dir}/bin/clang* > ${ROOT}/md5.txt) || true
337339

338340
upload_stats stage2
341+
ccache -s || true
339342
}
340343

341344
function build_stage2_msan {
@@ -489,6 +492,8 @@ function build_stage3 {
489492
local sanitizer_name=$1
490493
echo @@@BUILD_STEP build stage3/$sanitizer_name build@@@
491494

495+
ccache -z || true
496+
492497
local build_dir=llvm_build2_${sanitizer_name}
493498

494499
local clang_path=$ROOT/${STAGE2_DIR}/bin
@@ -516,6 +521,8 @@ function build_stage3 {
516521
(md5sum ${build_dir}/bin/clang* > ${ROOT}/md5.txt) || true
517522

518523
upload_stats stage3
524+
525+
ccache -s || true
519526
}
520527

521528
function build_stage3_msan {

0 commit comments

Comments
 (0)