mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-07-09 19:49:36 +00:00
separate the check for the configure & make
This commit is contained in:
parent
c6ad4a0dd3
commit
850ed34343
7
debian/rules
vendored
7
debian/rules
vendored
@ -72,6 +72,7 @@ ifneq (,$(filter scan-build,$(DEB_BUILD_OPTIONS)))
|
|||||||
# OTHERMIRROR="deb http://llvm.org/apt/unstable/ llvm-toolchain main"
|
# OTHERMIRROR="deb http://llvm.org/apt/unstable/ llvm-toolchain main"
|
||||||
# EXTRAPACKAGES="clang-3.4"
|
# EXTRAPACKAGES="clang-3.4"
|
||||||
PRE_PROCESS=scan-build
|
PRE_PROCESS=scan-build
|
||||||
|
PRE_PROCESS_CONF=scan-build
|
||||||
# no need to run tests in this case
|
# no need to run tests in this case
|
||||||
DEB_BUILD_OPTIONS+=" nocheck"
|
DEB_BUILD_OPTIONS+=" nocheck"
|
||||||
endif
|
endif
|
||||||
@ -83,6 +84,10 @@ ifneq (,$(filter coverity,$(DEB_BUILD_OPTIONS)))
|
|||||||
# And we have some pbuilder hooks to configure and pack the result
|
# And we have some pbuilder hooks to configure and pack the result
|
||||||
# Where the binaries are installed on the jenkins instance
|
# Where the binaries are installed on the jenkins instance
|
||||||
PRE_PROCESS=PATH=$$PATH:/opt/cov-analysis/bin/ cov-build --dir cov-int
|
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
|
COVERITY_ENABLE=1
|
||||||
# no need to run tests in this case
|
# no need to run tests in this case
|
||||||
DEB_BUILD_OPTIONS+=" nocheck"
|
DEB_BUILD_OPTIONS+=" nocheck"
|
||||||
@ -143,7 +148,7 @@ override_dh_auto_configure: debian/lldb-$(LLVM_VERSION).install debian/lldb-$(LL
|
|||||||
# Due to bug upstream, no symlink here
|
# Due to bug upstream, no symlink here
|
||||||
cp -R -H clang-tools-extra tools/clang/tools/extra
|
cp -R -H clang-tools-extra tools/clang/tools/extra
|
||||||
# Start the actual configure
|
# Start the actual configure
|
||||||
cd $(TARGET_BUILD) && $(PRE_PROCESS) \
|
cd $(TARGET_BUILD) && $(PRE_PROCESS_CONF) \
|
||||||
../configure $(confargs) \
|
../configure $(confargs) \
|
||||||
--prefix=/usr/lib/llvm-$(LLVM_VERSION) \
|
--prefix=/usr/lib/llvm-$(LLVM_VERSION) \
|
||||||
--bindir=\$${prefix}/bin/ \
|
--bindir=\$${prefix}/bin/ \
|
||||||
|
Loading…
Reference in New Issue
Block a user