summaryrefslogtreecommitdiff
path: root/dev-util/spirv-tools
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-06-12 08:19:18 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-06-12 08:19:18 +0100
commit4d0ca679fbcb59301ffc7af98794c411c5061a0b (patch)
tree8353718f79e0de6c7c5ee2d6cab498bd3bebf565 /dev-util/spirv-tools
parent683e8a42fb208dee0d6289d084fb39ab17aa2b60 (diff)
gentoo auto-resync : 12:06:2023 - 08:19:18
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.250.ebuild42
-rw-r--r--dev-util/spirv-tools/spirv-tools-99999999.ebuild4
3 files changed, 47 insertions, 3 deletions
diff --git a/dev-util/spirv-tools/Manifest b/dev-util/spirv-tools/Manifest
index eb7b2cf2df3a..ccb7b4a57a51 100644
--- a/dev-util/spirv-tools/Manifest
+++ b/dev-util/spirv-tools/Manifest
@@ -1,6 +1,8 @@
DIST spirv-tools-1.3.243.tar.gz 3102102 BLAKE2B c871a1e152423a1e09d228cc91df86df5c81e62aaecf140c57b95929bec63142384f3908deff51735b520e31261514124c0063c67a80fff688a054b3364f31df SHA512 6a3ad537d74892fb3418bb11dd7bd174b59edfb99029128dddde18a02d677d485a704d11cbdd3a3f1df3a18f8c534ab081b461cc82b5bc00c5a5c0601102bd65
DIST spirv-tools-1.3.246.tar.gz 3102137 BLAKE2B b0532e5eb489cdd12c0c58dda5a6aca743d3a1de8a1cf255da55375224fd407037696d73f792e6a3758c9fdc222b8d820285c9d8fa0908597d9223299b597be6 SHA512 9308be180e7dcfc10c06d84fd8f7998fddc0d9bdaf06d0d150f645ab3cf8fa7551dee8014bb245019afa05bd9439eaf58ddfc0ed197226d11b111904119e310b
+DIST spirv-tools-1.3.250.tar.gz 3113062 BLAKE2B a6951f957282eace3f65c81041070b6afd78ea87d50ef76c049827b537e94f75fbc3b7d9326ff0bcd1663d51611c7b01c8d5d8c2336ea151ab69ccb41b0ea308 SHA512 777733c6a25c5bad9802e7a33e913a051ccc3d740acb24c9255cc3ab5d08fce529991696310e3a58ca52e79a214c8dc74f811ab357135a85e82b6c10c8701289
EBUILD spirv-tools-1.3.243.ebuild 1139 BLAKE2B a8254b1a1e26f1f88c930d01d934bc9e4f282969999b8dcd823ff5c697f20a7d7800c0ce1c9da1f8d88089ff923543ca23e6ac4749fbd0284a2668cfa81cb423 SHA512 7ba92485860b9d0ea68b501d2f4e70d422df78649df97a24c96da266d693d2ac2a350de4e6f8783d96b603a6fe774155496247b7eb1d5969b11bef5bf8a8ad38
EBUILD spirv-tools-1.3.246.ebuild 1145 BLAKE2B 9944035c79eb26bbd6e783d3b199e3bffc5febd8c1cf36aaf5c80920468ebdbb5e955a54889aa5385ff28730e8a7091db48c54f2058f7faec7ef207c85149ecf SHA512 27bd3df64ede70486d23e14d1560bf0a85e0a0173021809d9ef62e15d7d7583a8513e543468b0740e37330c2a2d6b6de123211a92e8667a0357999a44a60cdb3
-EBUILD spirv-tools-99999999.ebuild 1147 BLAKE2B 56595323992efb3c2e9a255b3b57af95c38d3a12c59d4d8a3f1afd0b6d3758dbe1f3bf8607ae359591ef3b382c654f1e89b719bd01fe21021c15e4c32a6923eb SHA512 88dc7e115dddedf124c30d3233591a47827f0f6e5c755f67230ed830ba8625e7c6224d97042fc721a0d1b06305ecdfef20c0535074e2dfe75df1a5cad4739727
+EBUILD spirv-tools-1.3.250.ebuild 1145 BLAKE2B 4b9807fcde398902b6bc269f90f2d1510b33159325eb799b7ac61bb8e32cdb4d295ef41192415c4c0867c27f2a897a070a84d1a634f739b41c71ff2f6c465fac SHA512 4c86b2177d524a11b93e57a711d4678ea4da4458cb74a208487f8697f87a5d8f90f21aefba0d24eca03d8d7eda4189a4926e38acce6da42b24ec287e32c616b4
+EBUILD spirv-tools-99999999.ebuild 1148 BLAKE2B e4093574ecbb82263180ef72f2bb93841ece149065561868aaf13456cfa7c2f80ac7f36f6b095445e1c0ad56dc2be8f70df30f6e058a206be4afee23e494f242 SHA512 0734ff5a8c4566f097e495fd508845d14dafaafc14b33481e3ee7e2b1fdfbbd2735d04069d689e0b9fd38c8fc0af1a929987a118d94c3bf05d2022178afc49b9
MISC metadata.xml 429 BLAKE2B 8d9917ace6eaaab8b826f48bc6f38c629efc5245a5356d821632867b8a65246180dcc14927db6ed1e025a32d7bb248aa35e3a7095c79bff5a2e91b3d880de997 SHA512 3f076c95eb788258a2451c3b54a013eeb936fed744b68499f53970590fc846d79b9724198ed54300a57395b1f4f2a657840bf8aa7ff25dcef8cdf28aa7f35ae3
diff --git a/dev-util/spirv-tools/spirv-tools-1.3.250.ebuild b/dev-util/spirv-tools/spirv-tools-1.3.250.ebuild
new file mode 100644
index 000000000000..e5c15a8932d4
--- /dev/null
+++ b/dev-util/spirv-tools/spirv-tools-1.3.250.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2023 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_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="sdk-${PV}.0"
+ 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
+}
diff --git a/dev-util/spirv-tools/spirv-tools-99999999.ebuild b/dev-util/spirv-tools/spirv-tools-99999999.ebuild
index cd2a73fc921f..da7fe9abf25f 100644
--- a/dev-util/spirv-tools/spirv-tools-99999999.ebuild
+++ b/dev-util/spirv-tools/spirv-tools-99999999.ebuild
@@ -4,7 +4,7 @@
EAPI=8
MY_PN=SPIRV-Tools
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{9..12} )
PYTHON_REQ_USE="xml(+)"
inherit cmake-multilib python-any-r1
@@ -27,7 +27,7 @@ SLOT="0"
# in the generated library. Easily hit with non-standard compiler flags
RESTRICT="test"
-DEPEND="~dev-util/spirv-headers-1.3.239"
+DEPEND="~dev-util/spirv-headers-99999999"
RDEPEND=""
BDEPEND="${PYTHON_DEPS}"