summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2020-02-28 13:07:07 +0100
committerMarek Szuba <marecki@gentoo.org>2020-02-28 13:07:07 +0100
commit324d30a33566efe8fe1485115e30e0a934bbcf29 (patch)
tree1026dcac14076b235c57a1b906e8d2f9aea29730 /virtual
parentvirtual/opencl: Only pull in media-libs/mesa on supported GPUs (diff)
downloadgentoo-324d30a33566efe8fe1485115e30e0a934bbcf29.tar.gz
gentoo-324d30a33566efe8fe1485115e30e0a934bbcf29.tar.bz2
gentoo-324d30a33566efe8fe1485115e30e0a934bbcf29.zip
virtual/opencl: OR, not AND for nvidia providers
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'virtual')
-rw-r--r--virtual/opencl/opencl-2.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/virtual/opencl/opencl-2.ebuild b/virtual/opencl/opencl-2.ebuild
index 9963833977ef..cbacc93b3193 100644
--- a/virtual/opencl/opencl-2.ebuild
+++ b/virtual/opencl/opencl-2.ebuild
@@ -20,9 +20,9 @@ RDEPEND="app-eselect/eselect-opencl
video_cards_amdgpu? ( || (
dev-libs/rocm-opencl-runtime
dev-libs/amdgpu-pro-opencl ) )
- video_cards_nvidia? (
+ video_cards_nvidia? ( || (
>=x11-drivers/nvidia-drivers-290.10-r2[uvm]
- >=media-libs/mesa-9.1.6[opencl,X(+),${MULTILIB_USEDEP}] )
+ >=media-libs/mesa-9.1.6[opencl,X(+),${MULTILIB_USEDEP}] ) )
video_cards_r600? (
>=media-libs/mesa-9.1.6[opencl,X(+),${MULTILIB_USEDEP}] )
video_cards_radeonsi? (