summaryrefslogtreecommitdiff
path: root/dev-python/pycuda
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-08-20 03:04:52 -0500
committerroot <root@alpha.trunkmasters.com>2026-08-20 03:04:52 -0500
commitef28a0a09751356d6a177eab79b041f208f7d070 (patch)
tree2cfb77d786d95a3e3fa4c9e6bcfa3c137196c2d9 /dev-python/pycuda
parent7b13a9274c53423047c061be2d9fc93c3728c318 (diff)
downloadbaldeagleos-repo-ef28a0a09751356d6a177eab79b041f208f7d070.tar.gz
baldeagleos-repo-ef28a0a09751356d6a177eab79b041f208f7d070.tar.xz
baldeagleos-repo-ef28a0a09751356d6a177eab79b041f208f7d070.zip
Adding metadata
Diffstat (limited to 'dev-python/pycuda')
-rw-r--r--dev-python/pycuda/pycuda-2025.1.3-r1.ebuild14
1 files changed, 13 insertions, 1 deletions
diff --git a/dev-python/pycuda/pycuda-2025.1.3-r1.ebuild b/dev-python/pycuda/pycuda-2025.1.3-r1.ebuild
index 51bdf39a3feb..58e95fe968cb 100644
--- a/dev-python/pycuda/pycuda-2025.1.3-r1.ebuild
+++ b/dev-python/pycuda/pycuda-2025.1.3-r1.ebuild
@@ -66,12 +66,24 @@ python_configure() {
}
python_test() {
- # we need write access to this to run the tests
+ # We need write access to these to run the tests
addwrite /dev/nvidia0
addwrite /dev/nvidiactl
addwrite /dev/nvidia-uvm
addwrite /dev/nvidia-uvm-tools
+ if [[ ! -w /dev/nvidiactl ]]; then
+ eerror "Could not write to /dev/nvidiactl. To run these tests, a NVIDIA GPU is required"
+ eerror "and must be accessible by the package manager."
+ eerror
+ eerror "Further, the 'portage' user usually needs to be in the video group:"
+ eerror " 1) set ACCT_USER_PORTAGE_GROUPS_ADD='video' in make.conf and re-emerge"
+ eerror " acct-user/portage, or"
+ eerror
+ eerror " 2) please run 'gpasswd -a portage video'."
+ die "/dev/nvidiactl inaccessible; check permissions?"
+ fi
+
EPYTEST_DESELECT=(
# needs investigation, perhaps failure is hardware-specific
test/test_driver.py::test_pass_cai_array