summaryrefslogtreecommitdiff
path: root/dev-util/spirv-tools
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-04-03 08:13:59 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-04-03 08:13:59 +0100
commit2df2e0ebc717aa53904c920c1a361423dfc3a5f7 (patch)
treed81b257b3923100dc55a999dd12b2198a6d35b99 /dev-util/spirv-tools
parent75abd8d3830449158bdd27f9c4701bcbadc55080 (diff)
gentoo auto-resync : 03:04:2024 - 08:13:58
Diffstat (limited to 'dev-util/spirv-tools')
-rw-r--r--dev-util/spirv-tools/Manifest4
-rw-r--r--dev-util/spirv-tools/spirv-tools-1.3.280.0.ebuild (renamed from dev-util/spirv-tools/spirv-tools-99999999.ebuild)10
-rw-r--r--dev-util/spirv-tools/spirv-tools-9999.ebuild42
3 files changed, 50 insertions, 6 deletions
diff --git a/dev-util/spirv-tools/Manifest b/dev-util/spirv-tools/Manifest
index 7d3c53af1829..5ae0935efb39 100644
--- a/dev-util/spirv-tools/Manifest
+++ b/dev-util/spirv-tools/Manifest
@@ -1,4 +1,6 @@
DIST spirv-tools-1.3.275.tar.gz 3153781 BLAKE2B 963504946f9e7b89959da8e280c15027ebe330877e6878d1c03ee163ed5b464f62f3203bd9efc1fcfd85842ff9acfb939ee89029642ac304de44395861a402f3 SHA512 f17692509ecfbd753a853eaa01d559c06b06fa15b287971da814044418da71a94813606acfe536fa519e8aeba92bdfc80971acb749dab6e7cc395773c4f05693
+DIST spirv-tools-1.3.280.0.tar.gz 3173979 BLAKE2B 6037dc8d3868c03d87a79390018b32a08ebb28034d1e33e1328f111d24de0d37c8152aa7e6065129e9d8f8a6003cbfade25dc5b24e72749f5896dd598f96fe87 SHA512 3ccab3118e0a1d6f20d031cd1f90f2546b618370b90aacc468fc598d523463452f65ed2c89c1de4e2bb8933b9757eb8123363483bcd853e92d41c95ea419e79f
EBUILD spirv-tools-1.3.275.ebuild 1146 BLAKE2B aefd516d4cb667739ff430c2f4c170bf1fd907fad1446ca0456fe333f2fbb361d56c7f73f975ec93efe5b93d884facbae9973a2dae14f94ea9cce674b7795e83 SHA512 da06e97b7ae13cf9cdf3473ec0d53780fcf53952102be2781b71c2fe527eb49cdda518352c5c2c8a4cd0538892ef574e517ff2c964c1e895f75b17c1417332c9
-EBUILD spirv-tools-99999999.ebuild 1148 BLAKE2B e4093574ecbb82263180ef72f2bb93841ece149065561868aaf13456cfa7c2f80ac7f36f6b095445e1c0ad56dc2be8f70df30f6e058a206be4afee23e494f242 SHA512 0734ff5a8c4566f097e495fd508845d14dafaafc14b33481e3ee7e2b1fdfbbd2735d04069d689e0b9fd38c8fc0af1a929987a118d94c3bf05d2022178afc49b9
+EBUILD spirv-tools-1.3.280.0.ebuild 1153 BLAKE2B 03f3807d1475259179fa791efac9fe0927f1d8bfdd0c5c5b6f95df2ec5a634d8aa72d410b3d1fa9f6e81b08545e327266c40423a7aac2865b9c75ac5cf5a945f SHA512 f6b27188b828edff2314808379aa85823e705c745bfc0f9ba55f3c98d618fced10c29d60b683d57805d1fa31df383e937f69cf29e548194bb5feda0eaf8e7974
+EBUILD spirv-tools-9999.ebuild 1153 BLAKE2B 03f3807d1475259179fa791efac9fe0927f1d8bfdd0c5c5b6f95df2ec5a634d8aa72d410b3d1fa9f6e81b08545e327266c40423a7aac2865b9c75ac5cf5a945f SHA512 f6b27188b828edff2314808379aa85823e705c745bfc0f9ba55f3c98d618fced10c29d60b683d57805d1fa31df383e937f69cf29e548194bb5feda0eaf8e7974
MISC metadata.xml 429 BLAKE2B 8d9917ace6eaaab8b826f48bc6f38c629efc5245a5356d821632867b8a65246180dcc14927db6ed1e025a32d7bb248aa35e3a7095c79bff5a2e91b3d880de997 SHA512 3f076c95eb788258a2451c3b54a013eeb936fed744b68499f53970590fc846d79b9724198ed54300a57395b1f4f2a657840bf8aa7ff25dcef8cdf28aa7f35ae3
diff --git a/dev-util/spirv-tools/spirv-tools-99999999.ebuild b/dev-util/spirv-tools/spirv-tools-1.3.280.0.ebuild
index da7fe9abf25f..da62007c6961 100644
--- a/dev-util/spirv-tools/spirv-tools-99999999.ebuild
+++ b/dev-util/spirv-tools/spirv-tools-1.3.280.0.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2023 Gentoo Authors
+# 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_{9..12} )
+PYTHON_COMPAT=( python3_{10..12} )
PYTHON_REQ_USE="xml(+)"
inherit cmake-multilib python-any-r1
@@ -12,7 +12,7 @@ if [[ ${PV} == *9999* ]]; then
EGIT_REPO_URI="https://github.com/KhronosGroup/${MY_PN}.git"
inherit git-r3
else
- EGIT_COMMIT="sdk-${PV}.0"
+ 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}
@@ -27,8 +27,8 @@ SLOT="0"
# in the generated library. Easily hit with non-standard compiler flags
RESTRICT="test"
-DEPEND="~dev-util/spirv-headers-99999999"
-RDEPEND=""
+DEPEND="~dev-util/spirv-headers-${PV}"
+# RDEPEND=""
BDEPEND="${PYTHON_DEPS}"
multilib_src_configure() {
diff --git a/dev-util/spirv-tools/spirv-tools-9999.ebuild b/dev-util/spirv-tools/spirv-tools-9999.ebuild
new file mode 100644
index 000000000000..da62007c6961
--- /dev/null
+++ b/dev-util/spirv-tools/spirv-tools-9999.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..12} )
+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
+}