mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-22 16:29:05 -07:00
dev-libs/level-zero: add 1.30.0
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST level-zero-1.28.6.tar.gz 1753319 BLAKE2B f6e97a591ac22ffe51ce2c8ec8fc9f62a9f067cd85b78e24117e6c1a50a71b3c23aee8cd3a59bc2497a15b3bc9131763b38026dfe61f2ba2f525f23b786280c7 SHA512 ada1978dc80d0e1441fe41faf5cd2ac0bd6ab8dbb4f30745f1686c5c42b425dc47bd7991c6754cb50a52dadb7211245358544157be909a3c968b9e94011c8a2f
|
||||
DIST level-zero-1.30.0.tar.gz 1669762 BLAKE2B 141ac08ccb66e483576d2dabf3b574e348a9914e586b34048cb28b1e4215e6d11d48cd450292f45c2592e878e87b557d4fa462877dcc21de4a72793bcb7ec915 SHA512 40eaf2a6d6556aff76f8b85429504bf71d4361aae8b46131ae413e90e406bcf7694b6baad6e972e28428b7e17eeaa2e4b52adf117407c86ab48aa19f05432dd9
|
||||
|
||||
36
dev-libs/level-zero/level-zero-1.30.0.ebuild
Normal file
36
dev-libs/level-zero/level-zero-1.30.0.ebuild
Normal file
@@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="oneAPI Level Zero headers, loader and validation layer"
|
||||
HOMEPAGE="https://github.com/oneapi-src/level-zero"
|
||||
SRC_URI="https://github.com/oneapi-src/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="dev-libs/spdlog:="
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
# Don't hardcore -Werror
|
||||
sed -e 's/-Werror//g' -e '/CMAKE_COMPILE_WARNING_AS_ERROR/ s/ON/OFF/' -i CMakeLists.txt || die
|
||||
|
||||
cmake_src_prepare
|
||||
|
||||
# According to upstream, release tarballs should contain this file but at least
|
||||
# some of them do not. Fortunately it is trivial to make one ourselves.
|
||||
echo "$(ver_cut 3)" > "${S}"/VERSION_PATCH || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DSYSTEM_SPDLOG="ON"
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
Reference in New Issue
Block a user