scan-build llvm results are built using --show-description

This commit is contained in:
Sylvestre Ledru 2016-08-07 14:32:03 +00:00
parent b2dd2d68cf
commit f662dbc2f8
2 changed files with 2 additions and 1 deletions

1
debian/changelog vendored
View File

@ -8,6 +8,7 @@ llvm-toolchain-snapshot (1:4.0~svn275970-1~exp2) experimental; urgency=medium
Thanks to Brad King of the fix
* Disable lldb on sparc64 (Closes: #832371)
* Also install clang-rename.el & clang-rename.py in clang-4.0
* scan-build llvm results are built using --show-description
-- Sylvestre Ledru <sylvestre@debian.org> Mon, 25 Jul 2016 12:19:52 +0200

2
debian/rules vendored
View File

@ -87,7 +87,7 @@ ifneq (,$(filter scan-build,$(DEB_BUILD_OPTIONS)))
# The package are installed through the variable declarations:
# OTHERMIRROR="deb http://llvm.org/apt/unstable/ llvm-toolchain main"
# EXTRAPACKAGES="clang-3.5"
PRE_PROCESS=scan-build-$(LLVM_VERSION) -analyzer-config stable-report-filename=true -enable-checker optin.performance.Padding
PRE_PROCESS=scan-build-$(LLVM_VERSION) --show-description -analyzer-config stable-report-filename=true -enable-checker optin.performance.Padding
PRE_PROCESS_CONF=scan-build-$(LLVM_VERSION)
# no need to run tests in this case
DEB_BUILD_OPTIONS+=" nocheck"