Fix the broken Breaks/replaces for apt.llvm.org Closes: https://github.com/llvm/llvm-project/issues/99502

This commit is contained in:
Sylvestre Ledru 2024-07-18 22:02:47 +02:00
parent 99f1459bc6
commit 6426259584
2 changed files with 9 additions and 2 deletions

7
debian/changelog vendored
View File

@ -1,3 +1,10 @@
llvm-toolchain-18 (1:18.1.8-5) unstable; urgency=medium
* Fix the broken Breaks/replaces for apt.llvm.org
Closes: https://github.com/llvm/llvm-project/issues/99502
-- Sylvestre Ledru <sylvestre@debian.org> Thu, 18 Jul 2024 22:02:44 +0200
llvm-toolchain-18 (1:18.1.8-4) unstable; urgency=medium llvm-toolchain-18 (1:18.1.8-4) unstable; urgency=medium
* fix the symlinks after LLVM_ENABLE_PER_TARGET_RUNTIME_DIR=OFF * fix the symlinks after LLVM_ENABLE_PER_TARGET_RUNTIME_DIR=OFF

4
debian/rules vendored
View File

@ -681,8 +681,8 @@ stamps/preconfigure:
# workaround the breaks/replaces/conflicts introduced with the libc++ move # workaround the breaks/replaces/conflicts introduced with the libc++ move
# we update the version to make it work with apt.llvm.org # we update the version to make it work with apt.llvm.org
# Yeah, this is ugly but I don't know how to do better # Yeah, this is ugly but I don't know how to do better
if test "$(LLVM_VERSION)" = "17"; then \ if test "$(LLVM_VERSION)" = "18"; then \
sed -i -e "s|(<< 1:17.0.6-2)|(<< 1:17.0.6~++20231206041259)|g" debian/control; \ sed -i -e "s| (<< 1:18.1.8-4)|(<< 1:18.1.8~++20240717045021)|g" debian/control; \
fi fi
# llvm-spirv was found, so we can enable *.spv files. Debian # llvm-spirv was found, so we can enable *.spv files. Debian