summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPicca Frédéric-Emmanuel <picca@debian.org>2023-07-18 11:12:38 +0200
committerPicca Frédéric-Emmanuel <picca@debian.org>2023-07-18 11:12:38 +0200
commitdce6602dff32ab5b65b45cd435da53f5753bd0b8 (patch)
tree43558bc90ea585ac8d3c7644391b0eae58b77d6b
parentf0e9be681e6c0fdda0dda92de756cc00b35d4aaf (diff)
install pocl only where it is available.
-rw-r--r--debian/changelog2
-rw-r--r--debian/control2
-rw-r--r--debian/tests/control2
3 files changed, 3 insertions, 3 deletions
diff --git a/debian/changelog b/debian/changelog
index 399e6db..9813056 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,7 @@
pyfai (2023.5.0+dfsg1-3) UNRELEASED; urgency=medium
* d/control: use profile <!nodoc> for all B-D-I.
- * d/control: B-D added mesa-opencl-icd (for OpenCL tests)
+ * d/control: B-D added pocl-opencl-icd (for OpenCL tests)
* d/rules: restore override_dh_auto_build-indep.
* d/rules: add verbosity to meson build.
* d/rules: reactivate the opencl test during the build.
diff --git a/debian/control b/debian/control
index 0080d4e..58375d1 100644
--- a/debian/control
+++ b/debian/control
@@ -14,7 +14,7 @@ Build-Depends:
dh-python,
dh-sequence-numpy3,
dh-sequence-python3,
- mesa-opencl-icd,
+ pocl-opencl-icd [amd64 arm64 armel armhf i386] <!nocheck>,
pybuild-plugin-pyproject,
python-dev-is-python3,
python3-all-dev,
diff --git a/debian/tests/control b/debian/tests/control
index dee2a55..c069c99 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -3,11 +3,11 @@ Test-Command: set -efu
; for py in $(py3versions -r 2>/dev/null)
; do cd "$AUTOPKGTEST_TMP"
; echo "Testing with $py:"
- ; export PYFAI_OPENCL=False
; xvfb-run -a --server-args="-screen 0 1024x768x24" $py run_tests.py -v -m --installed
; done
Depends:
bitshuffle,
+ pocl-opencl-icd [amd64 arm64 armel armhf i386],
python3-all,
python3-pyfai,
python3-tk,