Gentoo Archives: gentoo-commits

From: Conrad Kostecki <conikost@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/intel-compute-runtime/
Date: Sat, 30 Oct 2021 21:24:25
Message-Id: 1635627843.9752047ec479e594fc2fad2cc6649092cb8c88a2.conikost@gentoo
1 commit: 9752047ec479e594fc2fad2cc6649092cb8c88a2
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 30 21:04:03 2021 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 30 21:04:03 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9752047e
7
8 dev-libs/intel-compute-runtime: bump to version 21.43.21438
9
10 Package-Manager: Portage-3.0.28, Repoman-3.0.3
11 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
12
13 dev-libs/intel-compute-runtime/Manifest | 1 +
14 .../intel-compute-runtime-21.43.21438.ebuild | 61 ++++++++++++++++++++++
15 2 files changed, 62 insertions(+)
16
17 diff --git a/dev-libs/intel-compute-runtime/Manifest b/dev-libs/intel-compute-runtime/Manifest
18 index ddfec4fa18a..727bf0ec309 100644
19 --- a/dev-libs/intel-compute-runtime/Manifest
20 +++ b/dev-libs/intel-compute-runtime/Manifest
21 @@ -3,3 +3,4 @@ DIST intel-compute-runtime-21.39.21127.tar.gz 4666632 BLAKE2B 0e63e1bdf152e9995d
22 DIST intel-compute-runtime-21.40.21182.tar.gz 4678271 BLAKE2B c8f5c324af0e8ef787b287ee1e3fcacc217c3d935ce859123a217c088323f97a80293749689959be22502e7f569ad0fb917868c526dcea7905e80585e7376f53 SHA512 fdf74ae700a444ba9732938d9cdda3ba6f6baac209ca1611488b405a4ecced7cdd434a9e349af8a095b5adcd583b84294cb831ddc785520cd697a7af1ffa0437
23 DIST intel-compute-runtime-21.41.21220.tar.gz 4753783 BLAKE2B a340c2b5c1199498a68aa66c1d88367b99bc2404f35da10135030aa68462a909808fb2358dbc3d75357e00ccf30bb259a325a3d4523d862c0da358eae7528f65 SHA512 df397688423dbe0ec2e61c9a9c8b6ee1ee4451a95ef01aefcc2a0ed956e6b8273a4e9975c9aca592b51b4ce85324f5bdcd6a835f8eab40a0e715eb10000f1ceb
24 DIST intel-compute-runtime-21.42.21270.tar.gz 4761371 BLAKE2B 5dd2886e4b2a84a2247d2bb70667805531f099881431d9e8052c870d4081378cbbb43ea3f595c890f9d1930b9d054c0813da3f8b1c5509ad2090c78a4d683ed5 SHA512 f913bb116e84c0bd477578e75e10b67ef9c42bb447c2afdeefd9bb8ae291e53b019937d6e474e749a9bf98741366c8e76e5a8dcd23f8a9fac48e306e8dc9a648
25 +DIST intel-compute-runtime-21.43.21438.tar.gz 4840204 BLAKE2B 6de3075132b9a48e97e30e66c6e09dd24f51cabddf55622f2c7490d38bd1ad25e4853206a0a8a3c4c34ac3eb774e44974c47089182652ae2d234044b72d1d048 SHA512 e8f98d9c8c0a01794d57276706ec4212a3fb082c8ac04dc76ceb0e30fecbd8d35405baaa45685fd4b241e8b04a15db16aef75bf1929c81ff879af46e5be00d1e
26
27 diff --git a/dev-libs/intel-compute-runtime/intel-compute-runtime-21.43.21438.ebuild b/dev-libs/intel-compute-runtime/intel-compute-runtime-21.43.21438.ebuild
28 new file mode 100644
29 index 00000000000..aa334bc43b1
30 --- /dev/null
31 +++ b/dev-libs/intel-compute-runtime/intel-compute-runtime-21.43.21438.ebuild
32 @@ -0,0 +1,61 @@
33 +# Copyright 1999-2021 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=8
37 +
38 +inherit cmake
39 +
40 +MY_PN="${PN/intel-/}"
41 +MY_P="${MY_PN}-${PV}"
42 +
43 +DESCRIPTION="Intel Graphics Compute Runtime for oneAPI Level Zero and OpenCL Driver"
44 +HOMEPAGE="https://github.com/intel/compute-runtime"
45 +SRC_URI="https://github.com/intel/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
46 +S="${WORKDIR}/${MY_P}"
47 +
48 +LICENSE="MIT"
49 +SLOT="0"
50 +KEYWORDS="~amd64"
51 +IUSE="+l0 +vaapi"
52 +
53 +RDEPEND="
54 + dev-libs/libnl:3
55 + dev-libs/libxml2:2
56 + >=dev-util/intel-graphics-compiler-1.0.8744
57 + >=dev-util/intel-graphics-system-controller-0.2.4
58 + >=media-libs/gmmlib-21.2.1
59 + >=virtual/opencl-3
60 + l0? ( >=dev-libs/level-zero-1.5.4 )
61 + vaapi? (
62 + x11-libs/libdrm[video_cards_intel]
63 + x11-libs/libva
64 + )
65 +"
66 +
67 +# for Khronos OpenGL headers
68 +DEPEND="
69 + ${RDEPEND}
70 + media-libs/mesa
71 +"
72 +
73 +BDEPEND="virtual/pkgconfig"
74 +
75 +DOCS=( "README.md" "FAQ.md" )
76 +
77 +PATCHES=( "${FILESDIR}/${PN}-21.31.20514-no_Werror.patch" )
78 +
79 +src_configure() {
80 + local mycmakeargs=(
81 + -DBUILD_WITH_L0="$(usex l0)"
82 + -DDISABLE_LIBVA="$(usex !vaapi)"
83 + -DKHRONOS_GL_HEADERS_DIR="${ESYSROOT}/usr/include"
84 + -DOCL_ICD_VENDORDIR="${EPREFIX}/etc/OpenCL/vendors"
85 +
86 + # If enabled, tests are automatically run during
87 + # the compile phase and we cannot run them because
88 + # they require permissions to access the hardware.
89 + -DSKIP_UNIT_TESTS="ON"
90 + )
91 +
92 + cmake_src_configure
93 +}