Gentoo Archives: gentoo-commits

From: Marek Szuba <marecki@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyopencl/
Date: Tue, 01 Nov 2022 13:10:45
Message-Id: 1667308234.12121e67bbbd982f7f689b5ccc13d0774da447ff.marecki@gentoo
1 commit: 12121e67bbbd982f7f689b5ccc13d0774da447ff
2 Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
3 AuthorDate: Tue Nov 1 13:08:23 2022 +0000
4 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 1 13:10:34 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12121e67
7
8 dev-python/pyopencl: restrict tests again
9
10 Worked for a while, now it triggers errors inside pOCL for at least some
11 users. It was fun while it lasted.
12
13 Closes: https://bugs.gentoo.org/872308
14 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
15
16 dev-python/pyopencl/pyopencl-2022.2.3.ebuild | 5 +++++
17 1 file changed, 5 insertions(+)
18
19 diff --git a/dev-python/pyopencl/pyopencl-2022.2.3.ebuild b/dev-python/pyopencl/pyopencl-2022.2.3.ebuild
20 index e966b7e97d34..253582817f5b 100644
21 --- a/dev-python/pyopencl/pyopencl-2022.2.3.ebuild
22 +++ b/dev-python/pyopencl/pyopencl-2022.2.3.ebuild
23 @@ -18,6 +18,11 @@ SLOT="0"
24 KEYWORDS="~amd64 ~ppc64"
25 IUSE="examples opengl"
26
27 +# Running tests on GPUs requires both appropriate hardware and additional permissions
28 +# having been granted to the user running them. Testing on CPUs with dev-libs/pocl
29 +# is in theory possible but has been found to be very fragile, see e.g. Bug #872308.
30 +RESTRICT="test"
31 +
32 COMMON=">=virtual/opencl-2"
33 # libglvnd is only needed for the headers
34 DEPEND="${COMMON}