mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-13 13:55:16 +00:00
add back coverity to unbreak the ci
This commit is contained in:
parent
fec3c5de10
commit
4573b6a9e1
17
debian/rules
vendored
17
debian/rules
vendored
@ -367,6 +367,23 @@ ifneq (,$(filter scan-build,$(DEB_BUILD_OPTIONS)))
|
||||
STAGE_ALL_CMAKE_EXTRA += -DLLVM_ENABLE_ASSERTIONS=ON
|
||||
endif
|
||||
|
||||
ifneq (,$(filter coverity,$(DEB_BUILD_OPTIONS)))
|
||||
# enable the build using coverity
|
||||
# pbuilder contains BINDMOUNTS="/opt/cov-analysis/"
|
||||
# And we have some pbuilder hooks to configure and pack the result
|
||||
# Where the binaries are installed on the jenkins instance
|
||||
PRE_PROCESS=PATH=$$PATH:/opt/cov-analysis/bin/ cov-build --dir cov-int
|
||||
# We don't want to check the temporary files produced by the configure
|
||||
PRE_PROCESS_CONF=
|
||||
COVERITY_ENABLE=1
|
||||
CONFIGURE_EXTRA += --enable-assertions
|
||||
STAGE_ALL_CMAKE_EXTRA += -DLLVM_ENABLE_ASSERTIONS=ON
|
||||
# no need to run tests in this case
|
||||
RUN_TEST=no
|
||||
else
|
||||
COVERITY_ENABLE=0
|
||||
endif
|
||||
|
||||
LLDB_ENABLE=yes
|
||||
LLDB_DISABLE_ARCHS := hurd-i386 ia64 powerpc powerpcspe ppc64 riscv64 sparc64 mips64el mipsel
|
||||
# hurd has threading issues
|
||||
|
Loading…
Reference in New Issue
Block a user