summaryrefslogtreecommitdiff
path: root/dev-libs/intel-neo
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-05-14 11:09:11 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-05-14 11:09:11 +0100
commitdeba8115d2c2af26df42966b91ef04ff4dd79cde (patch)
tree9a48f42594e1a9e6b2020d5535a784314434d7a7 /dev-libs/intel-neo
parent38423c67c8a23f6a1bc42038193182e2da3116eb (diff)
gentoo resync : 14.05.2020
Diffstat (limited to 'dev-libs/intel-neo')
-rw-r--r--dev-libs/intel-neo/Manifest4
-rw-r--r--dev-libs/intel-neo/intel-neo-20.16.16582.ebuild55
-rw-r--r--dev-libs/intel-neo/metadata.xml14
3 files changed, 68 insertions, 5 deletions
diff --git a/dev-libs/intel-neo/Manifest b/dev-libs/intel-neo/Manifest
index 9d25881ea298..319463c95176 100644
--- a/dev-libs/intel-neo/Manifest
+++ b/dev-libs/intel-neo/Manifest
@@ -1,5 +1,7 @@
DIST intel-neo-20.03.15346.tar.gz 2671869 BLAKE2B cf1e242563a377d533b1e5adc89257e3fdd879a0f275f069e9c1c3c8436e269a1ec57e951394d2a487148bfc5393fed0ce1f3feb6954c7ece9de59cccffd628c SHA512 4d2cc8fdcba714832306e6353e8688e12c44eb0f848aad981951ee092274ba8ae032db462b49e874b7ac72e1b8b2b9ba71a84b6715ca241c06a1c70e753e5ed3
DIST intel-neo-20.10.16087.tar.gz 2942516 BLAKE2B ed77e5dfe950794e9e34cc6a0d8c053292b5673b9fa244ef7b861da93bb6aa58161ad890719013c838b0bbd80f3c22aaafc60dcb72a1e1e565cab51e5467c810 SHA512 8a728a3cffb5960dba8e8ecc160a6f0dd9c2cbadead3db3af2df71af492fdb346628a20c55112e64debb32eb25cf549e42dc78a606ef4bb8f746913781dbb446
+DIST intel-neo-20.16.16582.tar.gz 3042531 BLAKE2B adfc0aee2a315e67ccb3e4fe39ab09b618930607d3de931d1367881642d8e542385589299f593d3ab1cd6e16de7a8fce7b55fa1b4259097e15da7e55034d344b SHA512 700bee3ccf72c2bc89f5c8a75591de9dafbfe0a6480e3216258842c6b68ce1b527569d5fe1327a0a80cfbf79dca1d956820f060b602feefa83fc9b47cb46d7d0
EBUILD intel-neo-20.03.15346.ebuild 1173 BLAKE2B f60a497821520ee0e8402232e480e3781cbf7655bfdf50bfa20ca15fe6c9fbc80718ed90b552ee860357f7e33511d30030eb0dec2c16fb4de14db311a04ad3c9 SHA512 f9a6835c271660e575a774a5ce24ca900a278f0e00381805030df82b5634aa852c24feccf08a60ddfc2cb576acd7bf954441686c33184fa8ce32016233652e5c
EBUILD intel-neo-20.10.16087.ebuild 1129 BLAKE2B a9ad6866a2b9362550211617314806262b2cf3ebdf742cbaabd6e3d26d5927b583334339289360afc5bfc7a1329092ebaa809856c60dae8cd1682d47483ff115 SHA512 46626c7cd9917287d4f510e72ce6980a54be44717689fde51ca20db6096b69ca66d0e3f77b9bdb01a460d52e23a9834f47065ba1c389e8c1f65a56db9e3cf45e
-MISC metadata.xml 735 BLAKE2B 7b75773dfa61833dc93d975c59f9486ea53c1727eb2639f905c9aa858d30fe21a9378f52d97bdcf5ce15f80825d48fadae8ca3abfff8d219e6e6cb431906bc84 SHA512 66c14c5dc86bbfe47c8fd3a95001013fa9dfd5093687e3b602f2b2fd3d81f6f2c2242621a8dcde2930901ab3853a677e646b136eb16c3d19f29647efede3d030
+EBUILD intel-neo-20.16.16582.ebuild 1393 BLAKE2B 9721ab84c7db31319ca70b60434629f194769dae897f1b50e1ac1fc7fed513a47823e2faf0dae76a4c48c359793b402327972805fd877f5da4728e399baf3eba SHA512 8d38ea567d1be50ba379866b161c5c8ca399f64290d5890e372a782176ef5e3ef5f95a4beb5aced515164995855bfe5ce34f6067278235dcfd8fded6aeff64bd
+MISC metadata.xml 1173 BLAKE2B 60913d5c1e3b546b4a9a8f35341761a89a4c8e1a7ed3c63ba992eabfc28c01f790f1eb006220ccb3c764a0b6325e6e8f56186a058ec9387226eb2a911c9b73c2 SHA512 f2b373b08f2b599a1dcaef3ea32157a7278c8088a247d8275f68a35730ee28d065acdf8e99287a853a0a761bc497a5e48c72c3352a8f8cdbc9828134bab6c602
diff --git a/dev-libs/intel-neo/intel-neo-20.16.16582.ebuild b/dev-libs/intel-neo/intel-neo-20.16.16582.ebuild
new file mode 100644
index 000000000000..4cad60483991
--- /dev/null
+++ b/dev-libs/intel-neo/intel-neo-20.16.16582.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+MY_PN="compute-runtime"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Intel Graphics Compute Runtime for L0 and OpenCL, for Broadwell and beyond"
+HOMEPAGE="https://github.com/intel/compute-runtime"
+SRC_URI="https://github.com/intel/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="l0 vaapi"
+
+BDEPEND="virtual/pkgconfig"
+COMMON=">=virtual/opencl-3
+ >=dev-util/intel-graphics-compiler-1.0.3826
+ >=media-libs/gmmlib-20.1.1
+ l0? ( >=dev-libs/level-zero-0.91.10 )
+ vaapi? (
+ x11-libs/libdrm[video_cards_intel]
+ x11-libs/libva
+ )"
+DEPEND="${COMMON}
+ dev-util/opencl-headers
+ media-libs/mesa" # for Khronos OpenGL headers
+RDEPEND="${COMMON}"
+
+DOCS=(
+ README.md
+ FAQ.md
+)
+
+S="${WORKDIR}"/${MY_P}
+
+src_configure() {
+ local mycmakeargs=(
+ -DKHRONOS_HEADERS_DIR="${EPREFIX}/usr/include"
+ # CMake only sets this automatically for bundled OpenCL headers
+ -DNEO_EXTRA_DEFINES="CL_TARGET_OPENCL_VERSION=220"
+ -DKHRONOS_GL_HEADERS_DIR="${EPREFIX}/usr/include"
+ -DBUILD_WITH_L0=$(usex l0)
+ -DDISABLE_LIBVA=$(usex vaapi "no" "yes")
+ # If enabled, tests are automatically run during the compile phase
+ # - and we cannot run them because they require permissions to access
+ # the hardware.
+ -DSKIP_UNIT_TESTS=ON
+ )
+ cmake_src_configure
+}
diff --git a/dev-libs/intel-neo/metadata.xml b/dev-libs/intel-neo/metadata.xml
index d7b990043c17..0cb86b121696 100644
--- a/dev-libs/intel-neo/metadata.xml
+++ b/dev-libs/intel-neo/metadata.xml
@@ -5,11 +5,17 @@
<email>marecki@gentoo.org</email>
<name>Marek Szuba</name>
</maintainer>
- <longdescription>The Intel Graphics Compute Runtime for OpenCL, informally
- known as NEO, is an open source project to converge Intel's development
- efforts on OpenCL compute stacks supporting Gen8 graphics devices
- (Broadwell architecture) and newer.</longdescription>
+ <longdescription>The Intel Graphics Compute Runtime for for oneAPI Level Zero and
+ OpenCL Driver, informally known as NEO, is an open source project providing
+ compute API support (Level Zero, OpenCL) for Intel graphics hardware
+ architectures (HD Graphics, Xe).
+ For OpenCL, NEO supports Intel Core processors with Gen8 graphics devices
+ (Broadwell architecture) and newer, as well as Intel Atom processors with Gen9
+ graphics devices (Apollo Lake, Gemini Lake).
+ Level Zero support is more limited and as of April 2020 still in early stages,
+ please consult upstream release notices for details.</longdescription>
<use>
+ <flag name="l0">Install the oneAPI Level Zero driver alongside the OpenCL one</flag>
<flag name="vaapi">Support the sharing of surfaces with Video Acceleration API
(OpenCL Extension #36)</flag>
</use>