From 12121e67bbbd982f7f689b5ccc13d0774da447ff Mon Sep 17 00:00:00 2001 From: Marek Szuba Date: Tue, 1 Nov 2022 13:08:23 +0000 Subject: [PATCH] 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 --- dev-python/pyopencl/pyopencl-2022.2.3.ebuild | 5 +++++ 1 file changed, 5 insertions(+) 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}