mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-07-27 06:31:27 +00:00
disable sccache when building with coverity
This commit is contained in:
parent
e976326360
commit
fcf132b2c9
3
debian/rules
vendored
3
debian/rules
vendored
@ -542,6 +542,7 @@ SCCACHE_CMAKE =
|
||||
# if sccache is installed in the chroot, use it
|
||||
ifeq ($(shell test -e /opt/sccache/sccache && echo -n yes),yes)
|
||||
ifneq (,$(filter $(DEB_HOST_ARCH),i386 amd64))
|
||||
ifeq ($(COVERITY_ENABLE),0) # Only enable SCCache if Coverity is not enabled
|
||||
STAGE_1_CMAKE_EXTRA += $(SCCACHE_CMAKE)
|
||||
SCCACHE_ENABLE=yes
|
||||
SCCACHE_PATH=/opt/sccache/
|
||||
@ -549,8 +550,8 @@ ifeq ($(shell test -e /opt/sccache/sccache && echo -n yes),yes)
|
||||
SCCACHE_CMAKE = -DCMAKE_C_COMPILER_LAUNCHER=$(SCCACHE_CMD) -DCMAKE_CXX_COMPILER_LAUNCHER=$(SCCACHE_CMD)
|
||||
export LD_LIBRARY_PATH=$$LD_LIBRARY_PATH:/opt/sccache
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
# enables cmake build targets like stage2-[target_name]
|
||||
ENABLED_STAGE2_CMAKE_BUILD_TARGETS = check-all;check-llvm;check-clang;check-clang-tools;check-lld;check-libcxx;check-libcxxabi;check-mlir;check-sanitizer;llvm-config;test-suite
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user