Do not enable Thin on armhf for now

This commit is contained in:
Gianfranco Costamagna 2019-06-28 11:04:27 +02:00
parent 18ae2a6976
commit e2976a2e23
2 changed files with 8 additions and 1 deletions

6
debian/changelog vendored
View File

@ -1,4 +1,8 @@
llvm-toolchain-8 (1:8.0.1~+rc2-1~exp2) UNRELEASED; urgency=medium
llvm-toolchain-8 (1:8.0.1~+rc2-1~exp2) experimental; urgency=medium
[ Gianfranco Costamagna ]
* Enable thinlto everywhere except armhf
* Drop wrong exit 1 from testsuite
[ Andreas Beckmann ]
* For now, lld doesn't generate shared libs. Removing the files

3
debian/rules vendored
View File

@ -227,9 +227,12 @@ THIN_UNSUPPORTED_DISTRO := stretch xenial trusty
ifeq (,$(filter $(DISTRO), $(THIN_UNSUPPORTED_DISTRO)))
# Only enable it for archs supporting gold
ifneq (,$(filter $(DEB_HOST_ARCH),$(BINUTILS_GOLD_ARCHS)))
# armhf is not yet quite ready for Thin, it FTBFS
ifeq (,$(filter $(DEB_HOST_ARCH), armhf))
CMAKE_EXTRA += -DLLVM_ENABLE_LTO="Thin"
endif
endif
endif
DH_OPTIONS=
OCAML_ENABLE= no