summaryrefslogtreecommitdiff
path: root/dev-python/pyopencl/pyopencl-2022.2.3.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pyopencl/pyopencl-2022.2.3.ebuild')
-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}