summaryrefslogtreecommitdiff
path: root/dev-util/spirv-tools
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/spirv-tools')
-rw-r--r--dev-util/spirv-tools/Manifest2
-rw-r--r--dev-util/spirv-tools/spirv-tools-1.3.296.0.ebuild42
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-util/spirv-tools/Manifest b/dev-util/spirv-tools/Manifest
index 55c7896aac77..2ce3d1f4e5ae 100644
--- a/dev-util/spirv-tools/Manifest
+++ b/dev-util/spirv-tools/Manifest
@@ -1,4 +1,6 @@
DIST spirv-tools-1.3.290.0.tar.gz 3170780 BLAKE2B 37609534f77e411ffb90e2904e847b2baec80332b5f3d3d3fb6950d835f9526fb95778d4c903574cf8be142370a69cace50d2e69d41e2eccf5f74a764464c148 SHA512 d4e8440c0843fb084dde4a576b95442783ab8204670b199798bd87f754d77f3c258bb69ab1d4dd7859c1d2c681ed8813309c76c6f70b5a7d8d21b6a48ef63b67
+DIST spirv-tools-1.3.296.0.tar.gz 3195963 BLAKE2B ea20efe36090a0e8d46c2fab0c6d08b4f5dc02dce176b88331cbddd8a8bc2fe507abb07e98bcdd15295a311480366d83837e3de2f7d175013b1518682e88b5a4 SHA512 62f0a6034bd016aedfb8975bbd3bb134ef928bd6bafbb61d9f73c46760019597b9841b80243c86e5e5e0576824cd20255067e447590eb0d2d51593439152215e
EBUILD spirv-tools-1.3.290.0.ebuild 1147 BLAKE2B c2204a99fcd4bf40da0f0386e32faf2393df4586e83e0db848a099f1dacb052538da626dd6457c1765a7379314879d16d437a46f3540fbc6e38f6d87f970a50f SHA512 e258bb7ae9a89b7d0ddb984f13ce244238e36c2dd0a480cc19980b0c5d15cabf0e67c9b895c40def8c985ca9b45cbe34038002466f5e31660d3448e8882ef319
+EBUILD spirv-tools-1.3.296.0.ebuild 1153 BLAKE2B e82b880ff4d815d41885a444aac1f4412d852f789556952bfde1bae0e13fbd9a8e3e0676de360070ad12f4591154eeba2ffe1fe5e331afc44f855bbd7c0368b4 SHA512 42f8dd7d74746f2fc22d615759b37da862ca93b85890235637dd544309d8de8e5dad058a65ca83f2b979112585df412635323944cd4d91f7427138356697b28b
EBUILD spirv-tools-9999.ebuild 1153 BLAKE2B e82b880ff4d815d41885a444aac1f4412d852f789556952bfde1bae0e13fbd9a8e3e0676de360070ad12f4591154eeba2ffe1fe5e331afc44f855bbd7c0368b4 SHA512 42f8dd7d74746f2fc22d615759b37da862ca93b85890235637dd544309d8de8e5dad058a65ca83f2b979112585df412635323944cd4d91f7427138356697b28b
MISC metadata.xml 338 BLAKE2B daa2952fd92a1ebb904941cd59beefd0aafd28be3e47eda81bf15dff4d72fb2ce4ba9a777a2233a411843ed8e7963699bea5b327ee82f4a0b392505f0bff929b SHA512 0688c185bcd6b5c5ba6cf68b353786fe22a61eaeef81e6fdc07e7f3a633408b1666423c824928100b1453d372b172c82a89ddad39c6bacc8e646bbaa6e059001
diff --git a/dev-util/spirv-tools/spirv-tools-1.3.296.0.ebuild b/dev-util/spirv-tools/spirv-tools-1.3.296.0.ebuild
new file mode 100644
index 000000000000..8c5305b6b291
--- /dev/null
+++ b/dev-util/spirv-tools/spirv-tools-1.3.296.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN=SPIRV-Tools
+PYTHON_COMPAT=( python3_{10..13} )
+PYTHON_REQ_USE="xml(+)"
+inherit cmake-multilib python-any-r1
+
+if [[ ${PV} == *9999* ]]; then
+ EGIT_REPO_URI="https://github.com/KhronosGroup/${MY_PN}.git"
+ inherit git-r3
+else
+ EGIT_COMMIT="vulkan-sdk-${PV}"
+ SRC_URI="https://github.com/KhronosGroup/${MY_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+ S="${WORKDIR}"/${MY_PN}-${EGIT_COMMIT}
+fi
+
+DESCRIPTION="Provides an API and commands for processing SPIR-V modules"
+HOMEPAGE="https://github.com/KhronosGroup/SPIRV-Tools"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+# Tests fail upon finding symbols that do not match a regular expression
+# in the generated library. Easily hit with non-standard compiler flags
+RESTRICT="test"
+
+DEPEND="~dev-util/spirv-headers-${PV}"
+# RDEPEND=""
+BDEPEND="${PYTHON_DEPS}"
+
+multilib_src_configure() {
+ local mycmakeargs=(
+ -DSPIRV-Headers_SOURCE_DIR="${ESYSROOT}"/usr/
+ -DSPIRV_WERROR=OFF
+ -DSPIRV_TOOLS_BUILD_STATIC=OFF
+ )
+
+ cmake_src_configure
+}