Get ccache status before build

This commit is contained in:
Mikhail f. Shiryaev 2022-04-21 17:18:43 +02:00
parent 7dd2fdb47c
commit fc83f5e96c
No known key found for this signature in database
GPG Key ID: 4B02ED204C7D93F4

View File

@ -31,7 +31,10 @@ if [ -n "$MAKE_DEB" ]; then
rm -rf /build/packages/root rm -rf /build/packages/root
fi fi
rm -f CMakeCache.txt cache_status
# clear cache stats
ccache --zero-stats ||:
if [ "$BUILD_MUSL_KEEPER" == "1" ] if [ "$BUILD_MUSL_KEEPER" == "1" ]
then then
# build keeper with musl separately # build keeper with musl separately
@ -66,10 +69,6 @@ then
SCAN_WRAPPER="cov-build --config ./coverity.config --dir cov-int" SCAN_WRAPPER="cov-build --config ./coverity.config --dir cov-int"
fi fi
cache_status
# clear cache stats
ccache --zero-stats ||:
# No quotes because I want it to expand to nothing if empty. # No quotes because I want it to expand to nothing if empty.
# shellcheck disable=SC2086 # No quotes because I want it to expand to nothing if empty. # shellcheck disable=SC2086 # No quotes because I want it to expand to nothing if empty.
$SCAN_WRAPPER ninja $NINJA_FLAGS clickhouse-bundle $SCAN_WRAPPER ninja $NINJA_FLAGS clickhouse-bundle