diff options
Diffstat (limited to 'dev-util/spirv-llvm-translator')
3 files changed, 67 insertions, 2 deletions
diff --git a/dev-util/spirv-llvm-translator/Manifest b/dev-util/spirv-llvm-translator/Manifest index 00cfe3377523..e4c3a237e9f5 100644 --- a/dev-util/spirv-llvm-translator/Manifest +++ b/dev-util/spirv-llvm-translator/Manifest @@ -8,9 +8,11 @@ DIST spirv-llvm-translator-16.0.0.tar.gz 1542060 BLAKE2B bee72a776062266e60c5237 DIST spirv-llvm-translator-17.0.0.tar.gz 1601166 BLAKE2B c3e7a78fa55cd13ba61c024e2d3d82c47ac9dbf8c11bcbcf4ddc34a6838fb948885a263fd9af2d0f404b31f4c6e9226c9582e0f65b3220770e1af07cf85f4dac SHA512 ee54e597c678755cb48d677f81184d66616c7be934b570e04f0106e64c15f1cab124177b757f08a7713fa7fce981c74d61304d4554e6d198e6c14c53abf1e81c DIST spirv-llvm-translator-18.1.2.tar.gz 1694843 BLAKE2B 13409096e6ae69509a393741d674a89f5468797fd3ce51c06c69a766f1d34ba952b915013f1bc2aff3ea1524e863a81609d7179096a7b8141ded64a6b366546c SHA512 889cdc0960f6029129dad62f7afe6f61b51bed9d8fb9fa6b743318e2243252dce62cbacf71a2b56decec24ce37746b4b4787dd426ad76e2feb74e1781cb070c8 DIST spirv-llvm-translator-18.1.3.tar.gz 1700577 BLAKE2B 0d92c6259956db9cb4a49c521dff7cbc0c4353ac779372bb92efb8ff4b1aa61d11ec35b56059e9d4ef22170e6550ba6eadd50f07b97811a65c81113758efeec6 SHA512 b47f4ddd2f404aaaa23e7eabe1450e7cc622809fcb0fb8679647b0f06e6340d36fc63286120580277db59e5a95ad61f086d61072adeeb060a5964436dca97186 +DIST spirv-llvm-translator-18.1.4.tar.gz 1701536 BLAKE2B f9326299bd239721752c2b8dacb7ad5b053e189aae2374848c581e3a6110789c4e4078c1efb69bf8fdd01b30df445821130e92c1285b9cb791dbd290f796d183 SHA512 f0f7e9c3e6544707bb20cbda523f6081be42f5acb513d99b326ed0753f8d285bfb301934fa7ea78fc60bcb5672306f0ffb8a7937cc731c2bb08b72f4b7f5ef61 EBUILD spirv-llvm-translator-15.0.0-r1.ebuild 1371 BLAKE2B ab7fb7701634812654c2b3410190715c581369550385ac275588fff286d02d62c17fc4a75f97ba4082a707d18d5eb55e38f2aac290bc4abe3c676da98ab04b53 SHA512 e58d8f2d6b9474d8426242f90a567dda559228e5e783a6dd965bfae20976008a468075ee615aaf4139a167dd13efb038a7d064dd2ca998899d6b4ba8cb07f402 EBUILD spirv-llvm-translator-16.0.0-r1.ebuild 1531 BLAKE2B 07ae6fb702fe5bc915ab9f07cff253f7c6f2049e013f5d0d77a6d7ae020a8bfb9522b6159327e5684b9f081a48aaf467556d26c792ae65fdac6b16ad3b4b1035 SHA512 70bcfeeb07c2089a7b43f8df82492ea1aecd957fdf582cbd710b8484689796c11234369f3fd324222f3de1dffdcf7eccc482da387be962cfb74f96b18711e436 EBUILD spirv-llvm-translator-17.0.0-r2.ebuild 1512 BLAKE2B 9e642681cc67196b91532b36b44ec2817161d25423d057f6bd91fedacada2e33d12946257ff54c337143d0fbfc9d11f29816cfb485404685d209be906e75097f SHA512 96961a3225f9c10eb317741b39091341e40202e07b7a07434182e78f9b8ce5451f44b6ae8011d7e9f95b640157f2a5cf04c56b77d6b5647c806dea6fb09c97f1 EBUILD spirv-llvm-translator-18.1.2.ebuild 1390 BLAKE2B 26808cbccd8d7059134bf78f8846f09c3f8ed85c3153cb10659c01fa3240df851dbe9d9811821b83a2ea7e25f17d8fc1fe3595ca1a0a111c4d41e5a0029772c8 SHA512 78f8439a0fbc203e1723cdb9deb1eafad691cd3a545a9a6f0a530716df020a28d74bb74b529e7129d1c0d301f302fe1b5cf46040f56a6107013e3f18419a89ff -EBUILD spirv-llvm-translator-18.1.3.ebuild 1379 BLAKE2B 7ff8eb133abbde5f8df3a2037de838b009135bf31143b31345648473c63ff1b834f17c8b27db507b12c3dc7d38462452a5f5485ab933887aabd0c4357bea510e SHA512 b02d7bfe338bbb9118476e7ca0ba0c1165dbeff0491e77f4ddd8e31b5df62232fccad71f6983ff1e0cde32a45cee3bff452fb23ef1d6c1b8bf49f78fb25363cf +EBUILD spirv-llvm-translator-18.1.3.ebuild 1377 BLAKE2B 388557ee71b5d4a2fd883137918cb48855818dfff1496f6268ae7cc9c45974ade8f3c76f30474e618d51bec497b1630b185884652f5685d423e65928d0ce6e5e SHA512 31352669defe25bdd064ff1bcec3b479fb72010a10d4caac39754e4d1d6190a7a04cfdc4e24f8348f98e68e085bc6ff8cb127cc5f42987fd494937414b031395 +EBUILD spirv-llvm-translator-18.1.4.ebuild 1379 BLAKE2B 7ff8eb133abbde5f8df3a2037de838b009135bf31143b31345648473c63ff1b834f17c8b27db507b12c3dc7d38462452a5f5485ab933887aabd0c4357bea510e SHA512 b02d7bfe338bbb9118476e7ca0ba0c1165dbeff0491e77f4ddd8e31b5df62232fccad71f6983ff1e0cde32a45cee3bff452fb23ef1d6c1b8bf49f78fb25363cf MISC metadata.xml 445 BLAKE2B 11c5d6b6e94192c6fe1aa0cdce39ddb6e3e0aac1462533b5480136c415cc5d82ac77c4930a07a234d0ae987d3409c8dae590f0d5b99139282a89939d0b65cf4e SHA512 e58ae0f86f23be399eff43be9b90006f9be0f699af67f354f2e5434bc0fd43856863763192e0270fd06f7df65e0bdea2bd0b9d43b5b200d8a0399e0230c86e71 diff --git a/dev-util/spirv-llvm-translator/spirv-llvm-translator-18.1.3.ebuild b/dev-util/spirv-llvm-translator/spirv-llvm-translator-18.1.3.ebuild index d14939439935..6de5b2b03536 100644 --- a/dev-util/spirv-llvm-translator/spirv-llvm-translator-18.1.3.ebuild +++ b/dev-util/spirv-llvm-translator/spirv-llvm-translator-18.1.3.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="UoI-NCSA" SLOT="$(ver_cut 1)" -KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm64 ~riscv x86" IUSE="test" RESTRICT="!test? ( test )" diff --git a/dev-util/spirv-llvm-translator/spirv-llvm-translator-18.1.4.ebuild b/dev-util/spirv-llvm-translator/spirv-llvm-translator-18.1.4.ebuild new file mode 100644 index 000000000000..d14939439935 --- /dev/null +++ b/dev-util/spirv-llvm-translator/spirv-llvm-translator-18.1.4.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LLVM_COMPAT=( 18 ) +MY_PN="SPIRV-LLVM-Translator" +MY_P="${MY_PN}-${PV}" + +inherit cmake flag-o-matic llvm-r1 multiprocessing + +DESCRIPTION="Bi-directional translator between SPIR-V and LLVM IR" +HOMEPAGE="https://github.com/KhronosGroup/SPIRV-LLVM-Translator" +SRC_URI="https://github.com/KhronosGroup/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="UoI-NCSA" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64 ~arm64 ~riscv ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-util/spirv-tools + sys-devel/llvm:${SLOT}= +" +DEPEND="${RDEPEND} + >=dev-util/spirv-headers-1.3.280 +" +BDEPEND=" + virtual/pkgconfig + test? ( + dev-python/lit + sys-devel/clang:${SLOT} + ) +" + +PATCHES=( +) + +src_prepare() { + append-flags -fPIC + cmake_src_prepare + + # https://github.com/KhronosGroup/SPIRV-LLVM-Translator/pull/2555 + sed -i -e 's/%triple/x86_64-unknown-linux-gnu/' test/DebugInfo/X86/*.ll || die +} + +src_configure() { + local mycmakeargs=( + -DCCACHE_ALLOWED="OFF" + -DCMAKE_INSTALL_PREFIX="$(get_llvm_prefix)" + -DLLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR="${ESYSROOT}/usr/include/spirv" + -DLLVM_SPIRV_INCLUDE_TESTS=$(usex test "ON" "OFF") + -Wno-dev + ) + + cmake_src_configure +} + +src_test() { + lit -vv "-j${LIT_JOBS:-$(makeopts_jobs)}" "${BUILD_DIR}/test" || die +} |