remove old rules for stretch, xenial & trusty

This commit is contained in:
Sylvestre Ledru 2021-05-10 13:33:06 +02:00
parent 90f737ccd4
commit df37dcdf28

11
debian/rules vendored
View File

@ -251,10 +251,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
@ -269,7 +265,6 @@ ifeq (,$(filter $(DEB_HOST_ARCH), armhf))
# CMAKE_EXTRA += -DBOOTSTRAP_LLVM_ENABLE_LTO="Thin"
endif
endif
endif
DH_OPTIONS=
OCAML_ENABLE= no
@ -332,12 +327,6 @@ preconfigure:
# Make install file executable for dh-exec
chmod +x debian/llvm-$(LLVM_VERSION)-dev.install debian/libclang-common-$(LLVM_VERSION)-dev.install debian/clang-tools-$(LLVM_VERSION).install debian/libomp-$(LLVM_VERSION)-dev.install
# 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: