[neon/qt/pyside2/Neon/release] debian: Build with llvm-toolchain-17.

Dmitry Shachnev null at kde.org
Thu Jul 25 03:06:04 BST 2024


Git commit b76b5131541ceaae7b058ed5da99e64fa875d2c3 by Dmitry Shachnev.
Committed on 04/02/2024 at 14:15.
Pushed by carlosdem into branch 'Neon/release'.

Build with llvm-toolchain-17.

Closes: #1061206.

M  +2    -1    debian/changelog
M  +2    -2    debian/control
M  +2    -0    debian/rules

https://invent.kde.org/neon/qt/pyside2/-/commit/b76b5131541ceaae7b058ed5da99e64fa875d2c3

diff --git a/debian/changelog b/debian/changelog
index 049a319c..76495213 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,8 @@
 pyside2 (5.15.12-5) UNRELEASED; urgency=medium
 
-  * Backport 9 upstream patches for LLVM 16 support.
+  * Backport 9 upstream patches for LLVM ≥ 16 support.
   * Modify sendCommand signatures to use 0 as default value.
+  * Build with llvm-toolchain-17 (closes: #1061206).
 
  -- Dmitry Shachnev <mitya57 at debian.org>  Sat, 03 Feb 2024 20:39:50 +0300
 
diff --git a/debian/control b/debian/control
index 717b9835..34d02feb 100644
--- a/debian/control
+++ b/debian/control
@@ -8,7 +8,7 @@ Build-Depends: chrpath,
                debhelper-compat (= 13),
                dh-python,
                graphviz,
-               libclang-15-dev,
+               libclang-17-dev,
                libqt5charts5-dev (>= 5.15),
                libqt5datavisualization5-dev (>= 5.15),
                libqt5opengl5-dev (>= 5.15),
@@ -26,7 +26,7 @@ Build-Depends: chrpath,
                libqt5xmlpatterns5-dev (>= 5.15),
                libxml2-dev,
                libxslt1-dev,
-               llvm-15-dev,
+               llvm-17-dev,
                python3-dev,
                python3-distro,
                python3-setuptools,
diff --git a/debian/rules b/debian/rules
index 3f027344..154341f2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,6 +26,8 @@ CXXFLAGS+=$(CPPFLAGS)
 # Work around buildd bug (https://bugs.debian.org/842565)
 undefine XDG_RUNTIME_DIR
 
+export LLVM_INSTALL_DIR := $(shell llvm-config-17 --prefix)
+
 %:
 	dh $@ --with python3,sphinxdoc --buildsystem=pybuild
 



More information about the Neon-commits mailing list