summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2022-11-01 13:08:23 +0000
committerMarek Szuba <marecki@gentoo.org>2022-11-01 13:10:34 +0000
commit12121e67bbbd982f7f689b5ccc13d0774da447ff (patch)
tree8aee132c9dc83fabbc2de898a0f632832297fe7e
parentnet-analyzer/suricata: revbump for Python shebang change (diff)
downloadgentoo-12121e67bbbd982f7f689b5ccc13d0774da447ff.tar.gz
gentoo-12121e67bbbd982f7f689b5ccc13d0774da447ff.tar.bz2
gentoo-12121e67bbbd982f7f689b5ccc13d0774da447ff.zip
dev-python/pyopencl: restrict tests again
Worked for a while, now it triggers errors inside pOCL for at least some users. It was fun while it lasted. Closes: https://bugs.gentoo.org/872308 Signed-off-by: Marek Szuba <marecki@gentoo.org>
-rw-r--r--dev-python/pyopencl/pyopencl-2022.2.3.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/dev-python/pyopencl/pyopencl-2022.2.3.ebuild b/dev-python/pyopencl/pyopencl-2022.2.3.ebuild
index e966b7e97d34..253582817f5b 100644
--- a/dev-python/pyopencl/pyopencl-2022.2.3.ebuild
+++ b/dev-python/pyopencl/pyopencl-2022.2.3.ebuild
@@ -18,6 +18,11 @@ SLOT="0"
KEYWORDS="~amd64 ~ppc64"
IUSE="examples opengl"
+# Running tests on GPUs requires both appropriate hardware and additional permissions
+# having been granted to the user running them. Testing on CPUs with dev-libs/pocl
+# is in theory possible but has been found to be very fragile, see e.g. Bug #872308.
+RESTRICT="test"
+
COMMON=">=virtual/opencl-2"
# libglvnd is only needed for the headers
DEPEND="${COMMON}