mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-15 21:48:58 +00:00
more debug info
This commit is contained in:
parent
24275bf8d9
commit
b157b0181f
3
debian/rules
vendored
3
debian/rules
vendored
@ -425,6 +425,8 @@ ifeq ($(shell test -e /tmp/sccache && echo -n yes),yes)
|
|||||||
export SCCACHE_GCS_KEY_PATH=secret-gcp-storage.json
|
export SCCACHE_GCS_KEY_PATH=secret-gcp-storage.json
|
||||||
export SCCACHE_GCS_BUCKET=apt-llvm-org-sccache
|
export SCCACHE_GCS_BUCKET=apt-llvm-org-sccache
|
||||||
export SCCACHE_GCS_RW_MODE=READ_WRITE
|
export SCCACHE_GCS_RW_MODE=READ_WRITE
|
||||||
|
export SCCACHE_LOG=sccache=debug
|
||||||
|
export SCCACHE_ERROR_LOG=/tmp/sccache.log
|
||||||
STAGE_1_CMAKE_EXTRA += -DCMAKE_C_COMPILER_LAUNCHER=/tmp/sccache -DCMAKE_CXX_COMPILER_LAUNCHER=/tmp/sccache
|
STAGE_1_CMAKE_EXTRA += -DCMAKE_C_COMPILER_LAUNCHER=/tmp/sccache -DCMAKE_CXX_COMPILER_LAUNCHER=/tmp/sccache
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@ -651,6 +653,7 @@ debian-full-build:
|
|||||||
# If we used sccache, shows stats
|
# If we used sccache, shows stats
|
||||||
if test -f /tmp/sccache; then \
|
if test -f /tmp/sccache; then \
|
||||||
/tmp/sccache --show-stats; \
|
/tmp/sccache --show-stats; \
|
||||||
|
cat /tmp/sccache.log; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check the stage 2 build worked
|
# Check the stage 2 build worked
|
||||||
|
Loading…
Reference in New Issue
Block a user