From 27037fc17d9f529b3e9417bd40f96e7977ca6e07 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Mon, 10 May 2021 13:31:57 +0200 Subject: [PATCH] remove old rules for stretch, xenial & trusty --- debian/rules | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/debian/rules b/debian/rules index 732ed6c8..a5d9445e 100755 --- a/debian/rules +++ b/debian/rules @@ -254,10 +254,6 @@ ifneq (,$(filter $(DEB_HOST_ARCH_OS),linux)) CMAKE_EXTRA += -DLLVM_USE_PERF=yes -DLLVM_ENABLE_LIBPFM=ON endif -# Use thinlto for the link phase -THIN_UNSUPPORTED_DISTRO := stretch xenial trusty -# Don't enable for old distros -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 @@ -272,7 +268,6 @@ ifeq (,$(filter $(DEB_HOST_ARCH), armhf)) # CMAKE_EXTRA += -DBOOTSTRAP_LLVM_ENABLE_LTO="Thin" endif endif -endif DH_OPTIONS= OCAML_ENABLE= no @@ -357,12 +352,6 @@ preconfigure: fi; \ fi - # DH doesn't support the [power ...] in install on Ubuntu trusty - # fails with cp: cannot stat 'debian/tmp/[!powerpc': No such file or directory - if test "$(DISTRO)" = "trusty"; then \ - sed -i -e "s|\[\!powerpc \!powerpcspe\] ||g" debian/llvm-$(LLVM_VERSION)-dev.install; \ - fi - # Override this two targets. They are trying to manage the .in conversion for me override_dh_ocamlinit: override_dh_ocamlclean: