commit:     0134f7e7e5a250fdb78d152622dd58b702492118
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 14 19:45:49 2019 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Thu Aug 15 16:27:25 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0134f7e7

virtual/opencl: add dev-libs/rocm-opencl-runtime

Closes: https://bugs.gentoo.org/692158
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>

 virtual/opencl/opencl-2.ebuild | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/virtual/opencl/opencl-2.ebuild b/virtual/opencl/opencl-2.ebuild
new file mode 100644
index 00000000000..a8f42249bb9
--- /dev/null
+++ b/virtual/opencl/opencl-2.ebuild
@@ -0,0 +1,27 @@
+# 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_}"
+
+# intel-neo and intel-ocl-sdk are amd64-only
+RDEPEND="app-eselect/eselect-opencl
+       || (
+               video_cards_i965? ( || (
+                       abi_x86_64? ( !abi_x86_32? ( dev-libs/intel-neo ) )
+                       dev-libs/beignet ) )
+               >=media-libs/mesa-9.1.6[opencl,${MULTILIB_USEDEP}]
+               video_cards_amdgpu? ( || (
+                       dev-libs/rocm-opencl-runtime
+                       dev-libs/amdgpu-pro-opencl ) )
+               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