diff --git a/debian/rules b/debian/rules index 07319b5d..ddadc9ad 100755 --- a/debian/rules +++ b/debian/rules @@ -648,6 +648,11 @@ debian-full-build: LD_LIBRARY_PATH=$(STAGE_1_LIB_DIR):$$LD_LIBRARY_PATH \ VERBOSE=1 $(PRE_PROCESS) $(CMAKE_BIN) --build $(TARGET_BUILD) $(NJOBS) --target stage2 +# If we used sccache, shows stats + if test -f /tmp/sccache; then \ + /tmp/sccache --show-stats; \ + fi + # Check the stage 2 build worked if ! readelf --string-dump .comment $(TARGET_BUILD_STAGE2)/bin/clang 2>&1|grep -q "clang version"; then \ echo "clang hasn't been built using clang. Bye bye. Check that the stage2 build has been done."; \