commit: 9415bf961d24495c46da70ecc98a86b8ed073383 Author: Marek Szuba <marecki <AT> gentoo <DOT> org> AuthorDate: Thu Jan 26 10:39:33 2017 +0000 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> CommitDate: Thu Jan 26 10:40:38 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9415bf96
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 virtual/opencl/opencl-0-r5.ebuild | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/virtual/opencl/opencl-0-r5.ebuild b/virtual/opencl/opencl-0-r5.ebuild new file mode 100644 index 00000000..e3e82d6 --- /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 ) ) + )"