diff options
author | Pacho Ramos <pacho@gentoo.org> | 2019-04-20 00:39:17 +0200 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2019-04-20 00:39:50 +0200 |
commit | 7e09af1d59223fb58ebdada71cbea9d7f9dce8ca (patch) | |
tree | 1171dac0473e70b8ae80b40fb4aa83809c44e671 /virtual/opencl | |
parent | www-apps/trickster: Dashboard Accelerator for Prometheus (diff) | |
download | gentoo-7e09af1d59223fb58ebdada71cbea9d7f9dce8ca.tar.gz gentoo-7e09af1d59223fb58ebdada71cbea9d7f9dce8ca.tar.bz2 gentoo-7e09af1d59223fb58ebdada71cbea9d7f9dce8ca.zip |
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@gentoo.org>
Diffstat (limited to 'virtual/opencl')
-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..185d006c519c --- /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 ) ) + )" |