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: Sun, 05 Dec 2021 21:45:57
Message-Id: 1638740704.d6fb588acbe0bc5b3e3cccb0f389b9476b77ec9a.conikost@gentoo
1 commit: d6fb588acbe0bc5b3e3cccb0f389b9476b77ec9a
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 5 19:49:30 2021 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 5 21:45:04 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6fb588a
7
8 dev-libs/intel-compute-runtime: add 21.48.21782
9
10 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
11
12 dev-libs/intel-compute-runtime/Manifest | 1 +
13 .../intel-compute-runtime-21.48.21782.ebuild | 61 ++++++++++++++++++++++
14 2 files changed, 62 insertions(+)
15
16 diff --git a/dev-libs/intel-compute-runtime/Manifest b/dev-libs/intel-compute-runtime/Manifest
17 index 867445afa321..f8b0ab23725f 100644
18 --- a/dev-libs/intel-compute-runtime/Manifest
19 +++ b/dev-libs/intel-compute-runtime/Manifest
20 @@ -2,3 +2,4 @@ DIST intel-compute-runtime-21.44.21506.tar.gz 4851449 BLAKE2B beb49e8bbbfab098bb
21 DIST intel-compute-runtime-21.45.21574.tar.gz 4868091 BLAKE2B 48ff1ba42e5fe5eb231ec82bb7b33d0bb96460fc5adbfcb4702b68397d58b1b88f2a4e5a2dbef462731d43c284439cc4626ebf308d9dcfc509ccb68cea63eb19 SHA512 ede4ca4772ec6518592557d4c49d0a25204773607ae6737a35d20a3abb73ebbe66d01139baba544d5292d848a05a166a2c5ca1712408f85ce6be840bcf104650
22 DIST intel-compute-runtime-21.46.21636.tar.gz 4878855 BLAKE2B 0ada296b36567038b2abeba50c2dae6604981f00cdfc0d5d9d197c793534c887fa1d321ced34b37cf6760bdc9e2b8769cdc24fe3884036b78b983660c90b1ee7 SHA512 a63436d049737b955f0e23bbfc78684f665f3d1a668120e803165839792144154f3f42a52c6533611711592ba6e41408d81196a61e318746b1dae1392d1d29ac
23 DIST intel-compute-runtime-21.47.21710.tar.gz 4894551 BLAKE2B 446d9b89a1823f7ce83638010e5285fe8d42018347ded266fd6a091cd0815583ff3ebd0e762a4a8c9c83f6a053c6fe7fecff2a127124c584ad211d58b4932992 SHA512 ce983d09ca87daea8be75e284766aea49262f749017a485ec3b2eb8c14dbeb91b1aeea012178798aa1d90151cfd77f5ce2b44b15a84ea66b5c7573f667a5b3c8
24 +DIST intel-compute-runtime-21.48.21782.tar.gz 4939993 BLAKE2B 591b59523cf7d51b75b69fa0fcdd10931a22f5d236ea279ce764a240d43ca484441f9a97c06f0cf928434da364ac81613719c76a5ad75b5a21828d85c91d663b SHA512 18e6365d3292293bd904ed727d6038c25e806b50b10958fb87c2e90992e3b205d89570dcc4d9d54bdfe98d265dbfbffa930f6db68bc37f228f909e29ce7c3c91
25
26 diff --git a/dev-libs/intel-compute-runtime/intel-compute-runtime-21.48.21782.ebuild b/dev-libs/intel-compute-runtime/intel-compute-runtime-21.48.21782.ebuild
27 new file mode 100644
28 index 000000000000..93ce17f13ec3
29 --- /dev/null
30 +++ b/dev-libs/intel-compute-runtime/intel-compute-runtime-21.48.21782.ebuild
31 @@ -0,0 +1,61 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +inherit cmake
38 +
39 +MY_PN="${PN/intel-/}"
40 +MY_P="${MY_PN}-${PV}"
41 +
42 +DESCRIPTION="Intel Graphics Compute Runtime for oneAPI Level Zero and OpenCL Driver"
43 +HOMEPAGE="https://github.com/intel/compute-runtime"
44 +SRC_URI="https://github.com/intel/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
45 +S="${WORKDIR}/${MY_P}"
46 +
47 +LICENSE="MIT"
48 +SLOT="0"
49 +KEYWORDS="~amd64"
50 +IUSE="+l0 +vaapi"
51 +
52 +RDEPEND="
53 + dev-libs/libnl:3
54 + dev-libs/libxml2:2
55 + >=dev-util/intel-graphics-compiler-1.0.9389
56 + >=dev-util/intel-graphics-system-controller-0.2.4
57 + >=media-libs/gmmlib-21.2.1
58 + >=virtual/opencl-3
59 + l0? ( >=dev-libs/level-zero-1.6.2 )
60 + vaapi? (
61 + x11-libs/libdrm[video_cards_intel]
62 + x11-libs/libva
63 + )
64 +"
65 +
66 +# for Khronos OpenGL headers
67 +DEPEND="
68 + ${RDEPEND}
69 + media-libs/mesa
70 +"
71 +
72 +BDEPEND="virtual/pkgconfig"
73 +
74 +DOCS=( "README.md" "FAQ.md" )
75 +
76 +PATCHES=( "${FILESDIR}/${PN}-21.31.20514-no_Werror.patch" )
77 +
78 +src_configure() {
79 + local mycmakeargs=(
80 + -DBUILD_WITH_L0="$(usex l0)"
81 + -DDISABLE_LIBVA="$(usex !vaapi)"
82 + -DKHRONOS_GL_HEADERS_DIR="${ESYSROOT}/usr/include"
83 + -DOCL_ICD_VENDORDIR="${EPREFIX}/etc/OpenCL/vendors"
84 +
85 + # If enabled, tests are automatically run during
86 + # the compile phase and we cannot run them because
87 + # they require permissions to access the hardware.
88 + -DSKIP_UNIT_TESTS="ON"
89 + )
90 +
91 + cmake_src_configure
92 +}