diff options
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/Manifest.gz | bin | 65131 -> 65140 bytes | |||
-rw-r--r-- | dev-util/cookiecutter/Manifest | 2 | ||||
-rw-r--r-- | dev-util/cookiecutter/cookiecutter-2.6.0.ebuild | 4 | ||||
-rw-r--r-- | dev-util/cproto/Manifest | 3 | ||||
-rw-r--r-- | dev-util/cproto/cproto-4.7x.ebuild | 24 | ||||
-rw-r--r-- | dev-util/diffoscope/Manifest | 2 | ||||
-rw-r--r-- | dev-util/diffoscope/diffoscope-283.ebuild | 140 | ||||
-rw-r--r-- | dev-util/librnp/Manifest | 2 | ||||
-rw-r--r-- | dev-util/librnp/librnp-0.17.1-r2.ebuild | 4 | ||||
-rw-r--r-- | dev-util/spirv-llvm-translator/Manifest | 10 | ||||
-rw-r--r-- | dev-util/spirv-llvm-translator/spirv-llvm-translator-15.0.8.ebuild | 60 | ||||
-rw-r--r-- | dev-util/spirv-llvm-translator/spirv-llvm-translator-16.0.8.ebuild | 64 | ||||
-rw-r--r-- | dev-util/spirv-llvm-translator/spirv-llvm-translator-17.0.8.ebuild | 60 | ||||
-rw-r--r-- | dev-util/spirv-llvm-translator/spirv-llvm-translator-18.1.8.ebuild | 63 | ||||
-rw-r--r-- | dev-util/spirv-llvm-translator/spirv-llvm-translator-19.1.3.ebuild | 63 |
15 files changed, 353 insertions, 148 deletions
diff --git a/dev-util/Manifest.gz b/dev-util/Manifest.gz Binary files differindex 98bcb6fc9ce7..3c172ae8acf1 100644 --- a/dev-util/Manifest.gz +++ b/dev-util/Manifest.gz diff --git a/dev-util/cookiecutter/Manifest b/dev-util/cookiecutter/Manifest index cabb8a879fcc..ff000a0ba8d9 100644 --- a/dev-util/cookiecutter/Manifest +++ b/dev-util/cookiecutter/Manifest @@ -4,5 +4,5 @@ DIST cookiecutter-2.5.0.tar.gz 276288 BLAKE2B 8f294d39a385909cf9c23511eae2ad2878 DIST cookiecutter-2.6.0.tar.gz 277486 BLAKE2B 967264bdf2b7f7ec7d2466d530e9ab6f689f88bb8537f833f76b952f4cbec07cfdf8c17c3f9690023f3687a8aab66ecb5dfe609e58ed933f1fcd2fc2174938f2 SHA512 619be103bb831cbe9c50c4fa5114d6151a462a29a233f8999305403dda449f90a5900940a2b9d98433a8cdd3dbad421afe6feded42f4bcb6ee83523570ed2c1e EBUILD cookiecutter-2.3.1.ebuild 1372 BLAKE2B f079eaf953252a7b8e52b1ae2c68debe4968bc2396284e019f103483396f253ba30c9065b9ddf066eedf6c37de1ba2dc731fbe991dff8c13aa9353c1611ee004 SHA512 300878b6eeb255bafded1dc7664d622b4fd5bbaa6243f2d6b985d93baf7b6687d434a7e403d48c2e6ab6e6d01ce339b4a5e2a529652a39bf687c4489cfd2124d EBUILD cookiecutter-2.5.0.ebuild 1378 BLAKE2B 2d569db32235e3e3cc51c257031eea6bfcf5b196fbcab545246a06c023299a0cfbd8d6ada1c14396d68daa56cd7d704b87b70e9df150ebffc04c3e79746b7783 SHA512 8f4f34a37e35c72b100535fb2c1235045f796bb93f188074eec362bd45634586507eee4146d272103c9a2fbc222d042d2070d90c5cdff3f126b1d615282a92bb -EBUILD cookiecutter-2.6.0.ebuild 1380 BLAKE2B 7ab9b861efe47fd9fb876737a37b9b9fd8398b108574901427ce772efe37493a483af22d959ac7af96925fb6221b28031ecdfce5af37201787405ff4a082d9a3 SHA512 d54d32be467a091b3269878fb51e8565ed5a5bf12b72478f3a806a50fcd0f9a8769cd5e9a95d11fcea677a1d1527efeb9bc420838625f35a0d2fd4192b483441 +EBUILD cookiecutter-2.6.0.ebuild 1380 BLAKE2B 0d84799d7c19ed52f06734b83abb7732abd8fe6572a7952c220a0a189547f4adb970789a2127fb58123c9650b16d067110cebbba0fd6e6ebb648c47415a23e92 SHA512 736654590272bfd9c2bdb1be01c9344b7e3072ed35efb48208528052becb5590638c8f1550a3ec0bc1c30293243244e35ab6d821d871ec426e141a27bc0ee389 MISC metadata.xml 465 BLAKE2B 349dea29d61e4a01ee235b3d711bf70828a8cba35f567c5ad73139f0cac09255d825340d36b2ae651b3cc3dea02c031b388b4682e32132dae9ab7e7ce6370666 SHA512 09985492dd88a00d3e9315daa03dcdc96b064b8d6aa562130916c7932aa415b32039b49fd22daca661db22b4b7b8382b053730a16490a20db79c710fe35be085 diff --git a/dev-util/cookiecutter/cookiecutter-2.6.0.ebuild b/dev-util/cookiecutter/cookiecutter-2.6.0.ebuild index 4b32cd3aafb0..a01de6ad4ca0 100644 --- a/dev-util/cookiecutter/cookiecutter-2.6.0.ebuild +++ b/dev-util/cookiecutter/cookiecutter-2.6.0.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{10..12} pypy3 ) +PYTHON_COMPAT=( python3_{10..13} pypy3 ) DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 diff --git a/dev-util/cproto/Manifest b/dev-util/cproto/Manifest index 50277e5e02da..08fa809d8de7 100644 --- a/dev-util/cproto/Manifest +++ b/dev-util/cproto/Manifest @@ -2,6 +2,9 @@ DIST cproto-4.7v.tgz 193874 BLAKE2B 0fb13ac8f501b9111096666c54ccfa466fe7ecce6f26 DIST cproto-4.7v.tgz.asc 729 BLAKE2B 577ce738de30ab32099836041fe7b651764750eddee13135a9340410a50c0b46cf8034fb566d31748ea1db8d6d013e4e0c2abecc02d074a998828ce8b00d0fe8 SHA512 b0b03400b79aa04131bfe7176811dcb46cce05d339ab73552b787d9ade26a38e234f6c4f588e5a3cbe3a0521df73a6f7565a3a20181f3b677446ba9379ba8532 DIST cproto-4.7w.tgz 194904 BLAKE2B 1a1c2812dc0a5144d35dc3f10d98f865db4d8db7ca40d302116d4dcb5a572ce17f670d48bc53d3c516f654518f4dadfba9054077609ca84dad11bdb2cb0057ab SHA512 4fcf67ac52906e5f502d99099c8af444a03dcf12cb7282790dc2e49ff7ba4b80e36f42d9e11e06e6a48edaac7be344ccf4f39229be8ccf6f043658fdbe899f41 DIST cproto-4.7w.tgz.asc 729 BLAKE2B 1c203b919e37f3c7fbb844ca2898bd1c29ec5790b6104e3ebb3ff33bab2857a7134370b16758c73cccc707c0f4d91d737ad4d8588ba687a985958efbaf8a2293 SHA512 03f941858c5df4bc5a81204a2cb918d127c015ba8f08f9681a8f2d9cc99f0d32c972ed38ea65806234ecd0753071a11681e3c43673fd8de209cdc80c1e10d6d1 +DIST cproto-4.7x.tgz 196563 BLAKE2B 462be211b6905be9945518fd836edad1f7ceb848a1bcc848dc951dc0b968cde642cacb58d83e5b86f77ceeae3a287d75228d3a86b87530cba860fe0f06352f1e SHA512 d896a46d01c09aae743fec8d3db2823377c3155f6080a7478df9f452805bbd5c7d0f77b9487006a4cab547c5638741e5780db0d8d0403f411b946ea032a5132e +DIST cproto-4.7x.tgz.asc 729 BLAKE2B 6dad543e258e8c494542335cadd2d0a9fb581a4750419f9f91984a5d492edefdd784d3f7fb20acce764a39dd71cfc740de46314efdc4964f22987f3c8d7b37a9 SHA512 1fa4905982558a8aca99f9d6939eb41be0e9fbc661aab7cb732d5a0ee9c32a0a51966990fb9c567d3035d60d8785780734b8b95a7e057b1d507c1286e0bef50c EBUILD cproto-4.7v.ebuild 731 BLAKE2B 957e04134860005ec3d03fbea5e0e2c8f8664959097034737c39990642f1805b98a8a8f2a67c4830b59191af465ba9ea799b3016a1ed5e6e94bac7a77a3d24ea SHA512 ec1e769c98c96723b2cfed59a82d1b2ba70a1e7b03fc9581c98280d2ee5f4650c3c8a8b1e75866db7815470f216e164c95dc5bdc0f5fb8c60c63553b2080d54c EBUILD cproto-4.7w.ebuild 731 BLAKE2B 95b38043c3b634f246d16e2b30c7e60807c98d1ce79e769ef70561a02b92ec362dbff4a048be8f5e3497b5f282c452a1e09dc6dce9e760f210afcff004d251f4 SHA512 55b6f340cb5809a628ad78111f3c7c8ec09d656ec68dad7e6f3bdfdb7fdfcd30b8e7a0be4472b43c5a2c29776a0fc446854710d999e67694ee1c9b8ea53e803d +EBUILD cproto-4.7x.ebuild 734 BLAKE2B ec935e99b59fc9384d66f53363afea9de1c55f2c0d65d2cea957c42c53d627ecb8c3c216782036bdc22f8ebfcf50b146a25b17dceacdad9fe9e1ffaa83307bb2 SHA512 103d6de52c2fcc01309755f1119d28fcdc128e6a09148cf32f0fc4fb13514c0bd460c084192551689ce9129791a96bf62db2f217e2b36eb46ecec107961294fd MISC metadata.xml 408 BLAKE2B 44cf79171b98215328ec22d1d07768d411832bf5c1bc652c59818b5687bd3a4ee99a6d06d875a9aeba323ef36c8e4c6bb5e191a2e048e4a0546f1cdce3b4db00 SHA512 5792884bc44d07930751c56997483ea9ef2a9543732230dddb22442c028b04108b9826bfaa959743f78a999b4d3e8882946b310f7591ef1ecd96dd908e63eefe diff --git a/dev-util/cproto/cproto-4.7x.ebuild b/dev-util/cproto/cproto-4.7x.ebuild new file mode 100644 index 000000000000..f05390239420 --- /dev/null +++ b/dev-util/cproto/cproto-4.7x.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/thomasdickey.asc +inherit verify-sig + +DESCRIPTION="Generate C function prototypes from C source code" +HOMEPAGE="https://invisible-island.net/cproto/" +SRC_URI="https://invisible-island.net/archives/${PN}/${P}.tgz" +SRC_URI+=" verify-sig? ( https://invisible-island.net/archives/${PN}/${P}.tgz.asc )" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" + +DEPEND="app-alternatives/lex" +BDEPEND=" + app-alternatives/lex + app-alternatives/yacc + dev-util/gperf + verify-sig? ( sec-keys/openpgp-keys-thomasdickey ) +" diff --git a/dev-util/diffoscope/Manifest b/dev-util/diffoscope/Manifest index 86d8fc4dae39..a5df2af606f5 100644 --- a/dev-util/diffoscope/Manifest +++ b/dev-util/diffoscope/Manifest @@ -1,7 +1,5 @@ DIST diffoscope-279.tar.bz2 3146297 BLAKE2B 7dc1c2a8362db6c012be04aa2562a04079707502d6f61e4ee0093fe46042ad122fe73d1faaf81e6b565d369ba3ec83f6056c4ef62a6fe4649ed376d0404b2864 SHA512 564e731847cbc68a6d8612f543d9d40575c4e9240acc7ec405310878c9288566a5c6dd4aa87e2517db5ef1abcc4ab6e29d3002ee5cce281200d9381de103243b -DIST diffoscope-283.tar.bz2 3149385 BLAKE2B e50e4c31912c7bb0acaa3152c869937a9f4cbbcb0860775c58bbde13808ffcd0183032f7b444b2fb4d6cea83f943ac15f36a648a0f9fcbaaae5cfde098232d97 SHA512 e0c6ddd7b687b93dafdab81408d285b385efb3e2dd5c78c378943f03054e6ca59a18b6be7879023b54a571b18c5ada2722773626553761f245460abd239faef9 DIST diffoscope-284.tar.bz2 3149578 BLAKE2B 4969e394a32d076101d59c0ca730d4e3515e1f3c60031705aed7c043ea031442829435e20de9723117ab73a08b6eef81d97eb8f92f225eb7d9c702bc0060c1ca SHA512 c3a6e02340873e71a4b75412848d9878f3e63c4db14f1ed128744feff2240d688336bcd83b121dcfa8c12e332cb00fdfe0ae347cd5a88e4ec29b3591263e3f65 EBUILD diffoscope-279.ebuild 3937 BLAKE2B 04755859f8f8d4ce7998653c6d2a2e1479f8dc8eac1ff2e005cf0726d9536ed5738413b0628f4b1ff705451c9f9b9913cf15e33f19aa9956aa58deddf80b9142 SHA512 13ae14693b16f30953e5df685e24ca6aff0fb29b5c43b62758c19a84fd9ea37ee7c1e3e1a6d4c1a08d228b864dd1a966409392bca2ebaeeb1848630431d2fe96 -EBUILD diffoscope-283.ebuild 3938 BLAKE2B 9406c72b55b62f7a87d23fa7dd9620983713a645974621156e326022803f25ffb00e04c3dc17a70ced618b716759f1c236bab86cf9372d48d006c877cb836404 SHA512 96a441c99e4b94c685d38302f2f80965f048d4d5eea925914048da996512fe1d5103660cab36f95a57feca95b8a6f679e4e66b452ccb5990ae7fe4cedd92df31 EBUILD diffoscope-284.ebuild 3938 BLAKE2B 9406c72b55b62f7a87d23fa7dd9620983713a645974621156e326022803f25ffb00e04c3dc17a70ced618b716759f1c236bab86cf9372d48d006c877cb836404 SHA512 96a441c99e4b94c685d38302f2f80965f048d4d5eea925914048da996512fe1d5103660cab36f95a57feca95b8a6f679e4e66b452ccb5990ae7fe4cedd92df31 MISC metadata.xml 2086 BLAKE2B 75fdcf3b9bb7b9dd6222f07a04a96b2166c9a819ca5c6358daf4451bf73951b443596e05548ebdc163338eafbc75574e47635b3920ee8125690a310bf5185cf2 SHA512 552933e0c0e9cf23a8f3435a2587c6738f26e5153d773a745159ab1623ad5f39ef5d2647368918b9fdb25d61aab6a02a860c0f815740c1b70c973aa0a48a11ce diff --git a/dev-util/diffoscope/diffoscope-283.ebuild b/dev-util/diffoscope/diffoscope-283.ebuild deleted file mode 100644 index f4b47770300a..000000000000 --- a/dev-util/diffoscope/diffoscope-283.ebuild +++ /dev/null @@ -1,140 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..13} ) -PYTHON_REQ_USE="ncurses" -inherit distutils-r1 toolchain-funcs - -DESCRIPTION="Will try to get to the bottom of what makes files or directories different" -HOMEPAGE="https://diffoscope.org/ https://pypi.org/project/diffoscope/" -# We could use pypi, but upstream provide distribution tarballs, so let's use those. -# TODO: verify-sig -SRC_URI="https://diffoscope.org/archive/${P}.tar.bz2" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" -IUSE="acl binutils bzip2 libcaca colord cpio +diff docx dtc e2fsprogs file -find gettext gif gpg haskell hdf5 hex imagemagick iso java llvm lzma -mono opendocument pascal pdf postscript R rpm sqlite squashfs -ssh tar test tcpdump zip zlib zstd" -RESTRICT="!test? ( test )" - -RDEPEND=" - || ( - dev-python/python-magic[${PYTHON_USEDEP}] - sys-apps/file[python,${PYTHON_USEDEP}] - ) - dev-python/libarchive-c[${PYTHON_USEDEP}] - dev-python/distro[${PYTHON_USEDEP}] - dev-python/python-tlsh[${PYTHON_USEDEP}] - acl? ( sys-apps/acl ) - binutils? ( sys-devel/binutils ) - bzip2? ( app-arch/bzip2 ) - libcaca? ( media-libs/libcaca ) - colord? ( x11-misc/colord ) - cpio? ( app-alternatives/cpio ) - diff? ( sys-apps/diffutils ) - docx? ( app-text/docx2txt ) - dtc? ( sys-apps/dtc ) - e2fsprogs? ( sys-fs/e2fsprogs ) - file? ( sys-apps/file ) - find? ( sys-apps/findutils ) - gettext? ( sys-devel/gettext ) - gif? ( media-libs/giflib ) - gpg? ( app-crypt/gnupg ) - haskell? ( dev-lang/ghc ) - hdf5? ( sci-libs/hdf5 ) - hex? ( app-editors/vim-core ) - imagemagick? ( media-gfx/imagemagick ) - iso? ( app-cdr/cdrtools ) - java? ( virtual/jdk ) - llvm? ( llvm-core/llvm ) - lzma? ( app-arch/xz-utils ) - mono? ( dev-lang/mono ) - opendocument? ( app-text/odt2txt ) - pascal? ( dev-lang/fpc ) - pdf? ( - app-text/pdftk - app-text/poppler - dev-python/pypdf[${PYTHON_USEDEP}] - ) - postscript? ( app-text/ghostscript-gpl ) - R? ( dev-lang/R ) - rpm? ( app-arch/rpm ) - sqlite? ( dev-db/sqlite:3 ) - squashfs? ( sys-fs/squashfs-tools ) - ssh? ( virtual/openssh ) - tar? ( app-arch/tar ) - tcpdump? ( net-analyzer/tcpdump ) - zip? ( app-arch/unzip ) - zlib? ( app-arch/gzip ) - zstd? ( app-arch/zstd ) -" - -# pull in optional tools for tests: -# img2txt: bug #797688 -# docx2txt: bug #797688 -BDEPEND=" - test? ( - app-arch/p7zip - app-text/docx2txt - app-text/html2text - media-libs/libcaca - virtual/imagemagick-tools[jpeg] - ) -" - -EPYTEST_DESELECT=( - # Test seems to use different tarball - tests/test_presenters.py::test_text_proper_indentation - - # Needs triage - tests/comparators/test_binary.py::test_with_compare_details_and_tool_not_found - tests/comparators/test_rlib.py::test_item3_deflate_llvm_bitcode - tests/comparators/test_gif.py::test_has_visuals - - # img2txt based failures, bug #797688 - tests/comparators/test_ico_image.py::test_diff - tests/comparators/test_ico_image.py::test_diff_meta - tests/comparators/test_ico_image.py::test_diff_meta2 - tests/comparators/test_ico_image.py::test_has_visuals - tests/comparators/test_jpeg_image.py::test_diff - tests/comparators/test_jpeg_image.py::test_compare_non_existing - tests/comparators/test_jpeg_image.py::test_diff_meta - tests/comparators/test_jpeg_image.py::test_has_visuals - - # docx2txt based falures, bug #797688 - tests/comparators/test_docx.py::test_diff - - # Formatting - tests/test_source.py::test_code_is_black_clean - - # Fails on ZFS - tests/test_main.py::test_non_unicode_filename - - # Fails on (unreleased) LLVM 16 with minor difference - #tests/comparators/test_macho.py::test_llvm_diff - #tests/comparators/test_elf.py::test_libmix_differences -) - -distutils_enable_tests pytest - -src_test() { - case $(tc-get-ptr-size) in - 4) - EPYTEST_IGNORE+=( - # Needs fixing in Perl itself (bug #934443) - tests/comparators/test_epub.py - tests/comparators/test_zip.py - ) - ;; - *) - ;; - esac - - distutils-r1_src_test -} diff --git a/dev-util/librnp/Manifest b/dev-util/librnp/Manifest index e38accff4d1a..675356af265b 100644 --- a/dev-util/librnp/Manifest +++ b/dev-util/librnp/Manifest @@ -1,5 +1,5 @@ AUX librnp-0.17.1-libcxx-fix.patch 3794 BLAKE2B 39125d9f2562c35f04a1859e65e73ae57df0512ddc1f978ce4655a4018d1c1fe53eb186987854847fa5955052142569a724dfb0e26e4e1a52b8258fc1520f5bd SHA512 7f0b1d94d8c97db90cf6759701d231045574f9e860342fda2a8599a5d9e526fcb918d886e16270cd98b23c7fc3b0c5e9ef51888bb842b975c1f736c75a79918f DIST librnp-0.17.1.tar.gz 3515288 BLAKE2B 279cd5c669b469112066c4754a9a5a5c9fbe3ba225be4f85bc507aad9f29cfa166f90cb3dfe83ea8e29964fdfbbf926438fb36bb345da494ed7f70586fa8d7b6 SHA512 0224f79e4dd4b72ddd9c191218327da5485ed1d81321cc3a167cfeea68c00e47cec9151a4177e65e5560039345db3a52e41a093adfdf833f57e867bc559494a5 EBUILD librnp-0.17.1-r1.ebuild 1877 BLAKE2B 24396a654d81d72342f9fb4b8b059043f62cfa030deee7f38ab0aa43987553fe70118c74f286a28519705bbf5ab482d53154535dcf29822d3942aecd850c1261 SHA512 1b53ab95d4534bb46eb020b9fd5e4d82cfcdc40ca3895e0b0d2a48837971a0ea9352ec28277a4458a4e6815b869d231cf8e2bc29f64418deb6b9db6260bd9190 -EBUILD librnp-0.17.1-r2.ebuild 1927 BLAKE2B 35299c544c579961f88ef746b04a3e0adbb592045555cc55cec415e177bbd2733c15238657b48c9b5cb6456730f76e494e4fa9b6729c6d5bf4bae186c7a52d1d SHA512 90bccc83ca0c67434bbdc0ab74cb66451e7ced16be494e543b2546fd3bbf14d86b53665104e994369a949330721153a577fa2b8833bf6e4bfa87d458ecde67f5 +EBUILD librnp-0.17.1-r2.ebuild 1926 BLAKE2B f2d6873354da27a77fc9bb4df052adf665e158c9a8898f4cd22bae470cd9dcb753c87d9b92cb15f1cfe34fcd45583a9dc7fe96e35cb8b3887be3bc4dae23eac1 SHA512 fd6beef7a4a8c7d310cb2179be094cd17bd87c357eaae6949492d8efde568f4ff95eff3ba00b3a42cac72944e31c6c898952fdfd5e3fd0854a1c59ecc77f9156 MISC metadata.xml 430 BLAKE2B 739d6cddc56f385ad2b1679f6b3d9ba567ce77ec536894ca3861ad7ad127fd60c395db49b31d89963df12c03d8cf69fc6f083f5d3361b790079952c1e76ccf03 SHA512 ad7b3e6332741e1f2eae9e158d5ca767f5985a8f5c86eb5f21b7ee0214b9c7fdd2e90beddf1a9287218edf35aff39bd7ff1a4f1d15eb10552ab664738f8d1959 diff --git a/dev-util/librnp/librnp-0.17.1-r2.ebuild b/dev-util/librnp/librnp-0.17.1-r2.ebuild index 622351d9190f..f8175ee6d059 100644 --- a/dev-util/librnp/librnp-0.17.1-r2.ebuild +++ b/dev-util/librnp/librnp-0.17.1-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2024 Gentoo Authors +# Copyright 2022-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -12,7 +12,7 @@ S="${WORKDIR}/${P/*lib/}" LICENSE="Apache-2.0 BSD BSD-2" SLOT="0/0.16.1" -KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~x86" +KEYWORDS="amd64 ~arm64 ~loong ~ppc64 ~x86" IUSE="+botan man test" RESTRICT="!test? ( test )" diff --git a/dev-util/spirv-llvm-translator/Manifest b/dev-util/spirv-llvm-translator/Manifest index 58a4229f3304..b985204dfbb6 100644 --- a/dev-util/spirv-llvm-translator/Manifest +++ b/dev-util/spirv-llvm-translator/Manifest @@ -1,16 +1,26 @@ AUX spirv-llvm-translator-16.0.0-ld_library_path.patch 2545 BLAKE2B b0a361f430bf7abd3e3cc24a71b7df5a8feda3bfef0b2832462b68c005356c6437c75f0257b66a3add54d3b1999275ff20cedfe9480c0ae63e78d32427c835f5 SHA512 73a134b774ee772f809b55f3369f6007b0fd19c9ddf566e81387fff5b4498c47dc5e3ada6367e2ccf3498346027543034d75977cb78d365d1c99405b9323b4e6 DIST spirv-llvm-translator-15.0.4.tar.gz 1598316 BLAKE2B f97a959b0dfb7c3ab6d24c72300b1ebbd70d98544c3f5e5b403aa412f5d599e9f846c6c9a4fce3c09a2a776cbb0349bb5b0112fe76fa1c6b0f7a12e139214dac SHA512 a19e3d20b632bcc623f6238e517b7a73ee99abdecc118fdda99972d22de2f74e7dbb880a726e2cd86ffd941fabaa8572f4130e409886691824eaa0e973d90a1b +DIST spirv-llvm-translator-15.0.8.tar.gz 1617847 BLAKE2B 690168695484a47b64dd197f072aa83a13f6bdfb35384f0181c984bfc5f8aa4f790df3f44bb65d6dad6e440640ef52f31d8f976f520ebf48aea47bc4ea9b5f40 SHA512 b7fee4fcaf51805c74d8f9126703450188effdb3dcba2060405bcd389c85ca7574ca62aa9c2491d82f385f2f9570375a680c72c87ed859932b5a75f6c053cd42 DIST spirv-llvm-translator-16.0.4.tar.gz 1589087 BLAKE2B 51cebc05fbc8ffc4d765b15a7dd5cc5b774002d4fed9e30acaf19e703f83bcecfaf7dbe7243dc5ed541e72613cf1800dd2f0f3b0f374b0619027f8171ac24b1b SHA512 02c3a4f443506a6a6015a1db7a57cf08242745d94cea27693929deb43bad6de18cf7152397454d295224818506b843fa7e537649d500e8f4b04fef9ec2333a4b +DIST spirv-llvm-translator-16.0.8.tar.gz 1611246 BLAKE2B 36074afa068233a280dc76796e1ded819ac5c353131d90d14f9f9b8f57f266df6ad711e197493ac53346fef5fa0fdf09f2e9397e419c07418743df4f17fb6dd4 SHA512 0220ef3ee3e458b61c39a2a2e80c7bbaea6e11da4df03663686663456f287f29cc87ea7e13298362fcc2b379c446c1a474bd3656445e9c82c622889cd8d5cdce DIST spirv-llvm-translator-17.0.4.tar.gz 1631063 BLAKE2B c55c5160355b797d52f8368c2d780dc89b6f92108bf22a8de7232327b4cd1c12531766bbe061b5c23926a4a8fa55394fba23e573346cfb8a12261b3c8aeec67c SHA512 454426b3146348c5128e1e6663068f34a2babca5a90864d6cff7fe3bf997ad64cf916759ebd294b3b4c20d89b1f0914e2943554761968425f92ebb48f85d0d28 +DIST spirv-llvm-translator-17.0.8.tar.gz 1651113 BLAKE2B 5d07e43de7fad76f19fd2ea825e61d08eac124f67a37c62f258bcd58e5d97d7a0bab868fe3f0bbc6e2740c262505a8d6ed1ffff8fe3483dc148b424be4f57d98 SHA512 a59d83353e6cf791adb72eba8e02ef7ecade7b6748e2d9d992cdcbb63131d0e85cc1481f4bf5e59f635011f41ac449cf090eab8d97ec72374f6e66a111496a7e DIST spirv-llvm-translator-18.1.4.tar.gz 1701536 BLAKE2B f9326299bd239721752c2b8dacb7ad5b053e189aae2374848c581e3a6110789c4e4078c1efb69bf8fdd01b30df445821130e92c1285b9cb791dbd290f796d183 SHA512 f0f7e9c3e6544707bb20cbda523f6081be42f5acb513d99b326ed0753f8d285bfb301934fa7ea78fc60bcb5672306f0ffb8a7937cc731c2bb08b72f4b7f5ef61 DIST spirv-llvm-translator-18.1.7.tar.gz 1715822 BLAKE2B f08303689294f1e9adc9f869bae50f052b52f3b811b7ba43c08f0bf883e66ddbaeab046c8716820af67c1da57e722d4ced160288ec6e51c2e44a818077dd24f0 SHA512 fe78b95022dccf3b63abd4872001f43b3cd64ccba8910dea4c2bc6ee77236adb920cdb614b662d1b85090e2ae4c1bc8083074d225cce11166f258170a8540b63 +DIST spirv-llvm-translator-18.1.8.tar.gz 1718242 BLAKE2B e35b5e4e2f9f3d9fe896ae79898fe0d4ca4484a3b4a26d0041cf41dd171b8719fb4629c70310d42a4fa9df9a736bc077480eedf5daf95f0ad8007765ae1f4744 SHA512 93af70df9ffab8c01d148ef6d3ac386385fdef17c76c58ada7f871cf4d671c2469d16e762d0c8795ec43685412f422c44b70a523c926d5598ccaebbc51c8ea58 DIST spirv-llvm-translator-19.1.1.tar.gz 1762107 BLAKE2B 60b248253185e241f5f5786b3d73194b24a2022047764ad95c0a14fc897ef89d40551f7b9b517ee5a3404adfcf2b2d25808e419a5f9863219feec9e1f5ce8cc5 SHA512 fb97ba38bfaefa1dbd181a1ab710dd94780db73aa3de2bbf60ff2eb62b9ab387962468ab71cbf910fb842fd217dcf2961148452c4a57d84013aa61b2458ae1c1 DIST spirv-llvm-translator-19.1.2.tar.gz 1767303 BLAKE2B c96b0640082c83a20258932824919479dece2973de2eeb17066ffeaa372083699322787a451465d754b419a7a7ad0d2eeb9c9372ba4695be4d333d65861500ae SHA512 91d768324f835ed891be51a7de1f752100b2d4df7f138137979cc928b23394a0d9c5ad4dbb06a203f7bc101483a667cba84b8eacc7d66e011426dda169cc14fd +DIST spirv-llvm-translator-19.1.3.tar.gz 1766986 BLAKE2B 09124989ed78b62d2e9dbbf112a35249f960e4892b1abe24465908c508316e23cd6f98ada95d9fc3993bece746e038bd26a609604c1e37068ad5eedd20c02d3f SHA512 8370ca2192e7df3aff2e2336155d3ab5519103cc31f84a1d199b34d78ad77397be0e3944d2d5eb815497fb297dcb1b4ca063d2f667dfe8e0a75c896389a9ad0b EBUILD spirv-llvm-translator-15.0.4-r1.ebuild 1293 BLAKE2B 64a5b0e0ff4ef6f553b6f16ee73eba38970b1e5dbe5d114b2141dbaf0fe9794feb1e30c1110061cc70b367355722bf84aa35ba05f41f88e3d56f45c78db48c7e SHA512 6f1b458918dccaad866b91b1d8a4cbfd5a1de64ec6e9ce251e25e1ec1e3f471df85370e3ecefe68961966b5c4b0233623fe5f6827d473014b993ceeb727c21a4 +EBUILD spirv-llvm-translator-15.0.8.ebuild 1295 BLAKE2B bb67931b89911f78a385f1562a0a8162c5bf672a412cbf551faf2cb1470fe218ce9aa6c051f817bfb9aec297d3b84e9df0a433973ed903fdd67a44920f440bc1 SHA512 f21c9c4486eab9f46de15ac7db656cd53484b96487475186d30efc9632f10ace8141a001bef9dc3d63b8d06488d213fea37f958d3941c21a852cf8ddb1b09b48 EBUILD spirv-llvm-translator-16.0.4-r1.ebuild 1410 BLAKE2B db9257e65e87099d33a60558bbdf1557cf629366c2af2e2cecb10fe83885321881d6df6d6ef681f9968e21add67c354a2199d5768b2d699a90161f2504003e20 SHA512 1269fe0f60f55cc01d589523005a5726d296742bcfcfb260d8183404ec77ee2c7aa7c19d738db16102f172343c8cd7aa237457b02f392f308736bcb3bdd198e6 +EBUILD spirv-llvm-translator-16.0.8.ebuild 1412 BLAKE2B c0d929b55aec4a157021401336b3eb2d9548efb7a309c9a965e7ffa9b1ea27f6a5c3f8844d5f22bd3463a290e0d47dd25ac4758432b8acd23e699ebf90df0c0a SHA512 9e891abc44576c640b9c0a9820599236b4104834bcf5ca1f36ef5ad2506d33d611c9cd59ce841b2ac51d62ff7e502a4cbb1f279a053161ae8ebe21b230ab501b EBUILD spirv-llvm-translator-17.0.4-r1.ebuild 1363 BLAKE2B c34a7f7b8aab6d5797e3bd5144da1bb69516c9024d376b242c554927c08fa3185d871c330a54378578fec2daef520258054b8d2ea41d7455bf70ad8d117258a5 SHA512 6703333d818ad50742679e40a7deb508951e419b4f99cd5241f2401feda0a593eb8c8ead951b205334fa45be10241c1074b4c54be1a5d94290dc6199d649a771 +EBUILD spirv-llvm-translator-17.0.8.ebuild 1366 BLAKE2B 8d1e1e72375d8c08ee57315f3484f90937dacc6ea2acb201302b1a0ceb60d5fe462d84da3c9142084baad6910a075b3c31a73021912c9ca92d217be286b82d65 SHA512 f7e3ee18bbd17d819fd4e1e83c5c40a14e89e6950ecdf24d91d2d1e294e0e520066b02d79e6d435a616196261bd5a7f088f896e5161bcf226473b47afcdd318c EBUILD spirv-llvm-translator-18.1.4.ebuild 1443 BLAKE2B a2034d194932551f6f92f0df9fb5baab68df91552f271e4222e169011e60c2a9a826c954a4cd50533c78bab84922d96f52b31fee2acd8289ec7c19ad89e25c93 SHA512 ee3db3b644276ddbee5919f1856cdcd6d0fa96850a7b226ebe0d8e74d5ad4f1d3f5e1daa485a1c272f39dcc2b7173a9a42f9c9c3f8ee9d331f7dbce1fa7eae73 EBUILD spirv-llvm-translator-18.1.7.ebuild 1444 BLAKE2B be44e81cae0e5c7090d338ebf802e5974cd518f43601a49763cdf7931b256b1b5f37296aad654ccbc51945478f7083d38466182af5e35bcba8572ff2cab5b771 SHA512 f30d28071983936eb02c50b005f40365f5eb101e944aee2cf557d91d163314db738ab1c73aaf6c43a2ce460a261139b53053f0dbabdaf7c42fa777b180333ed2 +EBUILD spirv-llvm-translator-18.1.8.ebuild 1446 BLAKE2B b4ee868be616fc7882b24d4f403061066df945c5d69fdf656d4bb70bbd11275e3c452959d4a9b639ec18622bf94555bd4323d38f50c65de305b34144a4db8ae6 SHA512 f3b8d723dc75cc8652b62348367fe965958c574c4e978fb6b325c421794a815ddee11cf5c6a0fd83fdd4bbf6f0bf9030af78eb00d3e39f5c7f664bcabefff26a EBUILD spirv-llvm-translator-19.1.1.ebuild 1443 BLAKE2B d4d5a27179a82ce1631e5f8d8b38b27243d3e48993ca8db6daac78f6adef11dcf5dc523f4856a0e1a237b2a35edfb6aae57c5d2d5a4cc8794cc26444d4c3b8a2 SHA512 5c589ccf3e85ca5507169a8eb6437dacb4ba356df50f4ed05e29ebabc85bceb4036fd7b588e496e0c0bde8df1e35be0dc0d9487ce77a0af8423dc7b351124131 EBUILD spirv-llvm-translator-19.1.2.ebuild 1446 BLAKE2B e11e0524e4c76950f42959c371bb1a138ec65629f16c3d2ac0dea2274e7e343ba730bf356dfd6022ca54a6e277e01a013f623b67de58c51f305f4a8b4929b866 SHA512 84ab45459d4a65244c175dd96b93e4564d5584006cc57ad7e3cb8a7cb9695ddb7b1d8d981953ec774e647fded42e6d2610bbfe415a30fa2ef75d247cf1f5a283 +EBUILD spirv-llvm-translator-19.1.3.ebuild 1446 BLAKE2B a136d76434d2258c37302627e96dde4ec75f1b5ce8fa020f5272db406eb9b843d58b2fcd2b2247dd037d51e85ba16b7d0fe7c162290931e116e4cfbc54b8cb76 SHA512 4499318d1ce6e2a253839ba400daffe52c635d54e842f75be4a0cf7856045f8d6f21629a58e80e49aa999fb54e9ef2e36631d8219bca660185b8c79f0a2ece18 MISC metadata.xml 445 BLAKE2B 11c5d6b6e94192c6fe1aa0cdce39ddb6e3e0aac1462533b5480136c415cc5d82ac77c4930a07a234d0ae987d3409c8dae590f0d5b99139282a89939d0b65cf4e SHA512 e58ae0f86f23be399eff43be9b90006f9be0f699af67f354f2e5434bc0fd43856863763192e0270fd06f7df65e0bdea2bd0b9d43b5b200d8a0399e0230c86e71 diff --git a/dev-util/spirv-llvm-translator/spirv-llvm-translator-15.0.8.ebuild b/dev-util/spirv-llvm-translator/spirv-llvm-translator-15.0.8.ebuild new file mode 100644 index 000000000000..4d629410521c --- /dev/null +++ b/dev-util/spirv-llvm-translator/spirv-llvm-translator-15.0.8.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LLVM_COMPAT=( 15 ) +MY_PN="SPIRV-LLVM-Translator" +MY_P="${MY_PN}-${PV}" + +inherit cmake flag-o-matic llvm-r1 + +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 ~riscv ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-util/spirv-tools + llvm-core/llvm:${SLOT}= +" +DEPEND="${RDEPEND} + dev-util/spirv-headers +" +BDEPEND=" + virtual/pkgconfig + test? ( + dev-python/lit + llvm-core/clang:${SLOT} + ) +" + +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 "${BUILD_DIR}/test" || die +} diff --git a/dev-util/spirv-llvm-translator/spirv-llvm-translator-16.0.8.ebuild b/dev-util/spirv-llvm-translator/spirv-llvm-translator-16.0.8.ebuild new file mode 100644 index 000000000000..723c1ef1fe7e --- /dev/null +++ b/dev-util/spirv-llvm-translator/spirv-llvm-translator-16.0.8.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LLVM_COMPAT=( 16 ) +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 ~riscv ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-util/spirv-tools + llvm-core/llvm:${SLOT}= +" +DEPEND="${RDEPEND} + dev-util/spirv-headers +" +BDEPEND=" + virtual/pkgconfig + test? ( + dev-python/lit + llvm-core/clang:${SLOT} + ) +" + +PATCHES=( + "${FILESDIR}/${PN}-16.0.0-ld_library_path.patch" +) + +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 +} diff --git a/dev-util/spirv-llvm-translator/spirv-llvm-translator-17.0.8.ebuild b/dev-util/spirv-llvm-translator/spirv-llvm-translator-17.0.8.ebuild new file mode 100644 index 000000000000..0810f90d634d --- /dev/null +++ b/dev-util/spirv-llvm-translator/spirv-llvm-translator-17.0.8.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LLVM_COMPAT=( 17 ) +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 + llvm-core/llvm:${SLOT}= +" +DEPEND="${RDEPEND} + >=dev-util/spirv-headers-1.3.275 +" +BDEPEND=" + virtual/pkgconfig + test? ( + dev-python/lit + llvm-core/clang:${SLOT} + ) +" + +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 +} diff --git a/dev-util/spirv-llvm-translator/spirv-llvm-translator-18.1.8.ebuild b/dev-util/spirv-llvm-translator/spirv-llvm-translator-18.1.8.ebuild new file mode 100644 index 000000000000..a3aea49b3f4b --- /dev/null +++ b/dev-util/spirv-llvm-translator/spirv-llvm-translator-18.1.8.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2025 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-multilib 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[${MULTILIB_USEDEP}] + llvm-core/llvm:${SLOT}=[${MULTILIB_USEDEP}] +" +DEPEND="${RDEPEND} + >=dev-util/spirv-headers-1.3.280 +" +BDEPEND=" + virtual/pkgconfig + test? ( + dev-python/lit + llvm-core/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 +} + +multilib_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 +} + +multilib_src_test() { + lit -vv "-j${LIT_JOBS:-$(makeopts_jobs)}" "${BUILD_DIR}/test" || die +} diff --git a/dev-util/spirv-llvm-translator/spirv-llvm-translator-19.1.3.ebuild b/dev-util/spirv-llvm-translator/spirv-llvm-translator-19.1.3.ebuild new file mode 100644 index 000000000000..492566abb9e8 --- /dev/null +++ b/dev-util/spirv-llvm-translator/spirv-llvm-translator-19.1.3.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LLVM_COMPAT=( 19 ) +MY_PN="SPIRV-LLVM-Translator" +MY_P="${MY_PN}-${PV}" + +inherit cmake-multilib 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[${MULTILIB_USEDEP}] + llvm-core/llvm:${SLOT}=[${MULTILIB_USEDEP}] +" +DEPEND="${RDEPEND} + >=dev-util/spirv-headers-1.3.280 +" +BDEPEND=" + virtual/pkgconfig + test? ( + dev-python/lit + llvm-core/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 +} + +multilib_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 +} + +multilib_src_test() { + lit -vv "-j${LIT_JOBS:-$(makeopts_jobs)}" "${BUILD_DIR}/test" || die +} |