Skip to content

Commit

Permalink
virtual/opencl: add VIDEO_CARDS=i965 support
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Marek Szuba committed Jan 26, 2017
1 parent fe00075 commit 9415bf9
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions virtual/opencl/opencl-0-r5.ebuild
Original file line number Diff line number Diff line change
@@ -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 ) )
)"

0 comments on commit 9415bf9

Please sign in to comment.