mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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
This commit is contained in:
31
virtual/opencl/opencl-0-r5.ebuild
Normal file
31
virtual/opencl/opencl-0-r5.ebuild
Normal file
@@ -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 ) )
|
||||
)"
|
||||
Reference in New Issue
Block a user