diff options
author | Marek Szuba <marecki@gentoo.org> | 2017-01-26 11:39:33 +0100 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2017-01-26 11:40:38 +0100 |
commit | 9415bf961d24495c46da70ecc98a86b8ed073383 (patch) | |
tree | c96ec1dc4adb6792b24c46ebf4e2bf6c7ea3d022 /virtual/opencl | |
parent | sys-apps/iucode_tool: x86 stable wrt bug #606724 (diff) | |
download | gentoo-9415bf961d24495c46da70ecc98a86b8ed073383.tar.gz gentoo-9415bf961d24495c46da70ecc98a86b8ed073383.tar.bz2 gentoo-9415bf961d24495c46da70ecc98a86b8ed073383.zip |
virtual/opencl: add VIDEO_CARDS=i965 support
dev-libs/beignet provides an OpenCL implementation for Intel GPUs from
Generation 7 (Ivy Bridge) onwards. Note that VIDEO_CARDS=i965 also covers three
earlier generations which are not supported by Beignet.
Package-Manager: portage-2.3.3
Diffstat (limited to 'virtual/opencl')
-rw-r--r-- | virtual/opencl/opencl-0-r5.ebuild | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/virtual/opencl/opencl-0-r5.ebuild b/virtual/opencl/opencl-0-r5.ebuild new file mode 100644 index 000000000000..e3e82d696396 --- /dev/null +++ b/virtual/opencl/opencl-0-r5.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit multilib-build + +DESCRIPTION="Virtual for OpenCL implementations" +HOMEPAGE="" +SRC_URI="" + +LICENSE="" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +CARDS=( fglrx i965 nvidia ) +IUSE="${CARDS[@]/#/video_cards_}" + +DEPEND="" +# intel-ocl-sdk is amd64-only +RDEPEND="app-eselect/eselect-opencl + || ( + >=media-libs/mesa-9.1.6[opencl,${MULTILIB_USEDEP}] + video_cards_fglrx? ( + >=x11-drivers/ati-drivers-12.1-r1 ) + video_cards_i965? ( + dev-libs/beignet ) + video_cards_nvidia? ( + >=x11-drivers/nvidia-drivers-290.10-r2 ) + abi_x86_64? ( !abi_x86_32? ( dev-util/intel-ocl-sdk ) ) + )" |