diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-04-28 09:54:45 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-04-28 09:54:45 +0100 |
commit | b7ebc951da8800f711142f69d9d958bde67a112d (patch) | |
tree | e318514216845acb8f2e49fff7a5cba4027e9d91 /virtual/opencl/opencl-0-r6.ebuild | |
parent | dc7cbdfa65fd814b3b9aa3c56257da201109e807 (diff) |
gentoo resync : 28.04.2019
Diffstat (limited to 'virtual/opencl/opencl-0-r6.ebuild')
-rw-r--r-- | virtual/opencl/opencl-0-r6.ebuild | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/virtual/opencl/opencl-0-r6.ebuild b/virtual/opencl/opencl-0-r6.ebuild new file mode 100644 index 000000000000..ce598fc68385 --- /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 ) ) + )" |