diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-08-18 18:16:17 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-08-18 18:16:17 +0100 |
commit | fc637fb28da700da71ec2064d65ca5a7a31b9c6c (patch) | |
tree | 326613a08f25851c388715e205576a2e7d25dc4f /virtual/opencl/opencl-2.ebuild | |
parent | b24bd25253fe093f722ab576d29fdc41d04cb1ee (diff) |
gentoo resync : 18.08.2019
Diffstat (limited to 'virtual/opencl/opencl-2.ebuild')
-rw-r--r-- | virtual/opencl/opencl-2.ebuild | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/virtual/opencl/opencl-2.ebuild b/virtual/opencl/opencl-2.ebuild new file mode 100644 index 000000000000..0d7d5035b03f --- /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,X(+),${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 ) ) + )" |