diff --git a/dev-python/pyopencl/pyopencl-2022.2.3.ebuild b/dev-python/pyopencl/pyopencl-2022.2.3.ebuild index e966b7e97d340..253582817f5bf 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}