commit:     7e09af1d59223fb58ebdada71cbea9d7f9dce8ca
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 19 22:39:17 2019 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Fri Apr 19 22:39:50 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e09af1d

virtual/opencl: nvidia-drivers[uvm] is needed (#572496)

Bug: https://bugs.gentoo.org/572496
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 virtual/opencl/opencl-0-r6.ebuild | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/virtual/opencl/opencl-0-r6.ebuild 
b/virtual/opencl/opencl-0-r6.ebuild
new file mode 100644
index 00000000000..185d006c519
--- /dev/null
+++ b/virtual/opencl/opencl-0-r6.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit multilib-build
+
+DESCRIPTION="Virtual for OpenCL implementations"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+CARDS=( amdgpu i965 nvidia )
+IUSE="${CARDS[@]/#/video_cards_}"
+
+# amdgpu-pro-opencl and intel-ocl-sdk are amd64-only
+RDEPEND="app-eselect/eselect-opencl
+       || (
+               >=media-libs/mesa-9.1.6[opencl,${MULTILIB_USEDEP}]
+               video_cards_amdgpu? (
+                       abi_x86_64? ( !abi_x86_32? ( dev-libs/amdgpu-pro-opencl 
) ) )
+               video_cards_i965? (
+                       dev-libs/beignet )
+               video_cards_nvidia? (
+                       >=x11-drivers/nvidia-drivers-290.10-r2[uvm] )
+               abi_x86_64? ( !abi_x86_32? ( dev-util/intel-ocl-sdk ) )
+       )"

Reply via email to