mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-14 12:59:10 +00:00
only do it for bullseye
This commit is contained in:
parent
0e6b7142cf
commit
745291f0b9
2
debian/rules
vendored
2
debian/rules
vendored
@ -422,6 +422,7 @@ endif
|
||||
|
||||
# if sccache is installed in the chroot, use it
|
||||
ifeq ($(shell test -e /tmp/sccache && echo -n yes),yes)
|
||||
ifneq (,$(filter $(DISTRO),bullseye))
|
||||
export SCCACHE_GCS_KEY_PATH=secret-gcp-storage.json
|
||||
export SCCACHE_GCS_BUCKET=apt-llvm-org-sccache
|
||||
export SCCACHE_GCS_RW_MODE=READ_WRITE
|
||||
@ -429,6 +430,7 @@ ifeq ($(shell test -e /tmp/sccache && echo -n yes),yes)
|
||||
export SCCACHE_ERROR_LOG=/tmp/sccache.log
|
||||
STAGE_1_CMAKE_EXTRA += -DCMAKE_C_COMPILER_LAUNCHER=/tmp/sccache -DCMAKE_CXX_COMPILER_LAUNCHER=/tmp/sccache
|
||||
endif
|
||||
endif
|
||||
|
||||
GENERATOR=Ninja
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user