1 |
commit: 60b45e63c730b5eee5e61c31050b2716e9ddcb36 |
2 |
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jun 27 19:43:19 2022 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jun 27 19:44:15 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60b45e63 |
7 |
|
8 |
dev-libs/intel-compute-runtime: add 22.25.23529 |
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.25.23529.ebuild | 79 ++++++++++++++++++++++ |
14 |
2 files changed, 80 insertions(+) |
15 |
|
16 |
diff --git a/dev-libs/intel-compute-runtime/Manifest b/dev-libs/intel-compute-runtime/Manifest |
17 |
index f9ef7d1cd68d..bd94a968c7aa 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-22.21.23269.tar.gz 5475347 BLAKE2B dbac36c1720ee2a247 |
21 |
DIST intel-compute-runtime-22.22.23355.tar.gz 5498680 BLAKE2B 81368ca9a5151305a5eb656ecca6a8d51129df2f567631d72fc5965c66b367e843bcf7b89a201702aa78e430d60e706079eba48a11cfd2b6a82e7a34d7ac5789 SHA512 72813ebd5de38d31f9ceb8087c38337d1bd0bb35256b86f3f3d7f3adc5ebe73b3cdc04bf653a522e25098b38c3b867f62fc3590eedf17e11d2fc03c2aa2b22e2 |
22 |
DIST intel-compute-runtime-22.23.23405.tar.gz 5515173 BLAKE2B eafb5a4ed8a221bc5290576a137f371f2f9d3cebbe1e689f3d1ce41f9430a5242d82ae78799f523f29685c3a731570e4a6766f804faa0f6bb7bae365cb5d6573 SHA512 38ffadd9130717acb0e8d6492b2bb4d8d5c962b151784a92c85d6249cbab1014dcd418bf5110eccc1640334c1ab0d171b7028d2f0d95d606733b42a319bf2f0b |
23 |
DIST intel-compute-runtime-22.24.23453.tar.gz 5521386 BLAKE2B c025539c0d2a0ac492ddc5893c0d077523bbc0c0e1dcdb3d086ff381b36f26d0a7b24aecb0ba04e915e443eafecbaf171ef54fc0c455e57b0ae622ef164f4056 SHA512 fb57348ef4cad48b7d09bf8db64a874a63bdbbd586323c25b7c9cf7461bfd62c1cd061c4b989c52466e5d364fde9dec2335bf7e244baadd573888ba904ba867c |
24 |
+DIST intel-compute-runtime-22.25.23529.tar.gz 5542277 BLAKE2B da718987fd3f3239b6cfc60914f02cc67b7174cb92f3a12e5d8f78b39631892b1c69368eb89590c3a7dfc9e930eb8254ec33c43028073cffac06bd3f718164bb SHA512 5ad80357a27cba76b95099ce5a0edc5271d7328769d6e84039fa94f94be99f02cf4890ee05702db18e28beba6fadea46aa2f0eb236ed8c27cb95bee075f2f6d6 |
25 |
|
26 |
diff --git a/dev-libs/intel-compute-runtime/intel-compute-runtime-22.25.23529.ebuild b/dev-libs/intel-compute-runtime/intel-compute-runtime-22.25.23529.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..bdc8a84baf08 |
29 |
--- /dev/null |
30 |
+++ b/dev-libs/intel-compute-runtime/intel-compute-runtime-22.25.23529.ebuild |
31 |
@@ -0,0 +1,79 @@ |
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_prepare() { |
76 |
+ default |
77 |
+ |
78 |
+ # Remove '-Werror' from default |
79 |
+ set -e '/Werror/d' -i CMakeLists.txt || die |
80 |
+ |
81 |
+ cmake_src_prepare |
82 |
+} |
83 |
+ |
84 |
+src_configure() { |
85 |
+ # See https://github.com/intel/compute-runtime/issues/531 |
86 |
+ filter-flags -flto=* -flto |
87 |
+ |
88 |
+ local mycmakeargs=( |
89 |
+ -DCCACHE_ALLOWED="OFF" |
90 |
+ -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr" |
91 |
+ -DCMAKE_INSTALL_LIBDIR="$(get_libdir)" |
92 |
+ -DBUILD_WITH_L0="$(usex l0)" |
93 |
+ -DDISABLE_LIBVA="$(usex !vaapi)" |
94 |
+ -DNEO__METRICS_LIBRARY_INCLUDE_DIR="${ESYSROOT}/usr/include" |
95 |
+ -DKHRONOS_GL_HEADERS_DIR="${ESYSROOT}/usr/include" |
96 |
+ -DOCL_ICD_VENDORDIR="${EPREFIX}/etc/OpenCL/vendors" |
97 |
+ -DSUPPORT_DG1="ON" |
98 |
+ -Wno-dev |
99 |
+ |
100 |
+ # See https://github.com/intel/intel-graphics-compiler/issues/204 |
101 |
+ # -DNEO_DISABLE_BUILTINS_COMPILATION="ON" |
102 |
+ |
103 |
+ # If enabled, tests are automatically run during |
104 |
+ # the compile phase and we cannot run them because |
105 |
+ # they require permissions to access the hardware. |
106 |
+ -DSKIP_UNIT_TESTS="1" |
107 |
+ ) |
108 |
+ |
109 |
+ cmake_src_configure |
110 |
+} |