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, 09 Apr 2022 14:55:22
Message-Id: 1649516089.957edc65a80af68b3a276c99d6a16819a939a188.conikost@gentoo
1 commit: 957edc65a80af68b3a276c99d6a16819a939a188
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 9 14:46:11 2022 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 9 14:54:49 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=957edc65
7
8 dev-libs/intel-compute-runtime: add 22.14.22890
9
10 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
11
12 dev-libs/intel-compute-runtime/Manifest | 1 +
13 .../intel-compute-runtime-22.14.22890.ebuild | 67 ++++++++++++++++++++++
14 2 files changed, 68 insertions(+)
15
16 diff --git a/dev-libs/intel-compute-runtime/Manifest b/dev-libs/intel-compute-runtime/Manifest
17 index 2681a6b7bb85..cdcc9805f808 100644
18 --- a/dev-libs/intel-compute-runtime/Manifest
19 +++ b/dev-libs/intel-compute-runtime/Manifest
20 @@ -1,3 +1,4 @@
21 DIST intel-compute-runtime-21.46.21636.tar.gz 4878855 BLAKE2B 0ada296b36567038b2abeba50c2dae6604981f00cdfc0d5d9d197c793534c887fa1d321ced34b37cf6760bdc9e2b8769cdc24fe3884036b78b983660c90b1ee7 SHA512 a63436d049737b955f0e23bbfc78684f665f3d1a668120e803165839792144154f3f42a52c6533611711592ba6e41408d81196a61e318746b1dae1392d1d29ac
22 DIST intel-compute-runtime-22.12.22749.tar.gz 5234659 BLAKE2B 162c4781561a131af51779108817d2a39ea9676e3772a776603c1e7670b03eddd800593a6e9d77d852476b2401582f3ff87c8b9582b5fa0769ab5ec48be6ba70 SHA512 16e4c76a38284d4e1470977845d338dc05195351ac53d63528e93f1990b81d03a8f1a31c53c665fb8e19b5dc9f4ce38ff392ee1158769780de7a7cb83b2b361b
23 DIST intel-compute-runtime-22.13.22789.tar.gz 5252140 BLAKE2B 81fe85e75b1f6257771950dd2716e48f8db61dbe62f747c13ed00be7385c9e6a2f2cd2a5d50cf4253962d13bd1fdb4449a5e646fe3a8b10af228f746b9880210 SHA512 e4d22d8f73463300424b2df9a9634f0b5ac341131de33e57d46ffd52ce0b3fbdbf62cf591876d2143ca14caeba42ec95f5aef201eb9895e5d36b2279b15e661c
24 +DIST intel-compute-runtime-22.14.22890.tar.gz 5290076 BLAKE2B 9a6ec8ed142a183d270006726d34492adea989bc2db9eff53046f4c247f7d5089e4cbb6448513b54eeaf7079f990f9a3b6d31cca53459bc2fcd1ced5d2b1bea1 SHA512 78c195832a0f55ff0bf64519234a5f70f1459263000804db1cc73a72c4c07e12c540a9fa0a574bf382713deb132be50b6e6eb7b4abfd264f707889bf02fc1af7
25
26 diff --git a/dev-libs/intel-compute-runtime/intel-compute-runtime-22.14.22890.ebuild b/dev-libs/intel-compute-runtime/intel-compute-runtime-22.14.22890.ebuild
27 new file mode 100644
28 index 000000000000..a58424820a2a
29 --- /dev/null
30 +++ b/dev-libs/intel-compute-runtime/intel-compute-runtime-22.14.22890.ebuild
31 @@ -0,0 +1,67 @@
32 +# Copyright 1999-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +CMAKE_BUILD_TYPE="Release"
38 +MY_PN="${PN/intel-/}"
39 +MY_P="${MY_PN}-${PV}"
40 +
41 +inherit cmake
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=">=media-libs/gmmlib-22.0.2:="
54 +
55 +DEPEND="
56 + ${DEPEND}
57 + dev-libs/intel-metrics-library
58 + dev-libs/libnl:3
59 + dev-libs/libxml2:2
60 + >=dev-util/intel-graphics-compiler-1.0.10713
61 + >=dev-util/intel-graphics-system-controller-0.2.4
62 + media-libs/mesa
63 + >=virtual/opencl-3
64 + l0? ( >=dev-libs/level-zero-1.7.15 )
65 + vaapi? (
66 + x11-libs/libdrm[video_cards_intel]
67 + x11-libs/libva
68 + )
69 +"
70 +
71 +BDEPEND="virtual/pkgconfig"
72 +
73 +DOCS=( "README.md" "FAQ.md" )
74 +
75 +src_configure() {
76 + local mycmakeargs=(
77 + -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr"
78 + -DCMAKE_INSTALL_LIBDIR="$(get_libdir)"
79 + -DBUILD_WITH_L0="$(usex l0)"
80 + -DDISABLE_LIBVA="$(usex !vaapi)"
81 + -DNEO__METRICS_LIBRARY_INCLUDE_DIR="${ESYSROOT}/usr/include"
82 + -DKHRONOS_GL_HEADERS_DIR="${ESYSROOT}/usr/include"
83 + -DOCL_ICD_VENDORDIR="${EPREFIX}/etc/OpenCL/vendors"
84 + -DSUPPORT_DG1="ON"
85 +
86 + # See https://github.com/intel/intel-graphics-compiler/issues/204
87 + -DNEO_DISABLE_BUILTINS_COMPILATION="ON"
88 +
89 + # If enabled, tests are automatically run during
90 + # the compile phase and we cannot run them because
91 + # they require permissions to access the hardware.
92 + -DSKIP_UNIT_TESTS="1"
93 +
94 + -Wno-dev
95 + )
96 +
97 + cmake_src_configure
98 +}