diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-01-22 16:48:54 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-01-22 16:48:54 +0000 |
commit | ce163dcd0944d81d8406c9532b457535efca7a6d (patch) | |
tree | f7deea170544ce69e03c037101b7b5c1277966b4 /dev-libs | |
parent | 05ee8049e2326946a2cd1720f98384c864f0a804 (diff) |
gentoo auto-resync : 22:01:2024 - 16:48:54
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/Manifest.gz | bin | 97673 -> 97667 bytes | |||
-rw-r--r-- | dev-libs/cppcodec/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/cppcodec/cppcodec-0.2.ebuild | 4 | ||||
-rw-r--r-- | dev-libs/libclc/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/libclc/libclc-18.0.0_pre20240120.ebuild | 79 |
5 files changed, 84 insertions, 3 deletions
diff --git a/dev-libs/Manifest.gz b/dev-libs/Manifest.gz Binary files differindex 50ca58f09139..20007b42147d 100644 --- a/dev-libs/Manifest.gz +++ b/dev-libs/Manifest.gz diff --git a/dev-libs/cppcodec/Manifest b/dev-libs/cppcodec/Manifest index 167c4b7154c8..516992321634 100644 --- a/dev-libs/cppcodec/Manifest +++ b/dev-libs/cppcodec/Manifest @@ -1,4 +1,4 @@ DIST cppcodec-0.2.tar.gz 33984 BLAKE2B 248487326d3fafb104d469d16cddab86fe63dec6eecb74af6211c262a42ff8806ee97619459f9dca648107748e30268206e84d64efba47a9ea1c398eb4c06919 SHA512 50c9c81cdb12560c87e513e1fd22c1ad24ea37b7d20a0e3044d43fb887f4c6494c69468e4d0811cd2fc1ae8fdb01b01cfb9f3cfdd8611d4bb0221cbd38cbead3 -EBUILD cppcodec-0.2.ebuild 772 BLAKE2B 5b2419a6c0422b3148c7eaac8c9d1e9f9895e7421156502d2ac6acc2caac441cf089d0af2276713c036764d2e2aee71795788383b98419522ae122761af3bf4e SHA512 bcb2942b4848fb993693535cc8ceda44e274de9e8cd5d2970d90c6cf9b536ca5db0c625c4c150522c1fcc1ab943927acff317970caced636d465e2c2768f8f1f +EBUILD cppcodec-0.2.ebuild 767 BLAKE2B d04290b0514cd107627011a53cd9ea17090134a95311b9b3629029904f0772f8627a23d2ac044114cca0a535d9bfff4d8222f09fe8eb1c958748cb0b9f621c76 SHA512 17ae245c0d6dc58dcf2ffef0ee2e5684fa7c8d5a7493dc126aa7214790da50ab41260c7b78010c7d77d71ef30588f0654e7648fe45b40acbeb4408883dc85fb0 EBUILD cppcodec-9999.ebuild 772 BLAKE2B 5b2419a6c0422b3148c7eaac8c9d1e9f9895e7421156502d2ac6acc2caac441cf089d0af2276713c036764d2e2aee71795788383b98419522ae122761af3bf4e SHA512 bcb2942b4848fb993693535cc8ceda44e274de9e8cd5d2970d90c6cf9b536ca5db0c625c4c150522c1fcc1ab943927acff317970caced636d465e2c2768f8f1f MISC metadata.xml 386 BLAKE2B 4a6288a4205e460da1d0d7d6780cc407d6c70e14f6353026abf8ba2caa97c717c9f09631b53d05369edf390240f75d2a0b93e351c62739493a4e3375e08af96a SHA512 a0a6a436ad53c66d2fef38f3e8388662a9637d29cd4618816de594b4894895640208fc4d5c1726171f980bff07eff66a32b5541e822f2a970dee4a46385cf739 diff --git a/dev-libs/cppcodec/cppcodec-0.2.ebuild b/dev-libs/cppcodec/cppcodec-0.2.ebuild index c378468fac29..3c62cdcdc8e4 100644 --- a/dev-libs/cppcodec/cppcodec-0.2.ebuild +++ b/dev-libs/cppcodec/cppcodec-0.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -24,7 +24,7 @@ SLOT="0" IUSE="test" RESTRICT="!test? ( test )" -DEPEND="test? ( >=dev-cpp/catch-2.3.0:0 )" +DEPEND="test? ( <dev-cpp/catch-3:0 )" BDEPEND="test? ( virtual/pkgconfig )" src_configure() { diff --git a/dev-libs/libclc/Manifest b/dev-libs/libclc/Manifest index aa70651d9c44..726ac08ae717 100644 --- a/dev-libs/libclc/Manifest +++ b/dev-libs/libclc/Manifest @@ -5,6 +5,7 @@ DIST llvm-project-16.0.6.src.tar.xz.sig 566 BLAKE2B 2060cebd5ed57cb8a86a44238c43 DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B d6ede1a9fda8756995c3e0654111941649e15794179641806f18919f1dc68c41ca0cabd5693b5096d05dccc3a391cd20d34af1137bf8af92ed3117a1ce84d1b2 SHA512 6d85bf749e0d77553cc215cbfa61cec4ac4f4f652847f56f946b6a892a99a5ea40b6ab8b39a9708a035001f007986941ccf17e4635260a8b0c1fa59e78d41e30 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7 SHA512 f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340 DIST llvm-project-8d817f6479a5df874028a8b40fd30aecd3479005.tar.gz 204890108 BLAKE2B 8c57c556371b37d00cda753a40f1162e678d89fa40e8f2b90a38aab7e17f9debfb2ebad53a3a95aa530a9e3e2b4b735828e404e576c8f2738370ec41c28badce SHA512 a38ce082ca1b999888ee0a633b94a02258579591e6ce73ba4722eafb9f0610f9624887eca43e4a6ae567c07ffc014f4ea4137e905899407951265d7c93785f18 +DIST llvm-project-9eb0f86c279f40a792ec27bf0e9b491b8c90a640.tar.gz 205195168 BLAKE2B c3d051270958216196d6051d41e78168a7027714c5658c7edc70d274ed91f9d4ee16e8d1f92672bf252c65005c636c380766210ac3d80b4ac2f9f6305aefa29b SHA512 ee62acdfa756a2ddeb46fcafa364489885b6ecc50c87f365af42f308ebc87b9674c33c2f5a84c5169d9c9cada08e4fffe35d2eff48f05b70e791e27ac2c8b347 DIST llvm-project-a085402ef54379758e6c996dbaedfcb92ad222b5.tar.gz 204569231 BLAKE2B 75403225fbe54f0921b279b237a90f1922b16997d1538fa5f225e04451fa2fc4a28e886efb7460ef0c26a3a964f0c57084e331b0736fa223926259c76d873200 SHA512 b8c6b0c7c0a4c369ecfa7ac71cf96549a19853e14bdf061b6b54429ce7ed998b236bb9ed3adbd6bf1c70c7e975508f751ebd0031ac2ff474d32216048a1c5f2d EBUILD libclc-15.0.7.ebuild 1668 BLAKE2B ac2bd589fb3c29662799f97b1f649fd22b1b7ce5701879815bc01a05ae88421a830a6a3507b4dead181f24eb4e45c451e8ea1ebbdac2a2de51ddbc3cd9f53c66 SHA512 a3e39fbaddb322360f6362ef21713f375d04e02b2b9a3d43a3d47b26d5d43643a8c654181aef9518aee5f9805d09c446bbbf13342b74f09622e5e1b0c59470b1 EBUILD libclc-16.0.6.ebuild 1665 BLAKE2B 27ffe7083936c466a749550797d109c7a48fc6aaf110977c53ae2d4c5edd558c958a4981020b2c74c6b0c47aeee184edc6e1f192da93f57972fe9cc9abfaa762 SHA512 5007264c688588ec9fd7e74e88a1c1810be2602b744a64d8927275bc8ceaf278d9598222c5d2e3d3fa64504364625b03951752ef7221fd1bf16cc26fbd54ad80 @@ -12,4 +13,5 @@ EBUILD libclc-17.0.6.ebuild 1750 BLAKE2B 691bf74589650205182ca24a01d649678773a49 EBUILD libclc-18.0.0.9999.ebuild 1715 BLAKE2B f82abdc9c110b6f6b317aead9273000c5b3cdadf69bd2e9ebf5c480c74a50c072c92d2945b16d83fc8a28365be4c329269a21788e94391ba7d1f3cee41c9d0a2 SHA512 a26879108f8a308273a1bc81eea612403baf48ad20480eb8b8760176928be7083cc062f223535e01e5dd19372bcbb3d63769121a57ce26dfc723987e5b3fbb51 EBUILD libclc-18.0.0_pre20240106.ebuild 1715 BLAKE2B 7be5f456b776d2a04a0494e54b49c99c4467d9deaecee2aa87585e34394bbd6e3d53b1166983a9cd84a8c7d5c677d94feed73088662a45fecece534ed2c4c978 SHA512 9b169c453be57b7e39872d9a5303b977cc20f949f20f5fa32b1095d87355b85c9efe85cb278f3e015b2a45614585b3e9a7c1db321542f52f8b40337d66a626a4 EBUILD libclc-18.0.0_pre20240113.ebuild 1715 BLAKE2B 7be5f456b776d2a04a0494e54b49c99c4467d9deaecee2aa87585e34394bbd6e3d53b1166983a9cd84a8c7d5c677d94feed73088662a45fecece534ed2c4c978 SHA512 9b169c453be57b7e39872d9a5303b977cc20f949f20f5fa32b1095d87355b85c9efe85cb278f3e015b2a45614585b3e9a7c1db321542f52f8b40337d66a626a4 +EBUILD libclc-18.0.0_pre20240120.ebuild 1559 BLAKE2B 0fa72bb8f94f561d769439ff83574998ef19ea34a77c12d566b965f069ecc72a74210038954d91da74033cb8df2f63197825bb191b898c4cb188e4289c21cd99 SHA512 fee8a3cec13779ecaa88fca5fc4fca4b0f7863ae6b4b39bcdc3a410b1f2b807fabd5c2589635b5b63a0196cc0bfe84f326ae856f18b6d484604aae8b49e85cf9 MISC metadata.xml 362 BLAKE2B 768f93d0058e4da4b420569f3f1771dfa7385ad89540bbc18cf53b5a71e3f060a8afa1112ff37570d7fc9dc3e71619fa3fd8d0cf7b5d3954f5110b19e146df30 SHA512 e6335424da09f668953acd39dcd9b03a30e3b509b34b1de5c72644a3740a5b6b287f10e08405b79bafc8104cc4dc1324b7b9d7990c3b560b0235ae82da8c68a5 diff --git a/dev-libs/libclc/libclc-18.0.0_pre20240120.ebuild b/dev-libs/libclc/libclc-18.0.0_pre20240120.ebuild new file mode 100644 index 000000000000..b5f679391dfd --- /dev/null +++ b/dev-libs/libclc/libclc-18.0.0_pre20240120.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +inherit cmake llvm llvm.org python-any-r1 + +DESCRIPTION="OpenCL C library" +HOMEPAGE="https://libclc.llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions || ( MIT BSD )" +SLOT="0" +IUSE="+spirv video_cards_nvidia video_cards_r600 video_cards_radeonsi" + +LLVM_MAX_SLOT=17 +BDEPEND=" + ${PYTHON_DEPS} + || ( + ( + sys-devel/clang:17 + spirv? ( dev-util/spirv-llvm-translator:17 ) + ) + ( + sys-devel/clang:16 + spirv? ( dev-util/spirv-llvm-translator:16 ) + ) + ( + sys-devel/clang:15 + spirv? ( dev-util/spirv-llvm-translator:15 ) + ) + ) +" + +LLVM_COMPONENTS=( libclc ) +llvm.org_set_globals + +llvm_check_deps() { + if use spirv; then + has_version -b "dev-util/spirv-llvm-translator:${LLVM_SLOT}" || + return 1 + fi + has_version -b "sys-devel/clang:${LLVM_SLOT}" +} + +pkg_setup() { + llvm_pkg_setup + python-any-r1_pkg_setup +} + +src_configure() { + local libclc_targets=() + + use spirv && libclc_targets+=( + "spirv-mesa3d-" + "spirv64-mesa3d-" + ) + use video_cards_nvidia && libclc_targets+=( + "nvptx--" + "nvptx64--" + "nvptx--nvidiacl" + "nvptx64--nvidiacl" + ) + use video_cards_r600 && libclc_targets+=( + "r600--" + ) + use video_cards_radeonsi && libclc_targets+=( + "amdgcn--" + "amdgcn-mesa-mesa3d" + "amdgcn--amdhsa" + ) + [[ ${#libclc_targets[@]} ]] || die "libclc target missing!" + + libclc_targets=${libclc_targets[*]} + local mycmakeargs=( + -DLIBCLC_TARGETS_TO_BUILD="${libclc_targets// /;}" + ) + cmake_src_configure +} |