From e2976a2e23dfa6fd5c924d1b30fe6d1b61b84390 Mon Sep 17 00:00:00 2001 From: Gianfranco Costamagna Date: Fri, 28 Jun 2019 11:04:27 +0200 Subject: [PATCH] Do not enable Thin on armhf for now --- debian/changelog | 6 +++++- debian/rules | 3 +++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 3ce77a96..0dad1007 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 diff --git a/debian/rules b/debian/rules index 0bb0970d..1d14f581 100755 --- a/debian/rules +++ b/debian/rules @@ -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