tags 968496 + patch
thanks

Le 16/08/2020 à 13:57, Stéphane Glondu a écrit :
> oclgrind is one of the 3 packages (along with qtcreator and
> astra-toolbox) that still depend on llvm-toolchain-8 (which FTBFS on
> all architectures, see #957496), and that prevents removing it from
> testing.

It builds fine (on amd64) with the attached patch.


Cheers,

-- 
Stéphane
>From df0eb67d3a05325eef9518d07dfce0fa2b3d00ab Mon Sep 17 00:00:00 2001
From: Stephane Glondu <st...@glondu.net>
Date: Sun, 16 Aug 2020 14:05:39 +0200
Subject: [PATCH] Build with llvm-9 (Closes: #968496)

---
 debian/changelog | 7 +++++++
 debian/control   | 6 +++---
 debian/rules     | 2 +-
 3 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 7ef266b..08063bf 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+oclgrind (19.10-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Build with llvm-9 (Closes: #968496)
+
+ -- Stéphane Glondu <glo...@debian.org>  Sun, 16 Aug 2020 14:05:14 +0200
+
 oclgrind (19.10-1) unstable; urgency=medium
 
   [ James Price ]
diff --git a/debian/control b/debian/control
index a41eb94..8577232 100644
--- a/debian/control
+++ b/debian/control
@@ -9,9 +9,9 @@ Build-Depends:
  debhelper-compat (= 12),
  dh-exec,
  cmake,
- llvm-8-dev,
- libclang-8-dev,
- clang-8,
+ llvm-9-dev,
+ libclang-9-dev,
+ clang-9,
  libedit-dev,
  zlib1g-dev,
  libreadline-dev,
diff --git a/debian/rules b/debian/rules
index 6d740a8..62acfc4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,7 +14,7 @@ include /usr/share/dpkg/default.mk
 
 override_dh_auto_configure:
 	if [ -d src/CL ]; then mv src/CL src/CL-Do-Not-Use ; fi
-	dh_auto_configure -- -DLLVM_DIR=/usr/lib/llvm-8/lib/cmake/llvm
+	dh_auto_configure -- -DLLVM_DIR=/usr/lib/llvm-9/lib/cmake/llvm
 
 override_dh_auto_clean:
 	dh_auto_clean
-- 
2.28.0

Reply via email to