dev-libs/intel-compute-runtime: add 26.27.39122.12

Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
Conrad Kostecki
2026-07-16 23:06:01 +02:00
parent 5ef87ebbef
commit 4e6a7d85d5
2 changed files with 88 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
DIST intel-compute-runtime-24.35.30872.32.tar.gz 7376572 BLAKE2B af924c111d288621ddcb14b9d77ff384c632668705e4858ed27424522b6c96e1e7b54012b202c6ade64da668681f3089d0a35d64ecb97ddec642ace8774b3e47 SHA512 2ac8dbefcc1a86b33afd78b8a1d30a959fb980e47402852514d43503df87ea70ea35f192243b78faedce749b3087f244631080f16ddb099a93ec79698176f6b5
DIST intel-compute-runtime-24.35.30872.36.tar.gz 7377285 BLAKE2B 3c80f0dd7d4853476a8c60e51853c84cbc85827f70e93b45555376c7854b9b10195aa0606e42410c0ce496aad65cf2c6eae7dd757a703d07c7b39b08c75f72bd SHA512 271507bbccc66a52747314b05944726e9b46d544b044d72feea698fc566b8396a1182a113469c0421586af236bc2878a1e6ef494abe6c1f46b467e88e8d3cd6b
DIST intel-compute-runtime-26.22.38646.4.tar.gz 9173397 BLAKE2B aa234d0d244f300db1bd4244674f1a89c62c2c4691fa68cee2971f2fdab3bed872e2929d93be6e4227c05c7e3f672de66c6179d030138d370dc7a168c9fd115b SHA512 16bacf6b030bcc292bee16f964936bcb13ef6e3f12e76aa4cdee807dd1a3b9b32dca49a0cb3cc59e62b616a1662389db4505e6b05edaef10c9ca67a73bbc77d1
DIST intel-compute-runtime-26.27.39122.12.tar.gz 9384549 BLAKE2B b929ac2d1d0a7d064500b7d78dcb008a441d07e9348d25798d6fc319cf62a39050910be93f5ea1516c44b36dcd7fbb922304d7dacab02c4c35a5e616840655b5 SHA512 df75b82dba99852a71497fe99b0e974454a1aa9b96623f54efd978d10cb51513aef4d94d774ff5f2ee3c266a7dc4cd90efd0e9b1b9bd1164d9b0b9d1879f30a6

View File

@@ -0,0 +1,87 @@
# Copyright 1999-2026 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/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MY_P}"
LICENSE="MIT"
SLOT="0/1.6.$(ver_cut 3)"
KEYWORDS="~amd64"
IUSE="disable-mitigations +l0 +vaapi"
RDEPEND="
!dev-libs/intel-compute-runtime:legacy
>=dev-util/intel-graphics-compiler-2.37.1:0
!dev-util/intel-graphics-compiler:legacy
>=media-libs/gmmlib-22.10.0:=
"
DEPEND="
${RDEPEND}
dev-libs/intel-metrics-discovery:=
>=dev-libs/intel-metrics-library-1.0.231:=
dev-libs/libnl:3
dev-libs/libxml2:2
>=dev-util/intel-graphics-system-controller-1.3.0:=
media-libs/mesa
>=virtual/opencl-3
l0? ( >=dev-libs/level-zero-1.32.0:= )
vaapi? (
x11-libs/libdrm[video_cards_intel]
media-libs/libva
)
"
BDEPEND="virtual/pkgconfig"
DOCS=( "README.md" "Security.md" )
src_prepare() {
# Remove '-Werror' from default
sed -e '/Werror/d' -i CMakeLists.txt || die
cmake_src_prepare
}
src_configure() {
# Filtered for two reasons:
# 1) https://github.com/intel/compute-runtime/issues/528
# 2) bug #930199
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_ALLOW_LEGACY_PLATFORMS_SUPPORT="ON"
-DNEO_DISABLE_LTO="ON"
-DNEO_DISABLE_MITIGATIONS="$(usex disable-mitigations)"
-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
}