Merge branch 'snapshot' of salsa.debian.org:pkg-llvm-team/llvm-toolchain into snapshot

This commit is contained in:
Sylvestre Ledru 2019-01-08 11:18:19 +01:00
commit 1a375bc0a6
3 changed files with 10 additions and 1 deletions

6
debian/changelog vendored
View File

@ -472,6 +472,12 @@ llvm-toolchain-snapshot (1:8~svn340819-1) unstable; urgency=medium
-- Sylvestre Ledru <sylvestre@debian.org> Tue, 28 Aug 2018 16:28:24 +0200
llvm-toolchain-7 (1:7.0.1-5) unstable; urgency=medium
* Add 'Rules-Requires-Root: no' in debian/control
-- Sylvestre Ledru <sylvestre@debian.org> Fri, 04 Jan 2019 16:00:41 +0100
llvm-toolchain-7 (1:7.0.1-4) unstable; urgency=medium
* On old Debian/Ubuntu, run dh_strip using fakeroot to mitigate

1
debian/control vendored
View File

@ -1,6 +1,7 @@
Source: llvm-toolchain-snapshot
Section: devel
Priority: optional
Rules-Requires-Root: no
Maintainer: LLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Uploaders: Sylvestre Ledru <sylvestre@debian.org>
Build-Depends: debhelper (>= 9.0), cmake, chrpath, texinfo, sharutils,

4
debian/rules vendored
View File

@ -704,7 +704,9 @@ ifeq ($(shell dpkg --compare-versions $(shell dpkg-query -W -f '$${Version}' bin
if test ! -f $(CURDIR)/strip; then \
ln -s $(CURDIR)/debian/llvm-$(LLVM_VERSION)/usr/lib/llvm-$(LLVM_VERSION)/bin/llvm-strip $(CURDIR)/strip; \
fi
: # strip segfaults on libFuzzer.a and other libs
: # Debug to list the files
ls -al $(CURDIR)/debian/.debhelper/*/dbgsym-root/usr/lib/debug/.build-id/*/* || true
: # strip segfaults on libFuzzer.a and other libs. Use llvm-strip instead
PATH=$(CURDIR)/:$$PATH LD_LIBRARY_PATH=$(DEB_INST)/usr/lib/llvm-$(LLVM_VERSION)/lib/:/usr/lib/*/libfakeroot dh_strip -a -v
: # Remove the workaround
rm $(CURDIR)/strip