diff --git a/debian/rules b/debian/rules index 9cc4814e..641b7aa7 100755 --- a/debian/rules +++ b/debian/rules @@ -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