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