remove old workaround - it was for 15

This commit is contained in:
Sylvestre Ledru 2023-07-06 17:08:43 +02:00
parent 704c661aa1
commit 6e018f1f52

9
debian/rules vendored
View File

@ -535,15 +535,6 @@ preconfigure:
debian/llvm-$(LLVM_VERSION)-linker-tools.links \
debian/libbolt-$(LLVM_VERSION)-dev.install
# workaround the breaks/replaces/conflicts
# https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-15/+bug/2008755
# Yeah, this is ugly but I don't know how to do better
if test "$(DISTRO)" = "jammy" -o "$(DISTRO)" = "kinetic" -o "$(DISTRO)" = "focal"; then \
if test "$(LLVM_VERSION)" = "15"; then \
sed -i -e "s|libclang-common-15-dev (<< 1:15.0.6-5)|libclang-common-15-dev (<< 1:15.0.6-5), libclang-common-15-dev (= 1:15.0.7-0ubuntu0.22.04.1), libpolly-15-dev (= 1:15.0.7-0ubuntu0.22.04.1)|g" debian/control; \
fi; \
fi
ifdef LLVM_SPIRV
# llvm-spirv was found, so we can enable *.spv files. Debian
# buster and Ubuntu 18.04 don't have llvm-spirv to create the