commit:     12121e67bbbd982f7f689b5ccc13d0774da447ff
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Tue Nov  1 13:08:23 2022 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Tue Nov  1 13:10:34 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12121e67

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 <AT> gentoo.org>

 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 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}

Reply via email to