Support of gcc 5.0 (Closes: #777988)

This commit is contained in:
Sylvestre Ledru 2015-02-18 15:53:12 +00:00
parent d8a2e2dd5a
commit df9425ae58
2 changed files with 10 additions and 3 deletions

9
debian/changelog vendored
View File

@ -1,4 +1,11 @@
llvm-toolchain-snapshot (1:3.7~svn228604-1) unstable; urgency=medium
llvm-toolchain-snapshot (1:3.7~svn229332-1~exp1) experimental; urgency=medium
* New snapshot release
* Support of gcc 5.0 (Closes: #777988)
-- Sylvestre Ledru <sylvestre@debian.org> Sun, 15 Feb 2015 22:22:15 +0100
llvm-toolchain-snapshot (1:3.7~svn228821-1) unstable; urgency=medium
* New snapshot release
* Bring back polly and remove libcloog-isl-dev & libisl-dev as build deps

4
debian/rules vendored
View File

@ -3,7 +3,7 @@
TARGET_BUILD := build-llvm
DEB_INST := $(CURDIR)/debian/tmp/
#GCC_VERSION := 4.8
GCC_VERSION := $(shell dpkg-query -W -f '$${Version}' g++ | sed -rne 's,^([0-9]+:)?([0-9]+\.[0-9]+).*$$,\2,p')
GCC_VERSION := $(shell dpkg-query -W -f '$${Version}' g++ | sed -rne 's,^([0-9]+:)?([0-9]+\.[0-9]+|[0-9]+).*$$,\2,p')
LLVM_VERSION := 3.7
LLVM_VERSION_FULL := $(LLVM_VERSION).0
SONAME_EXT := 1
@ -31,7 +31,7 @@ LDFLAGS_EXTRA += -latomic
endif
ifeq ($(shell dpkg --compare-versions $(shell dpkg-query -W -f '$${Version}' g++-$(GCC_VERSION)) lt 4.7.2-10~ ; echo $$?),0)
# Too old version of gcc. Force 4.8
# Too old version of gcc. Force 4.9
GCC_VERSION := 4.9
endif