summaryrefslogtreecommitdiff
path: root/dev-libs/intel-compute-runtime
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-04-03 23:21:12 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-04-03 23:21:12 +0100
commit979898cb45139dd0e6727a01df15b602f74a8dd3 (patch)
tree6c18ca0165dc1a0477e0c9c9253c98f03f26da67 /dev-libs/intel-compute-runtime
parent09f46eb2a6639c039b0b4268a8410d93bbf14e9e (diff)
gentoo auto-resync : 03:04:2023 - 23:21:12
Diffstat (limited to 'dev-libs/intel-compute-runtime')
-rw-r--r--dev-libs/intel-compute-runtime/Manifest2
-rw-r--r--dev-libs/intel-compute-runtime/intel-compute-runtime-23.05.25593.18.ebuild81
2 files changed, 83 insertions, 0 deletions
diff --git a/dev-libs/intel-compute-runtime/Manifest b/dev-libs/intel-compute-runtime/Manifest
index 60a3979dbd75..fb735a7086a2 100644
--- a/dev-libs/intel-compute-runtime/Manifest
+++ b/dev-libs/intel-compute-runtime/Manifest
@@ -2,6 +2,8 @@ AUX intel-compute-runtime-22.24.23453-remove-fortify-sources.patch 1078 BLAKE2B
AUX intel-compute-runtime-22.49.25018.24-level-zero-1.9.patch 1270 BLAKE2B c9de2d20620757a66d6c37472acb40514f60656feab7697d9d68836add67c3761a9372b47f4933c2e9017f9d666f87354f62d42c772ab22968d2bf3762d71b80 SHA512 d729d2cb3974733f358429ef1057cfff83facd23fe3fa8494ed2047a6effaafb45b50c66bf3de73d334a647014249d6f4f0f9842daf535392c0f9f7e2321d472
DIST intel-compute-runtime-22.53.25242.13.tar.gz 6084532 BLAKE2B a32adbe173ae49f5ac45968319475a7c23590ffd138a09ebb4f899971cdbabe0bccd1919364e7518f9a15cd9123274272929d7f5fc2053287376ded621c105c0 SHA512 48a69ec8c7f5f7a713c4389af167c11aaf780506950fee4e5ab47b6cc9f80bf6de3408d3dfca3d6141067a6d6ce76a1c6a3a9ba1caaa11c70b216ef2dfe7a07f
DIST intel-compute-runtime-23.05.25593.11.tar.gz 6181361 BLAKE2B 4cab9f759bbcb10dd91776648d1e300f752f49f0ffcacfacf2519648b7c02b3dde1f04c4c6104896baf24cafcc9382406cd931e224f5a656718ec10629c74f80 SHA512 5bfef689dbb7c7ed2b500c4b040eed4ac43c5a5f418fb94125db51193d4269379fb1b2cd8c95e53a2e4024c3415455f2dd7a07e79b4bf84c27b29150c328627a
+DIST intel-compute-runtime-23.05.25593.18.tar.gz 6182150 BLAKE2B 81dcceb6d13e3dfbf5fb811faf406617dba7f83d908b94806b76df115b70a3906d8786ea8aaa1b92e963a0c97e843d13e10d7c4fd66885d309ce910c7ed18d56 SHA512 f249e51f78faee84e3bd253f1ea39fe06337939f54612f0f645e0e57319abe8449e1822291dbf1760e3805a60bdaad36c59df523859a5d879d39024138bc0907
EBUILD intel-compute-runtime-22.53.25242.13.ebuild 2029 BLAKE2B 5d74fa966da1d90079b749f4ff55b3903778622645e1dc2f5cd8a2fcc9bac9ee66553c1fafb24258367b5325949004550af301998afe5ed1886aeae67b28f040 SHA512 a05058a6f2398bb011a10dacf6df8bf5dd1538cb5977b552c27b757dcf4d143a17e7d44abf519f3740014e82ba360b3634262ce6406e15483a1a4de76071d64f
EBUILD intel-compute-runtime-23.05.25593.11.ebuild 1973 BLAKE2B e0af9386da9bfb53ea66d3316f3efc3a8eab9b9f723ce072048631597fa880a97da93e1bc5df3f3a4a5e5677e1b771f6a29602d74ec5fa3d7c9372bf58b9d4fd SHA512 f423e4bdeee5272cd123448901ee62ac40bbb19a97783a50a4288ba25c838908002dd3df4fd42a5e7202608f5e346a4dbb602ae013b59342c543cd26bc507c90
+EBUILD intel-compute-runtime-23.05.25593.18.ebuild 1973 BLAKE2B e0af9386da9bfb53ea66d3316f3efc3a8eab9b9f723ce072048631597fa880a97da93e1bc5df3f3a4a5e5677e1b771f6a29602d74ec5fa3d7c9372bf58b9d4fd SHA512 f423e4bdeee5272cd123448901ee62ac40bbb19a97783a50a4288ba25c838908002dd3df4fd42a5e7202608f5e346a4dbb602ae013b59342c543cd26bc507c90
MISC metadata.xml 1429 BLAKE2B 6c2fde2fda8cd6b9d707c400c5b4d38e3d74dd73617faa9dd80f84100d499182ea959e695a473d32307914e76a26bae531a92677f0e4bedbdf05fc1cbd3095ff SHA512 ac61568ad36df6f6c8470b43f32d048930e4a569ec86d58ff563a86ae748f6bddb8700de487e4967da4998160f1c01517be0817cccc445a821984aff36617b6d
diff --git a/dev-libs/intel-compute-runtime/intel-compute-runtime-23.05.25593.18.ebuild b/dev-libs/intel-compute-runtime/intel-compute-runtime-23.05.25593.18.ebuild
new file mode 100644
index 000000000000..745b0dcf530b
--- /dev/null
+++ b/dev-libs/intel-compute-runtime/intel-compute-runtime-23.05.25593.18.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CMAKE_BUILD_TYPE="Release"
+MY_PN="${PN/intel-/}"
+MY_P="${MY_PN}-${PV}"
+
+inherit cmake flag-o-matic
+
+DESCRIPTION="Intel Graphics Compute Runtime for oneAPI Level Zero and OpenCL Driver"
+HOMEPAGE="https://github.com/intel/compute-runtime"
+SRC_URI="https://github.com/intel/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+l0 +vaapi"
+
+RDEPEND=">=media-libs/gmmlib-22.1.7:="
+
+DEPEND="
+ ${DEPEND}
+ >=dev-libs/intel-metrics-library-0_pre20220930:=
+ dev-libs/libnl:3
+ dev-libs/libxml2:2
+ >=dev-util/intel-graphics-compiler-1.0.12812.26
+ >=dev-util/intel-graphics-system-controller-0.8.7:=
+ media-libs/mesa
+ >=virtual/opencl-3
+ l0? ( >=dev-libs/level-zero-1.9.4:= )
+ vaapi? (
+ x11-libs/libdrm[video_cards_intel]
+ media-libs/libva
+ )
+"
+
+BDEPEND="virtual/pkgconfig"
+
+DOCS=( "README.md" "FAQ.md" )
+
+PATCHES=(
+ "${FILESDIR}/${PN}-22.24.23453-remove-fortify-sources.patch"
+)
+
+src_prepare() {
+ # Remove '-Werror' from default
+ sed -e '/Werror/d' -i CMakeLists.txt || die
+
+ cmake_src_prepare
+}
+
+src_configure() {
+ # See https://github.com/intel/compute-runtime/issues/531
+ filter-lto
+
+ local mycmakeargs=(
+ -DCCACHE_ALLOWED="OFF"
+ -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr"
+ -DCMAKE_INSTALL_LIBDIR="$(get_libdir)"
+ -DBUILD_WITH_L0="$(usex l0)"
+ -DDISABLE_LIBVA="$(usex !vaapi)"
+ -DNEO__METRICS_LIBRARY_INCLUDE_DIR="${ESYSROOT}/usr/include"
+ -DKHRONOS_GL_HEADERS_DIR="${ESYSROOT}/usr/include"
+ -DOCL_ICD_VENDORDIR="${EPREFIX}/etc/OpenCL/vendors"
+ -DSUPPORT_DG1="ON"
+ -Wno-dev
+
+ # See https://github.com/intel/intel-graphics-compiler/issues/204
+ # -DNEO_DISABLE_BUILTINS_COMPILATION="ON"
+
+ # If enabled, tests are automatically run during
+ # the compile phase and we cannot run them because
+ # they require permissions to access the hardware.
+ -DSKIP_UNIT_TESTS="1"
+ )
+
+ cmake_src_configure
+}