mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-07-17 22:51:54 +00:00
if we used sccache, show the stats
This commit is contained in:
parent
d33bd3b8aa
commit
24275bf8d9
5
debian/rules
vendored
5
debian/rules
vendored
@ -648,6 +648,11 @@ debian-full-build:
|
|||||||
LD_LIBRARY_PATH=$(STAGE_1_LIB_DIR):$$LD_LIBRARY_PATH \
|
LD_LIBRARY_PATH=$(STAGE_1_LIB_DIR):$$LD_LIBRARY_PATH \
|
||||||
VERBOSE=1 $(PRE_PROCESS) $(CMAKE_BIN) --build $(TARGET_BUILD) $(NJOBS) --target stage2
|
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
|
# Check the stage 2 build worked
|
||||||
if ! readelf --string-dump .comment $(TARGET_BUILD_STAGE2)/bin/clang 2>&1|grep -q "clang version"; then \
|
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."; \
|
echo "clang hasn't been built using clang. Bye bye. Check that the stage2 build has been done."; \
|
||||||
|
Loading…
Reference in New Issue
Block a user