add --no-discard-stderr + fix the tests call of polly

This commit is contained in:
Sylvestre Ledru 2015-02-24 11:05:38 +00:00
parent 2fabffe1a8
commit 83f9e2e2fa
2 changed files with 14 additions and 2 deletions

12
debian/changelog vendored
View File

@ -1,3 +1,15 @@
llvm-toolchain-snapshot (1:3.7~svn230314-1~exp1) experimental; urgency=medium
* New snapshot release
-- Sylvestre Ledru <sylvestre@debian.org> Tue, 24 Feb 2015 10:13:45 +0100
llvm-toolchain-snapshot (1:3.7~svn229829-1~exp1) experimental; urgency=medium
* New snapshot release
-- Sylvestre Ledru <sylvestre@debian.org> Thu, 19 Feb 2015 08:33:11 +0100
llvm-toolchain-snapshot (1:3.7~svn229332-1~exp1) experimental; urgency=medium
* New snapshot release

4
debian/rules vendored
View File

@ -250,7 +250,7 @@ build_doc:
CMDS="llvm-dwarfdump llvm-mc llvm-mcmarkup llvm-objdump llvm-rtdyld llvm-size llvm-tblgen llvm-ranlib macho-dump lldb clang-format clang-modernize clang clang-tblgen clang-check clang-tidy clang-apply-replacements pp-trace"; \
for f in $$CMDS; do \
echo "Generating manpage of $$f"; \
LD_LIBRARY_PATH=$(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/lib/ help2man --version-string=$(LLVM_VERSION) $(TARGET_BUILD)/Release/bin/$$f > debian/man/$$f-$(LLVM_VERSION).1; \
LD_LIBRARY_PATH=$(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/lib/ help2man --no-discard-stderr --version-string=$(LLVM_VERSION) $(TARGET_BUILD)/Release/bin/$$f > debian/man/$$f-$(LLVM_VERSION).1; \
done
override_dh_auto_install:
@ -415,7 +415,7 @@ endif
# polly tests
if test $(POLLY_ENABLE) = yes; then \
cd $(TARGET_BUILD)/ && $(MAKE) -C tools/polly/test/ check-polly || true; \
cd $(TARGET_BUILD)/ && LD_LIBRARY_PATH=$$LD_LIBRARY_PATH:$(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/lib/ $(MAKE) -C tools/polly/test/ check-polly || true; \
fi
# The compression of the code coverage report is done in the