1 |
commit: 5da9838ed910d17e4a173bcc3b3ce397b48c05ef |
2 |
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 27 22:07:53 2022 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 27 22:33:44 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5da9838e |
7 |
|
8 |
dev-libs/intel-compute-runtime: add 22.21.23269 |
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.21.23269.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 97f366944ca9..d2a1e28a869b 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.17.23034.tar.gz 5345890 BLAKE2B 0cd4b9c117978c9127 |
21 |
DIST intel-compute-runtime-22.18.23063.tar.gz 5355944 BLAKE2B ee4d79370c10f2aa1fcd0209a1403a89da1ff5a21dd8b39fb40ac33416b1adaef08713382ee89ad88e64b74d5edcb02e3877898e2301b5454a14b8910ebde009 SHA512 a94a3a7c331ea8bb059740ffaec6e139c17216be23c86cc9e880d247ff12dcb93357ee90b9863b9ddcea59dc1a3d377b32600675a145c29f12c810c13a9e3a61 |
22 |
DIST intel-compute-runtime-22.19.23136.tar.gz 5390779 BLAKE2B 376f355802d20ba76f485dcd174bb7dd0fa128495be37718b7eda3a3a2ef34086ef9060911f52866c1d1a4fd13f59115d511b5c6b327ce574ae494506085a91d SHA512 dc0c2f150b06c2a41a0d20c1ebcf38254d7ff976eef4340bcc3d47eab8e2ec0e36d8cc871b97ca4d8b304be53b0aced6b2a6fb66da7e58b0352297e7f28b81bf |
23 |
DIST intel-compute-runtime-22.20.23198.tar.gz 5453705 BLAKE2B 85e3ed926522db44c3464da23c6888effc9fbcfb51e9d644cf12e97335f7a14139040ae09ab99ab9e5b2ef27d4f9a9c23e68ee35378c85279b7c800426a2c829 SHA512 85bf87a6c4d387bea4cd75b6e59e7d47ccfee153a50059209644cecd912d2b52c62b398f004148e1dddc1bac069b19bdacafd355499d3b47c157d0a4a7b2d70b |
24 |
+DIST intel-compute-runtime-22.21.23269.tar.gz 5475347 BLAKE2B dbac36c1720ee2a2475b64c3b61d144501fa4031ceb0eb69a3313cb78b5588926d029ad1916e2229fb8dea8d3450936da5b4e25b47814c854b05ec0bdb940943 SHA512 9ae38956dbff9764d85b5447cc03f7616319de463ddbf0dc5d4c8e8f8869f197b6045e446c81a902d8a5e7681e05cb5ac63e345b6bdcb74366b83619c52eb012 |
25 |
|
26 |
diff --git a/dev-libs/intel-compute-runtime/intel-compute-runtime-22.21.23269.ebuild b/dev-libs/intel-compute-runtime/intel-compute-runtime-22.21.23269.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..bdc8a84baf08 |
29 |
--- /dev/null |
30 |
+++ b/dev-libs/intel-compute-runtime/intel-compute-runtime-22.21.23269.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 |
+} |