1 |
commit: 67cc4b16dafcb094962e9bbe202a234f705a4a4a |
2 |
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Apr 29 20:25:08 2022 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 29 20:59:02 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67cc4b16 |
7 |
|
8 |
dev-libs/intel-compute-runtime: add 22.17.23034 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/841599 |
11 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
12 |
|
13 |
dev-libs/intel-compute-runtime/Manifest | 1 + |
14 |
.../intel-compute-runtime-22.17.23034.ebuild | 70 ++++++++++++++++++++++ |
15 |
2 files changed, 71 insertions(+) |
16 |
|
17 |
diff --git a/dev-libs/intel-compute-runtime/Manifest b/dev-libs/intel-compute-runtime/Manifest |
18 |
index 62f08932795d..238c3a89948a 100644 |
19 |
--- a/dev-libs/intel-compute-runtime/Manifest |
20 |
+++ b/dev-libs/intel-compute-runtime/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST intel-compute-runtime-22.13.22789.tar.gz 5252140 BLAKE2B 81fe85e75b1f6257771950dd2716e48f8db61dbe62f747c13ed00be7385c9e6a2f2cd2a5d50cf4253962d13bd1fdb4449a5e646fe3a8b10af228f746b9880210 SHA512 e4d22d8f73463300424b2df9a9634f0b5ac341131de33e57d46ffd52ce0b3fbdbf62cf591876d2143ca14caeba42ec95f5aef201eb9895e5d36b2279b15e661c |
23 |
DIST intel-compute-runtime-22.16.22992.tar.gz 5334525 BLAKE2B e2fd74084cddc8163eff46cf267c33206c240b8e7c513d2408dabcc0290182fcb5ce7a8909dca93cbb6fd95c2130448498845602590ff59487508b7adcb2bd65 SHA512 7a133a97f437dfe62559097e41583db60e54af6937cfcb3613f4c54340919a0ee0136cfcea1fb6005341021a9bb139c40be8d237afa2a246accd0af1a20dd297 |
24 |
+DIST intel-compute-runtime-22.17.23034.tar.gz 5345890 BLAKE2B 0cd4b9c117978c9127ff1b9e985ab097e672b228a0bba39ad868881af94e821683afb45f394951776f0ecb725872a4624b35be50e2022fec06b1d77d58227fc9 SHA512 d34a63263f073c8fe6d61f105b753468d856de965b605c54ae4e8931bcb81293378f501b796cf84938857f7e08288f4650299cd76d56483f552846fc4b93b2b9 |
25 |
|
26 |
diff --git a/dev-libs/intel-compute-runtime/intel-compute-runtime-22.17.23034.ebuild b/dev-libs/intel-compute-runtime/intel-compute-runtime-22.17.23034.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..ff30036f8e54 |
29 |
--- /dev/null |
30 |
+++ b/dev-libs/intel-compute-runtime/intel-compute-runtime-22.17.23034.ebuild |
31 |
@@ -0,0 +1,70 @@ |
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 flag-o-matic |
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.11061-r1 |
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 |
+ # See https://github.com/intel/compute-runtime/issues/531 |
77 |
+ filter-flags -flto=* -flto |
78 |
+ |
79 |
+ local mycmakeargs=( |
80 |
+ -DCCACHE_ALLOWED="OFF" |
81 |
+ -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr" |
82 |
+ -DCMAKE_INSTALL_LIBDIR="$(get_libdir)" |
83 |
+ -DBUILD_WITH_L0="$(usex l0)" |
84 |
+ -DDISABLE_LIBVA="$(usex !vaapi)" |
85 |
+ -DNEO__METRICS_LIBRARY_INCLUDE_DIR="${ESYSROOT}/usr/include" |
86 |
+ -DKHRONOS_GL_HEADERS_DIR="${ESYSROOT}/usr/include" |
87 |
+ -DOCL_ICD_VENDORDIR="${EPREFIX}/etc/OpenCL/vendors" |
88 |
+ -DSUPPORT_DG1="ON" |
89 |
+ -Wno-dev |
90 |
+ |
91 |
+ # See https://github.com/intel/intel-graphics-compiler/issues/204 |
92 |
+ # -DNEO_DISABLE_BUILTINS_COMPILATION="ON" |
93 |
+ |
94 |
+ # If enabled, tests are automatically run during |
95 |
+ # the compile phase and we cannot run them because |
96 |
+ # they require permissions to access the hardware. |
97 |
+ -DSKIP_UNIT_TESTS="1" |
98 |
+ ) |
99 |
+ |
100 |
+ cmake_src_configure |
101 |
+} |