1 |
commit: 0134f7e7e5a250fdb78d152622dd58b702492118 |
2 |
Author: Craig Andrews <candrews <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 14 19:45:49 2019 +0000 |
4 |
Commit: Craig Andrews <candrews <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 15 16:27:25 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0134f7e7 |
7 |
|
8 |
virtual/opencl: add dev-libs/rocm-opencl-runtime |
9 |
|
10 |
Closes: https://bugs.gentoo.org/692158 |
11 |
Package-Manager: Portage-2.3.71, Repoman-2.3.17 |
12 |
Signed-off-by: Craig Andrews <candrews <AT> gentoo.org> |
13 |
|
14 |
virtual/opencl/opencl-2.ebuild | 27 +++++++++++++++++++++++++++ |
15 |
1 file changed, 27 insertions(+) |
16 |
|
17 |
diff --git a/virtual/opencl/opencl-2.ebuild b/virtual/opencl/opencl-2.ebuild |
18 |
new file mode 100644 |
19 |
index 00000000000..a8f42249bb9 |
20 |
--- /dev/null |
21 |
+++ b/virtual/opencl/opencl-2.ebuild |
22 |
@@ -0,0 +1,27 @@ |
23 |
+# Copyright 1999-2019 Gentoo Authors |
24 |
+# Distributed under the terms of the GNU General Public License v2 |
25 |
+ |
26 |
+EAPI=6 |
27 |
+ |
28 |
+inherit multilib-build |
29 |
+ |
30 |
+DESCRIPTION="Virtual for OpenCL implementations" |
31 |
+SLOT="0" |
32 |
+KEYWORDS="~amd64 ~x86" |
33 |
+CARDS=( amdgpu i965 nvidia ) |
34 |
+IUSE="${CARDS[@]/#/video_cards_}" |
35 |
+ |
36 |
+# intel-neo and intel-ocl-sdk are amd64-only |
37 |
+RDEPEND="app-eselect/eselect-opencl |
38 |
+ || ( |
39 |
+ video_cards_i965? ( || ( |
40 |
+ abi_x86_64? ( !abi_x86_32? ( dev-libs/intel-neo ) ) |
41 |
+ dev-libs/beignet ) ) |
42 |
+ >=media-libs/mesa-9.1.6[opencl,${MULTILIB_USEDEP}] |
43 |
+ video_cards_amdgpu? ( || ( |
44 |
+ dev-libs/rocm-opencl-runtime |
45 |
+ dev-libs/amdgpu-pro-opencl ) ) |
46 |
+ video_cards_nvidia? ( |
47 |
+ >=x11-drivers/nvidia-drivers-290.10-r2[uvm] ) |
48 |
+ abi_x86_64? ( !abi_x86_32? ( dev-util/intel-ocl-sdk ) ) |
49 |
+ )" |