diff options
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/Manifest.gz | bin | 100634 -> 100635 bytes | |||
-rw-r--r-- | dev-libs/check/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/check/check-0.15.2-r1.ebuild | 2 | ||||
-rw-r--r-- | dev-libs/libclc/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/libclc/libclc-20.0.0_pre20241113.ebuild | 61 | ||||
-rw-r--r-- | dev-libs/libgpg-error/Manifest | 3 | ||||
-rw-r--r-- | dev-libs/libgpg-error/libgpg-error-1.51.ebuild | 89 | ||||
-rw-r--r-- | dev-libs/libxml2/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/libxml2/libxml2-2.13.5.ebuild | 190 | ||||
-rw-r--r-- | dev-libs/link-grammar/Manifest | 4 | ||||
-rw-r--r-- | dev-libs/link-grammar/link-grammar-5.12.4.ebuild | 116 | ||||
-rw-r--r-- | dev-libs/link-grammar/link-grammar-5.12.5.ebuild | 2 | ||||
-rw-r--r-- | dev-libs/npth/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/npth/npth-1.8.ebuild | 36 | ||||
-rw-r--r-- | dev-libs/oneDNN/Manifest | 10 | ||||
-rw-r--r-- | dev-libs/oneDNN/oneDNN-3.3.6.ebuild | 134 | ||||
-rw-r--r-- | dev-libs/oneDNN/oneDNN-3.4.ebuild | 133 | ||||
-rw-r--r-- | dev-libs/oneDNN/oneDNN-3.5.ebuild | 133 | ||||
-rw-r--r-- | dev-libs/oneDNN/oneDNN-3.6.1.ebuild (renamed from dev-libs/oneDNN/oneDNN-3.4.3.ebuild) | 0 |
19 files changed, 391 insertions, 530 deletions
diff --git a/dev-libs/Manifest.gz b/dev-libs/Manifest.gz Binary files differindex 2631f1d6a6f3..9d72987caffb 100644 --- a/dev-libs/Manifest.gz +++ b/dev-libs/Manifest.gz diff --git a/dev-libs/check/Manifest b/dev-libs/check/Manifest index c27b76098f23..1438e0aca8e1 100644 --- a/dev-libs/check/Manifest +++ b/dev-libs/check/Manifest @@ -1,5 +1,5 @@ AUX check-0.14.0-r2-disable-automagic-dep.patch 769 BLAKE2B 286eeaa0e45e524c400f1967756b2e2912d76826c2fb92d9008afc338f19a4edc55b23e2751ce46f52e2fccc3e091f7143647a42a017c02ee580e138c3a50536 SHA512 4370bb6551c3e2f414b6580f26ed3a7429278139d5835b44c8769f1583363aaf8e25982e6f86bbcf2e7fc06d3c406d9a2af4a47fbb99377c6589f276aa9f29a3 AUX check-0.15.2-Fix-pkgconfig-file-s-libdir-value.patch 887 BLAKE2B 7e3828af77a430ef366b2d7855c1fb5f909c9e8b13273e2d89b34711c95e5b930f95d39b21438e115b208f8eb1f4637aec0eb4ab0e6efb293174d9ddbd2946a2 SHA512 eae3e3b2d3f7f59c94af3c39797490247df827450999edadd363d99c373a465aeec913e90656e94d04215268742fb79d049a32bb3910b16b64175f1177de43f8 DIST check-0.15.2.tar.gz 306136 BLAKE2B e93755b58ddfea7ecc013e5449806611baedb91b362e573d4e3b6f716feeb0012cceec80f7109e44b2808deb980300c4f7825919b97878b160a1bf884357bde3 SHA512 cf81ca63142f33779df2e3542e049b9034d30bc502a663a4379bbfe85c7ee8fd80ce382583e781651d99fe830895122dab5b6793f87425b571c3927f0ba3b60e -EBUILD check-0.15.2-r1.ebuild 1464 BLAKE2B 9d5921a013cdce7a88816fbbba74cd293a9859f4b2b24ca24a166daa587afec13cfba49800bc68e8b49e0942bdd90dfa023be08005a8bb95f03f20e8f6c10945 SHA512 6e1d93eab5d2d930e108e3bc4594cbc6414d5240b2323f89a39450a990760992fe816d58bcd1c660177142f9e3a67bae886ebb1cc11bfe5e1151e1edf0c251e6 +EBUILD check-0.15.2-r1.ebuild 1471 BLAKE2B d836ad8736b8bb3822f69333ea69d31ac597549b4ba65c3177e4565cba0c60ddeb30e8b1d328809421cc979ace8f5659fab744307e1781a4e0b7f34de0890658 SHA512 efc0fe690a27dafddd114a948d82506f4ac0fb33eb5fd109de4f6f044f6c9bbafa67ca563fefc8275901fadad6261b2d2498bbbe1c089c2845bb33293bd2456d MISC metadata.xml 489 BLAKE2B f5dbc4485b84b992c52f782c4bfd273ca189d1287c1930d228ca05c2094426f1837cedd0cc871098b3b46321237a1d9d6e09f90da37782727346848f7c4e314e SHA512 0e9877c532a01511532a00399f2dd4a1c310410f57155e4a9a4cfe9a9369c6789cc14cb991370beda468394a40599004cb28f832761b4a8e7cccf7c8f083febd diff --git a/dev-libs/check/check-0.15.2-r1.ebuild b/dev-libs/check/check-0.15.2-r1.ebuild index 728babb12861..4003f08cbde1 100644 --- a/dev-libs/check/check-0.15.2-r1.ebuild +++ b/dev-libs/check/check-0.15.2-r1.ebuild @@ -19,7 +19,7 @@ RESTRICT="ppc? ( test ) ppc64? ( test ) !test? ( test )" -RDEPEND="subunit? ( dev-python/subunit[${MULTILIB_USEDEP}] )" +RDEPEND="subunit? ( dev-python/python-subunit[${MULTILIB_USEDEP}] )" DEPEND="${RDEPEND} sys-apps/texinfo" BDEPEND="doc? ( app-text/doxygen )" diff --git a/dev-libs/libclc/Manifest b/dev-libs/libclc/Manifest index 712d394cadc4..3be4757d6948 100644 --- a/dev-libs/libclc/Manifest +++ b/dev-libs/libclc/Manifest @@ -10,6 +10,7 @@ DIST llvm-project-18.1.8.src.tar.xz.sig 566 BLAKE2B 6ab0efc5b38d4483f4e32e8b8577 DIST llvm-project-19.1.3.src.tar.xz 141247864 BLAKE2B 4ccb30accd632a7d54eb065b724ff81ec8a50380fa527111d58acd728eecb798d42f680119b6d1cbc980523e2f39220921ca1f530daa7afea05ab27436dedb7e SHA512 0abaf158b373892d5afc184158600df17a0797547ad7238ca9018d6fcdd7310b0db803d158daa82a2e04bd42d9daebaa2c3e4b9024c0fa2df72a88596575df5c DIST llvm-project-19.1.3.src.tar.xz.sig 438 BLAKE2B 44717741ae13bb0c52382647352e52273d8401728dc5cc1cf0c11a8f08cd74b6e3d789e788793aad767030b36fdec62e3a05bdc0b7ff60556cec7ceac17fc239 SHA512 84ef22ee78dbaad4710becbcb02119d06063099f9102bb86f3cd44fbb7e2d87bafe239d8e0cbf22ab5a479f99a11a77125f22394d5006ed86262076ccbf1634d DIST llvm-project-3f4468faaa9525ad615118675c3c68938f4a8d5f.tar.gz 221860252 BLAKE2B 6c531df34163dc0879c79b029a13215d1bef2cd95bbaf4a6d5e10b81a8352236283d40f14b62e23a57cc1cf8edce138fb6e2720ced2397d6469c5863564c626d SHA512 4aa485f4547e210cf8f6f8147c4adab3e75afe77f1e4e1bc4718fe681b64bdcf8937f843964542f8ead90ceef52cc0fd4bd8275824d1a4c6961eddafc7d35115 +DIST llvm-project-c7df10643bda4acdc9a02406a2eee8aa4ced747f.tar.gz 222622409 BLAKE2B 8b6b53e0d51a681ec2e3ea1c873df95357e1333a598d26921c72f4ce05872aa5fe00a046bfe8811e2c8c1a2ffced7a325a0399bd931e54cf2aeb23abe887bde7 SHA512 e78219c87f001c813844ff652bf065f7c1d1bbf09af801ed1e99e9f40b981896bcee699d2ab15c71478388987c4030750a7958265d374b9f568fdf7af3dd3a21 EBUILD libclc-15.0.7.ebuild 1668 BLAKE2B ac2bd589fb3c29662799f97b1f649fd22b1b7ce5701879815bc01a05ae88421a830a6a3507b4dead181f24eb4e45c451e8ea1ebbdac2a2de51ddbc3cd9f53c66 SHA512 a3e39fbaddb322360f6362ef21713f375d04e02b2b9a3d43a3d47b26d5d43643a8c654181aef9518aee5f9805d09c446bbbf13342b74f09622e5e1b0c59470b1 EBUILD libclc-16.0.6.ebuild 1665 BLAKE2B 27ffe7083936c466a749550797d109c7a48fc6aaf110977c53ae2d4c5edd558c958a4981020b2c74c6b0c47aeee184edc6e1f192da93f57972fe9cc9abfaa762 SHA512 5007264c688588ec9fd7e74e88a1c1810be2602b744a64d8927275bc8ceaf278d9598222c5d2e3d3fa64504364625b03951752ef7221fd1bf16cc26fbd54ad80 EBUILD libclc-17.0.6.ebuild 1749 BLAKE2B 0b083103fc48654357f621bd3c40002fe9030598a4873519b186b601cd75cc1555a3930f26fe884c1970ddf5728c9a7dffc08e97ebdb151e55b80b204d327a4e SHA512 2509e6ff63a86ba1ceef095fab34b49642b7e6866111c289c124bb7ef9d4bad8f07c4927b45994555386536975c8a4c56401860dca25f2ef2014d9153abb4c8f @@ -18,4 +19,5 @@ EBUILD libclc-19.1.3.ebuild 1305 BLAKE2B 1fbb9db126a81d0cea598e600f7d29fd6a717fe EBUILD libclc-20.0.0.9999.ebuild 1268 BLAKE2B bcf40564f542b2f2c4eaf493e74226472d1a3d151293a1c09ab4940aa7296018eb237e6254d545a850b2e3ad2f1b0a838dc3f04114c13bb947a8d33cdcba8ee3 SHA512 5bcb5ca819b48dc4b24d5ff0689a19c1d897a560fa89fd761d19cca65e46d185d51ec2745f5091fa9383974e0506fe303d6bdc95327a3be154192d580f92c431 EBUILD libclc-20.0.0_pre20241029.ebuild 1268 BLAKE2B bcf40564f542b2f2c4eaf493e74226472d1a3d151293a1c09ab4940aa7296018eb237e6254d545a850b2e3ad2f1b0a838dc3f04114c13bb947a8d33cdcba8ee3 SHA512 5bcb5ca819b48dc4b24d5ff0689a19c1d897a560fa89fd761d19cca65e46d185d51ec2745f5091fa9383974e0506fe303d6bdc95327a3be154192d580f92c431 EBUILD libclc-20.0.0_pre20241106.ebuild 1268 BLAKE2B bcf40564f542b2f2c4eaf493e74226472d1a3d151293a1c09ab4940aa7296018eb237e6254d545a850b2e3ad2f1b0a838dc3f04114c13bb947a8d33cdcba8ee3 SHA512 5bcb5ca819b48dc4b24d5ff0689a19c1d897a560fa89fd761d19cca65e46d185d51ec2745f5091fa9383974e0506fe303d6bdc95327a3be154192d580f92c431 +EBUILD libclc-20.0.0_pre20241113.ebuild 1268 BLAKE2B bcf40564f542b2f2c4eaf493e74226472d1a3d151293a1c09ab4940aa7296018eb237e6254d545a850b2e3ad2f1b0a838dc3f04114c13bb947a8d33cdcba8ee3 SHA512 5bcb5ca819b48dc4b24d5ff0689a19c1d897a560fa89fd761d19cca65e46d185d51ec2745f5091fa9383974e0506fe303d6bdc95327a3be154192d580f92c431 MISC metadata.xml 362 BLAKE2B 768f93d0058e4da4b420569f3f1771dfa7385ad89540bbc18cf53b5a71e3f060a8afa1112ff37570d7fc9dc3e71619fa3fd8d0cf7b5d3954f5110b19e146df30 SHA512 e6335424da09f668953acd39dcd9b03a30e3b509b34b1de5c72644a3740a5b6b287f10e08405b79bafc8104cc4dc1324b7b9d7990c3b560b0235ae82da8c68a5 diff --git a/dev-libs/libclc/libclc-20.0.0_pre20241113.ebuild b/dev-libs/libclc/libclc-20.0.0_pre20241113.ebuild new file mode 100644 index 000000000000..2b8c5e63c257 --- /dev/null +++ b/dev-libs/libclc/libclc-20.0.0_pre20241113.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LLVM_COMPAT=( {17..18} ) +PYTHON_COMPAT=( python3_{10..13} ) +inherit cmake llvm.org llvm-r1 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" + +BDEPEND=" + ${PYTHON_DEPS} + $(llvm_gen_dep ' + sys-devel/clang:${LLVM_SLOT} + spirv? ( dev-util/spirv-llvm-translator:${LLVM_SLOT} ) + ') +" + +LLVM_COMPONENTS=( libclc ) +llvm.org_set_globals + +pkg_setup() { + llvm-r1_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 +} diff --git a/dev-libs/libgpg-error/Manifest b/dev-libs/libgpg-error/Manifest index a9c0f279af9d..8b3d5abffdc3 100644 --- a/dev-libs/libgpg-error/Manifest +++ b/dev-libs/libgpg-error/Manifest @@ -9,8 +9,11 @@ DIST libgpg-error-1.49.tar.bz2 1081175 BLAKE2B f1d7ce3c8b32a1a98495576b4ed7bf938 DIST libgpg-error-1.49.tar.bz2.sig 238 BLAKE2B ff9b3adbbd587afc09e4b7bc58bfa63446f92b7a42baa541e564ee52d88434bca621686f6db6312e8cd8b81f458ce9ee6307c0e6700ab3dc7d7a46d003c934cc SHA512 39d45939c17755e3dd126506d758a1a86f66827616f270c5b663df50e55692e2ef4f27e6e12a7eb1dbe44afc03b415f1fcb3160990b75980cafe6d9cd5a55ed2 DIST libgpg-error-1.50.tar.bz2 1082003 BLAKE2B 621d9a604585daa1fbd08aaa94f3b177f6265046ccf452317e126e73079c567c555cbb8ab8b63e09b76bdf4f11a1aad7effd118651fe9e9cbcf01229f20ab297 SHA512 96e466d892a50843af6d7c08c0da602518bc6a28836bfc35f0a28cde74d368f57c5c70c65f0f41edb4fc1ca5ebd00f2ece531d8b3eb1bd6db566adbb29bc61ff DIST libgpg-error-1.50.tar.bz2.sig 119 BLAKE2B ee3a8e9221d4df8b37ceef70240ecf79efef045cfbde67f6a8bbc0f58dfa4955ed5a75e3cd31de7644707049919b154c1d9607e370dec7e8f2b0b6cb1b997beb SHA512 02e29838be3225f4894bcebd2c53355a98f5857baa4e9f8a78227a03f849677c35b1d2d009610badd6540dcfe5378b5365abcae77d29ba2d95dd252e9c93c893 +DIST libgpg-error-1.51.tar.bz2 1085510 BLAKE2B 8727a993fb5e589beceafce9d06d843b28ceff80398c33a5655608bdcd3d92ee363389bc209a1dff675b9f78d56f13b78d77e55696c0736612b09275ae0da7f3 SHA512 4489f615c6a0389577a7d1fd7d3917517bb2fe032abd9a6d87dfdbd165dabcf53f8780645934020bf27517b67a064297475888d5b368176cf06bc22f1e735e2b +DIST libgpg-error-1.51.tar.bz2.sig 119 BLAKE2B 34bacbe1923aebc015ea1b975616836dd80278c8edc293474f83633fef59326edfe4043419729de4c8f26c49a6292f7d13a23c3ccda8aea3d1923913df616a5e SHA512 fc793d674c0f5b26efdc71a4420e9743e9dcf8ab646577be3561dc46f15343be42991cf3fe5c49d049f49e929618e7c05dbd32f9e4ceb1d58b90263058621a9e EBUILD libgpg-error-1.47-r1.ebuild 2584 BLAKE2B b01e073ecfca25a22afb7a21589021e8ba348619fec16cbe2e90026c485a51d571dcc079f5a3a2c8bf68851d28cac71d2e9b3db68de41f6664c3c7efec03d171 SHA512 54e96bb770c4cedbf1c7fd590f75f78876dad7fdc0abbcce79dc347b8a25b83f11d67eab9d06ca2a7083ce496cb79be85850ae6946e7ef54f6eec3431b0d82d7 EBUILD libgpg-error-1.48.ebuild 2584 BLAKE2B 2760aaca32c26bd60a516b4fcee3502e9e38728bf6d0f09e5e9291b8d5264a67a789e822d686869dcd7acd38364ef7c0d1dff91cf744e86f0a79cb39f874cb31 SHA512 b68f0497246c706e237cac56a09ab79d66845c222f164d66c47fa9750cfb285b7bb3a2cb54d0a92a49ff8e738b548c31f94719fcf368b155b49bcada4b98c1d3 EBUILD libgpg-error-1.49.ebuild 2703 BLAKE2B 84189f9f6664db8731889d086e1ab82b3764f136608893f153f7a964f085c20465211844d2392aa75bcb0cca96eee53c84466968c36421f9bad38ffda3bdb2b8 SHA512 b89f3d0538e24d0f1660ea98587ae4aac4156d6de335e1597a7837f620bde2bf01e1ae778d409a4d3b48e18cead15cc6d61867109cbc28306b3d7e56c4cda576 EBUILD libgpg-error-1.50.ebuild 2750 BLAKE2B 9e296dd013c8b0f11653b227dcc081a3ef9ca5ec53733f6284e09961bad14a9c5dbf8f5a16618516b5c4bc7b7a47f226e118f2b71b94cce1319e15265921ee2d SHA512 34957757b0c8ad48e93b645feef47da1807daa053922ee5ac5b8a38c362ced1623b409c4b0bc76d0dd271a5bc816c28ac3557f9946462a1bf39274de11bc8e7f +EBUILD libgpg-error-1.51.ebuild 2711 BLAKE2B 817ef19828e99ec3f9c8007a05ba22f9acd3a634918afe439e80e46d47e1a4068e468858459ecb019bbb1d58b723a56bf3335491b77751a8a08dba4a94c85082 SHA512 68c1a3e3d23e276b1c7bec92abba28db65828624cb2480292b2abce2d470f706204277b6e4dc32a7ae678edbf3b4234dfd5d31ca5871a3cd9d60bec796ebde61 MISC metadata.xml 420 BLAKE2B 0b469c533336497584faf0c8a5531c54dd242817d46fb78f1369997b77ec3ea49da3a0ae869488c17639fdee26bc4dee94fb20605db6fa8f6f3dbaeab77d3072 SHA512 22259311b2c83f7b63e859a7196a3fd586c85afbd777327d9a6172a359500160807866b74051836717c42145ed0e289152fb0a374a05bcc7e982d4df3e94b305 diff --git a/dev-libs/libgpg-error/libgpg-error-1.51.ebuild b/dev-libs/libgpg-error/libgpg-error-1.51.ebuild new file mode 100644 index 000000000000..1ef943033047 --- /dev/null +++ b/dev-libs/libgpg-error/libgpg-error-1.51.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Maintainers should: +# 1. Join the "Gentoo" project at https://dev.gnupg.org/project/view/27/ +# 2. Subscribe to release tasks like https://dev.gnupg.org/T6159 +# (find the one for the current release then subscribe to it + +# any subsequent ones linked within so you're covered for a while.) + +VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/gnupg.asc +inherit libtool multilib-minimal toolchain-funcs verify-sig + +DESCRIPTION="Contains error handling functions used by GnuPG software" +HOMEPAGE="https://www.gnupg.org/related_software/libgpg-error/" +SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2" +SRC_URI+=" verify-sig? ( mirror://gnupg/${PN}/${P}.tar.bz2.sig )" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="common-lisp nls static-libs test" +RESTRICT="!test? ( test )" + +RDEPEND="nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] )" +DEPEND="${RDEPEND}" +BDEPEND=" + nls? ( sys-devel/gettext ) + verify-sig? ( sec-keys/openpgp-keys-gnupg ) +" + +MULTILIB_WRAPPED_HEADERS=( + /usr/include/gpg-error.h + /usr/include/gpgrt.h +) + +MULTILIB_CHOST_TOOLS=( + /usr/bin/gpg-error-config + /usr/bin/gpgrt-config +) + +src_prepare() { + default + elibtoolize + + if use prefix ; then + # don't hardcode /usr/xpg4/bin/sh as shell on Solaris + sed -i -e 's:INSTALLSHELLPATH=/usr/xpg4/bin/sh:INSTALLSHELLPATH=/bin/sh:g' configure.ac configure || die + fi + + # This check breaks multilib + cat <<-EOF > src/gpg-error-config-test.sh.in || die + #!@INSTALLSHELLPATH@ + exit 0 + EOF + + # only necessary for as long as we run eautoreconf, configure.ac + # uses ./autogen.sh to generate PACKAGE_VERSION, but autogen.sh is + # not a pure /bin/sh script, so it fails on some hosts + #sed -i -e "1s:.*:#\!${BASH}:" autogen.sh || die + #eautoreconf +} + +multilib_src_configure() { + local myeconfargs=( + $(multilib_is_native_abi || echo --disable-languages) + $(use_enable common-lisp languages) + $(use_enable nls) + # required for sys-power/suspend[crypt], bug 751568 + $(use_enable static-libs static) + $(use_enable test tests) + + # See bug #699206 and its duplicates wrt gpgme-config + # Upstream no longer install this by default and we should + # seek to disable it at some point. + --enable-install-gpg-error-config + + --enable-threads + CC_FOR_BUILD="$(tc-getBUILD_CC)" + $("${S}/configure" --help | grep -o -- '--without-.*-prefix') + ) + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" +} + +multilib_src_install_all() { + einstalldocs + find "${ED}" -type f -name '*.la' -delete || die +} diff --git a/dev-libs/libxml2/Manifest b/dev-libs/libxml2/Manifest index 779a1120208b..9c0a1b6201e6 100644 --- a/dev-libs/libxml2/Manifest +++ b/dev-libs/libxml2/Manifest @@ -8,6 +8,7 @@ DIST libxml2-2.12.8.tar.xz 2643728 BLAKE2B d26fe61e913e73c923eb8140a9080d6b70078 DIST libxml2-2.12.9.tar.xz 2643456 BLAKE2B 769ff564e62c1c0167e5334879ac9e912491c651b6d48a9d21db569002ae86bc4e4490098710a614bc90bbefc44a9dd0af6b02958041dd3bffccf8b5ddc0f7ca SHA512 6e4544ed3ab36d6cb7481d465ceabf223444739d7f41de3e1927309b8716a5eac85520b9bbaf69913f53e052fbfaf68bf27372074daaa24dca9463ce728b4173 DIST libxml2-2.13.1.tar.xz 2579424 BLAKE2B 93cbd3943b0a7a7a07036a3ce01740c37049b44c20f43aaee96ef9a36e86bc108914950d7532740be87995b8eb5c1e6fbb4464c6af0a20233c8a1a206b9a5b83 SHA512 28d280eb5e2f3af9df5adcccced730602e6951fd181b8d00256dbb2138abfe32a4b145fdc00ed8c77a6d322e0929bcb3d5128ad4622877d7f8a059d4b6e011a6 DIST libxml2-2.13.4.tar.xz 2582156 BLAKE2B 6b143fb192625bb1168ecb1e25295761a062923018b39bcabeae07f422c9bb6c7f11e7de8ce728c0d474271407e0777b9e2e5ad30b47e79b9fb79c12beaadf1c SHA512 27bfaa63431798d3aa725b36af2005bda70a20b270e601cc3c8a07cc9fd02a080cb3d2b023eb42606a57b9786469488a7c09b71bdff1a518a0b4271c78c3f940 +DIST libxml2-2.13.5.tar.xz 2586872 BLAKE2B 46c280630638e2c8009c593bbbcf90ccbfffe9ddcc99987c4d91c2223043759f2b4d6511b31b2357c5250ac3b40d96ef05c17b4d2adc61972665f8a0d899dfe8 SHA512 acaecd4e3e95136d1c621f9e5f33976ebca87dfbf83859459e339597c3c57fbc47508a7de16af7fbf0e7e7c59fd6f9a82b2e732e1dd12efd79d666bac64ecf4e DIST xmlts20130923.tar.gz 641522 BLAKE2B 63a47bc69278ef510cd0b3779aed729e1b309e30efa0015d28ed051cc03f9dfddb447ab57b07b3393e8f47393d15473b0e199c34cb1f5f746b15ddfaa55670be SHA512 d5c4d26b324ed21f4e0641cd7f8b76dbf9de80df8b519982e44d41c960df29fd03618e02e9693b2d11ad06d19c4a965274c95a048ec3b9653eacb919a7f8b733 DIST xsts-2002-01-16.tar.gz 6894439 BLAKE2B 1e9ec63d2c104655e64249e07440a04d862fcbcd4d4e19745d81b34994319b510a531c9d6df1491fae1e90b5d0764f0f1a827251ca8df5d613178b0eab01ef25 SHA512 43300af6d39c1e2221b0ed7318fe14c7464eeb6eb030ed1e22eb29b4ab17f014e2a4c8887c3a46ae5d243e3072da27f00f4e285498ae6f1288177d38d1108288 DIST xsts-2004-01-14.tar.gz 2761085 BLAKE2B 41545995fb3a65d053257c376c07d45ffd1041a433bfbdb46d4dd87a5afb60c18c8629a3d988323f9e7a1d709775b5a7e5930276a7121c0725a22705c0976e36 SHA512 32854388d7e720ad67156baf50bf2bae7bd878ca3e35fd7e44e57cad3f434f69d56bbbedd61509f8a1faf01c9eae74a078df8fe130780b182c05c05cb1c39ebe @@ -18,5 +19,6 @@ EBUILD libxml2-2.12.8.ebuild 5242 BLAKE2B b90ffd8f41a13ef711aeb964eb9ab949f8d880 EBUILD libxml2-2.12.9.ebuild 5260 BLAKE2B 1a091b4d093503ac50b30bac6523097dbbf8939cc431915a8ae4b0529baf694e1b093e3d3b72b334983510f76a299b24e8d318b70530eaf3d11c488f415c0119 SHA512 59f66543e3c6cae403418d7b542b17b6073904de4deabd2be24a5727c8bc0660e52d053e189036f6910b43827312704804e1e7895a8550cb202eda06fee0121e EBUILD libxml2-2.13.1.ebuild 4900 BLAKE2B 32890de288b57921b2966cd23846a048b6d6e62a488f1ec497f4545f0821080d12f1638326bc9ce62e49d3c322a393fd06b9312204b2294477dc1a74207c13fd SHA512 55f42a4127318739bc9c35d6f09dbec8e29fe80b5fd27cc3db873c042748f1a5da8356a2e8e7bf7b49f86de24a57d8795ae465d65c5d2cb85835ff314b8ea5a7 EBUILD libxml2-2.13.4.ebuild 4929 BLAKE2B 0e75032d107098974e34c27db656ddfad94adf50dc8c439196958ae5df0011d8e7499ed9e222b0ba4dd1c5848805ab81639a26a63c4ff5cfb4ea650ee5648357 SHA512 fcb2596dbada2f58aaa143100acb0bddc463892ac429efadeb447dc840cfa8f109c72fe7f26724f0cc52327addce47bd2e6017a746c13bfb18ee43d16c81b967 +EBUILD libxml2-2.13.5.ebuild 4929 BLAKE2B 0e75032d107098974e34c27db656ddfad94adf50dc8c439196958ae5df0011d8e7499ed9e222b0ba4dd1c5848805ab81639a26a63c4ff5cfb4ea650ee5648357 SHA512 fcb2596dbada2f58aaa143100acb0bddc463892ac429efadeb447dc840cfa8f109c72fe7f26724f0cc52327addce47bd2e6017a746c13bfb18ee43d16c81b967 EBUILD libxml2-9999.ebuild 4919 BLAKE2B 3e0f278498216f9318528bb2ed2b522309acf5c67e34e36725defe944b09aab9660a6284f948b1e45dee1af588512e605c5dc1e2eb84e6bebead6d857c0795c1 SHA512 47689ae3e3b5d3bd2e5fb92f4ffd20b8fdd5a2550fafe2cd88a1fff7f2946b970b99e379e44ff3f72e4423f62c4b2a5a3ea5b480dca8e431c2177ef69d779b6c MISC metadata.xml 519 BLAKE2B 528be4ec79b54eaed229c84c96656266acffaa2ab68c7b1e6daecdee77bb1109ea56babceff0459125e04326425be28f436a78f697c363920102b94aca25179d SHA512 85804c662dd019e6c4cad05bb691b2058c9b93c190c57a7b4cc2674bee71a805da41159184c1bae9954700e52b41bb104a2d1e66ea4d1799463626befb691d11 diff --git a/dev-libs/libxml2/libxml2-2.13.5.ebuild b/dev-libs/libxml2/libxml2-2.13.5.ebuild new file mode 100644 index 000000000000..e27b1966092f --- /dev/null +++ b/dev-libs/libxml2/libxml2-2.13.5.ebuild @@ -0,0 +1,190 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Note: Please bump in sync with dev-libs/libxslt + +PYTHON_COMPAT=( python3_{10..13} ) +PYTHON_REQ_USE="xml(+)" +inherit autotools python-r1 multilib-minimal + +XSTS_HOME="http://www.w3.org/XML/2004/xml-schema-test-suite" +XSTS_NAME_1="xmlschema2002-01-16" +XSTS_NAME_2="xmlschema2004-01-14" +XSTS_TARBALL_1="xsts-2002-01-16.tar.gz" +XSTS_TARBALL_2="xsts-2004-01-14.tar.gz" +XMLCONF_TARBALL="xmlts20130923.tar.gz" + +DESCRIPTION="XML C parser and toolkit" +HOMEPAGE="https://gitlab.gnome.org/GNOME/libxml2/-/wikis/home" +if [[ ${PV} == 9999 ]] ; then + EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/libxml2" + inherit git-r3 +else + inherit gnome.org + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +fi + +SRC_URI+=" + test? ( + ${XSTS_HOME}/${XSTS_NAME_1}/${XSTS_TARBALL_1} + ${XSTS_HOME}/${XSTS_NAME_2}/${XSTS_TARBALL_2} + https://www.w3.org/XML/Test/${XMLCONF_TARBALL} + ) +" +S="${WORKDIR}/${PN}-${PV%_rc*}" + +LICENSE="MIT" +SLOT="2" +IUSE="examples icu lzma +python readline static-libs test" +RESTRICT="!test? ( test )" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +RDEPEND=" + virtual/libiconv + >=sys-libs/zlib-1.2.8-r1:=[${MULTILIB_USEDEP}] + icu? ( >=dev-libs/icu-51.2-r1:=[${MULTILIB_USEDEP}] ) + lzma? ( >=app-arch/xz-utils-5.0.5-r1:=[${MULTILIB_USEDEP}] ) + python? ( ${PYTHON_DEPS} ) + readline? ( sys-libs/readline:= ) +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +if [[ ${PV} == 9999 ]] ; then + BDEPEND+=" dev-build/gtk-doc-am" +fi + +MULTILIB_CHOST_TOOLS=( + /usr/bin/xml2-config +) + +PATCHES=( + "${FILESDIR}"/${PN}-2.12.9-icu-pkgconfig.patch +) + +src_unpack() { + if [[ ${PV} == 9999 ]] ; then + git-r3_src_unpack + else + local tarname=${P/_rc/-rc}.tar.xz + + # ${A} isn't used to avoid unpacking of test tarballs into ${WORKDIR}, + # as they are needed as tarballs in ${S}/xstc instead and not unpacked + unpack ${tarname} + + if [[ -n ${PATCHSET_VERSION} ]] ; then + unpack ${PN}-${PATCHSET_VERSION}.tar.xz + fi + fi + + cd "${S}" || die + + if use test ; then + cp "${DISTDIR}/${XSTS_TARBALL_1}" \ + "${DISTDIR}/${XSTS_TARBALL_2}" \ + "${S}"/xstc/ \ + || die "Failed to install test tarballs" + unpack ${XMLCONF_TARBALL} + fi +} + +src_prepare() { + default + + # Please do not remove, as else we get references to PORTAGE_TMPDIR + # in /usr/lib/python?.?/site-packages/libxml2mod.la among things. + #elibtoolize + + eautoreconf +} + +multilib_src_configure() { + libxml2_configure() { + ECONF_SOURCE="${S}" econf \ + $(use_with icu) \ + $(use_with lzma) \ + $(use_enable static-libs static) \ + $(multilib_native_use_with readline) \ + $(multilib_native_use_with readline history) \ + --with-legacy \ + "$@" + } + + # Build python bindings separately + libxml2_configure --without-python + + multilib_is_native_abi && use python && + python_foreach_impl run_in_build_dir libxml2_configure --with-python +} + +libxml2_py_emake() { + pushd "${BUILD_DIR}"/python >/dev/null || die + + emake top_builddir="${NATIVE_BUILD_DIR}" "$@" + + popd >/dev/null || die +} + +multilib_src_compile() { + default + + if multilib_is_native_abi && use python ; then + NATIVE_BUILD_DIR="${BUILD_DIR}" + python_foreach_impl run_in_build_dir libxml2_py_emake all + fi +} + +multilib_src_test() { + ln -s "${S}"/xmlconf || die + + emake check + + multilib_is_native_abi && use python && + python_foreach_impl run_in_build_dir libxml2_py_emake check +} + +multilib_src_install() { + emake DESTDIR="${D}" install + + multilib_is_native_abi && use python && + python_foreach_impl run_in_build_dir libxml2_py_emake DESTDIR="${D}" install + + # Hack until automake release is made for the optimise fix + # https://git.savannah.gnu.org/cgit/automake.git/commit/?id=bde43d0481ff540418271ac37012a574a4fcf097 + multilib_is_native_abi && use python && python_foreach_impl python_optimize +} + +multilib_src_install_all() { + einstalldocs + + if ! use examples ; then + rm -rf "${ED}"/usr/share/doc/${PF}/examples || die + rm -rf "${ED}"/usr/share/doc/${PF}/python/examples || die + fi + + rm -rf "${ED}"/usr/share/doc/${PN}-python-${PVR} || die + + find "${ED}" -name '*.la' -delete || die +} + +pkg_postinst() { + # We don't want to do the xmlcatalog during stage1, as xmlcatalog will not + # be in / and stage1 builds to ROOT=/tmp/stage1root. This fixes bug #208887. + if [[ -n "${ROOT}" ]]; then + elog "Skipping XML catalog creation for stage building (bug #208887)." + else + # Need an XML catalog, so no-one writes to a non-existent one + CATALOG="${EROOT}/etc/xml/catalog" + + # We don't want to clobber an existing catalog though, + # only ensure that one is there + # <obz@gentoo.org> + if [[ ! -e "${CATALOG}" ]]; then + [[ -d "${EROOT}/etc/xml" ]] || mkdir -p "${EROOT}/etc/xml" + "${EPREFIX}"/usr/bin/xmlcatalog --create > "${CATALOG}" + einfo "Created XML catalog in ${CATALOG}" + fi + fi +} diff --git a/dev-libs/link-grammar/Manifest b/dev-libs/link-grammar/Manifest index cbced32863ac..f97783a88f92 100644 --- a/dev-libs/link-grammar/Manifest +++ b/dev-libs/link-grammar/Manifest @@ -1,5 +1,3 @@ -DIST link-grammar-5.12.4.tar.gz 4720724 BLAKE2B 6573895298128165d7f840a13aad124418dbd1b9c70436dbe2bd65b3fd1883777e72da13f5196031696edb7cdc6c9d86acd5fdd4d1aa8fb295a136b2ba0568cf SHA512 fd5318c21202c17902de996882fd8630c7e95622b8ebe6877a334df22ff678a6040e0519bdabfa1138aaefdf3a7c20cbfe9e65bdce4dfe568729c9ba5a2d6fe5 DIST link-grammar-5.12.5.tar.gz 4727809 BLAKE2B 76654a94bb1222761bc9107f2e129d6c7606e4cc0fa03b4564705714c8ac35f9562c28d66924b24143c8bbd6365f77714ad233f163f8f83de1da73ac66213f07 SHA512 2637d6b571ae027d8813da188a555a8b91afa0a216921842b43e4cf6aa4d799ea5342fe17081c13346c6bbecc46032765b6f5d978b53cee570e329b6b141094b -EBUILD link-grammar-5.12.4.ebuild 2915 BLAKE2B 0672fe6886cb1f4aafa12899eaa81f7116aa2b9eff5a3a39f00956da5a90c1922355be6ccc27855b8a74272bd8eb7b4a9921516e5fbebddc2798895cfa46d3ae SHA512 c21bd19d17ef15f9f570023de11cf0a2c306440ae117d29e11dac5971404726099b965465453686ea504a421d01c69c208bfc7cfb618a7980d39e3f59037569d -EBUILD link-grammar-5.12.5.ebuild 2924 BLAKE2B b9f0cdfba1dd729edecccb50a3de3a3fb0ef03b561bc98899ea40f730676f84a37e2f7001d252c070b6e5466e00a6e9e0f6d4a3b37b60e42a94a77537a578045 SHA512 5fbe6b7a51322c4515b64741145c1b7a525982efa445fb157e0900c4252ac8861954ab1b5f0bd72cf7be1432832465541bc5f1cd71d4642f332ace52fda53b93 +EBUILD link-grammar-5.12.5.ebuild 2923 BLAKE2B bd3271c8b762a5199d88c614f555744fa01a0ad29daf004aa3062af4c73de951d44ef59dbafd65df176ed10743108b1a6fde200900920c5f2ed6093bd59cbc2f SHA512 656501e38dccab62e1086382809f700f19d75446c5c9a98a23e1f33790b2b2f86477d2c7c183a3441ca2e35938c12650ea48ecd3155a9c248ef41f3895902349 MISC metadata.xml 1197 BLAKE2B fac6dd40856d97100ee06cdcd340e660bb2ffe527df31983165beec9d194839336dfddb54be33561560ac2c79d8bad12809eef53abd4059b7c74b7494d728354 SHA512 dcb16b8afa977639e3fe8633762fc7a26d8ab095da15d630bedc6ba65e4c82ec5f0bedbd564b6ad0490790723c0a04065a5cab536aff93cdcf8eab5f1a2d503e diff --git a/dev-libs/link-grammar/link-grammar-5.12.4.ebuild b/dev-libs/link-grammar/link-grammar-5.12.4.ebuild deleted file mode 100644 index 814820f478ec..000000000000 --- a/dev-libs/link-grammar/link-grammar-5.12.4.ebuild +++ /dev/null @@ -1,116 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{10..13} ) - -inherit autotools python-r1 out-of-source - -DESCRIPTION="A Syntactic English parser" -HOMEPAGE="https://www.abisource.com/projects/link-grammar/ https://www.link.cs.cmu.edu/link/" -SRC_URI="https://www.gnucash.org/link-grammar/downloads/${PV}/${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0/5" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ppc ppc64 ~riscv sparc ~x86" -IUSE="aspell +hunspell python" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -# XXX: sqlite is automagic -# Does not build with >=sci-mathematics/minisat-2, bug #593662 -RDEPEND=" - dev-db/sqlite:3 - dev-libs/libpcre2:= - aspell? ( app-text/aspell ) - hunspell? ( app-text/hunspell ) - python? ( ${PYTHON_DEPS} )" -DEPEND="${RDEPEND}" -BDEPEND=" - dev-lang/swig:0 - dev-build/autoconf-archive - sys-devel/flex - virtual/pkgconfig" - -QA_CONFIG_IMPL_DECL_SKIP=( - # _AC_UNDECLARED_BUILTIN false positive - strchr -) - -pkg_setup() { - if use aspell && use hunspell; then - ewarn "You have enabled 'aspell' and 'hunspell' support, but both cannot coexist," - ewarn "only hunspell will be built. Press Ctrl+C and set only 'aspell' USE flag if" - ewarn "you want aspell support." - fi -} - -src_prepare() { - default - eautoreconf -} - -my_src_configure() { - local myconf=( - --disable-maintainer-mode - --disable-editline - # java is hopelessly broken, invokes maven at build time (bug #806157) - --disable-java-bindings - --disable-perl-bindings - --disable-sat-solver - --with-regexlib=pcre2 - $(use_enable aspell) - $(use_enable hunspell) - $(usev hunspell --with-hunspell-dictdir="${EPREFIX}"/usr/share/myspell) - # requires flex, since reflex support is flaky, #890158 - LEX="flex" - ) - - econf \ - --disable-python-bindings \ - "${myconf[@]}" - - if use python; then - python_configure() { - econf \ - --enable-python-bindings \ - "${myconf[@]}" - } - python_foreach_impl run_in_build_dir python_configure - fi -} - -my_src_compile() { - local -x MAIN_BUILD_DIR="${BUILD_DIR}" - default - - if use python; then - python_compile() { - emake -C bindings/python \ - VPATH="${S}:${MAIN_BUILD_DIR}" \ - _clinkgrammar_la_DEPENDENCIES="${MAIN_BUILD_DIR}"/link-grammar/liblink-grammar.la \ - _clinkgrammar_la_LIBADD="${MAIN_BUILD_DIR}"/link-grammar/liblink-grammar.la - } - python_foreach_impl run_in_build_dir python_compile - fi -} - -my_src_install() { - local -x MAIN_BUILD_DIR="${BUILD_DIR}" - default - - if use python; then - python_install() { - emake -C bindings/python \ - VPATH="${S}:${MAIN_BUILD_DIR}" \ - _clinkgrammar_la_DEPENDENCIES="${MAIN_BUILD_DIR}"/link-grammar/liblink-grammar.la \ - _clinkgrammar_la_LIBADD="${MAIN_BUILD_DIR}"/link-grammar/liblink-grammar.la \ - DESTDIR="${D}" \ - install - } - python_foreach_impl run_in_build_dir python_install - fi - - # no static archives - find "${ED}" -name '*.la' -delete || die -} diff --git a/dev-libs/link-grammar/link-grammar-5.12.5.ebuild b/dev-libs/link-grammar/link-grammar-5.12.5.ebuild index 81ae25150b9e..326827c983ac 100644 --- a/dev-libs/link-grammar/link-grammar-5.12.5.ebuild +++ b/dev-libs/link-grammar/link-grammar-5.12.5.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://www.gnucash.org/link-grammar/downloads/${PV}/${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0/5" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ppc ppc64 ~riscv sparc ~x86" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ppc ppc64 ~riscv sparc ~x86" IUSE="aspell +hunspell python" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" diff --git a/dev-libs/npth/Manifest b/dev-libs/npth/Manifest index 9acf40c022ac..d0eefc206e11 100644 --- a/dev-libs/npth/Manifest +++ b/dev-libs/npth/Manifest @@ -1,6 +1,8 @@ AUX npth-1.7-musl.patch 402 BLAKE2B cccb3266238fb4879eb0a80a1d336e58b3647021c3b71e22c0e980050c3790cba3bca21e90b1632ea21e621ebac052df086d33c7a4074739820fbb9a5c03c695 SHA512 b94be7c35f453c579f59b1b49aa2f599bd21b6aa9c85745cdb4893cae5bd737148f9cf6e2afeb8e50d6659e38800048ca8adec687e9c2ac9f461b5fc0c556be4 DIST npth-1.6.tar.bz2 300486 BLAKE2B 665fdb2f4cbe59750b6b4b7c2701ee80a23a122df10c9f8be47c4af5f3bf5968f709637ab3f4878bb68609752fbb6ce1364e109fdfeba64e4db258733a33f3fc SHA512 2ed1012e14a9d10665420b9a23628be7e206fd9348111ec751349b93557ee69f1176bcf7e6b195b35b1c44a5e0e81ee33b713f03d79a33d1ecd9037035afeda2 DIST npth-1.7.tar.bz2 313213 BLAKE2B 39bc5857fb61a4264bef6ff23c28755d2a3b3ceef93034aefd5cf1c2ad905adf696c6753ebd5cea5e0a875df4ecb97db03e023a50a27f51ec0641bbc36b54089 SHA512 8893023bcf953a3f7c490cf8116bed323a9d4af2bea35277e919f437916fda8b8e68ded28ec1777717cf9187c504892556159cbdb8bc02ed4a8b30b3d897d244 +DIST npth-1.8.tar.bz2 317739 BLAKE2B 554620f6a45f57bb958d245f7464abffd565b592941f0c404ce384c854be57ee35754a78dcf6afac751ee87e1df230bf3d2b78fb37cb1ef3e5ea534ddfd4ef2a SHA512 34fdeea3d8a7a594d8fdbcc6d5d389b5c8e282e8e84c1491b1e51960c0fa007df6a1d62543f0107f0772f3215557d4b25c2a9c7067cb0ae2f8de7b4d63d09fb4 EBUILD npth-1.6-r1.ebuild 873 BLAKE2B 03663ce220dde0907c502a1683eae01b73aa4f31a2a285d8ccaaf08c3fba528aa13e8d0cc38522b7db5be20c9634e44a0e22d10e2a19d6db4acd60a07741b33a SHA512 369b0a42b5bcb3d09b64ee3adb1a60fa2674516e4e0c27ea5a9d0ec3aed63d4d85ab764322e40371c151bcb928c16bb63988283d3f30b4d225601b9b39c42908 EBUILD npth-1.7-r1.ebuild 855 BLAKE2B 2c271be58b7f4e23381cde3ea098e6cdca4cc4ac67df78b5cc816610746ec9e3a5a7d7921069ffaf5440c7153bab3d615411e8715718b58af125f44fc1c53847 SHA512 0d0407317fc8dbdc613848ef1a20e828c5c4c334477f61ba3f1a308cc02d09ecb33b97fd0060740ae2310cd528b513015926405d2f09e1c094bfba29277814c0 +EBUILD npth-1.8.ebuild 823 BLAKE2B 0f4665e5a49617ce27547083e7626b38a422773c455b7eac48d3f65afb427417aabae41cbc8b5ea165f7ce25e323330caee102bda539e2edc07675f5149262a7 SHA512 0e4260cc655bfd6b268197e4df3983e0fe8cb036159f792a6ce8c78e5fa4229839b0e8fd10b3f0d889e6a02a75e6ca516ad48115777c71422af0a581da9bb1e3 MISC metadata.xml 248 BLAKE2B 8635d7e87f0f2de85f967cadf3324aecfe013decb6f6dbc4338f2bdbb3fad5b61b5a58780f4c6d4759ec51a1b89af067b689b716ad34c71b6f09887536da1493 SHA512 fb771f3d411fc1ab3e5600af41fc51d254b7c2c4d057e80e582fcf2f355f35204e7f61dba852bed35f21c87f2063d7ee0d3a5628395e4ed945955a818deeb37c diff --git a/dev-libs/npth/npth-1.8.ebuild b/dev-libs/npth/npth-1.8.ebuild new file mode 100644 index 000000000000..b83032c047d3 --- /dev/null +++ b/dev-libs/npth/npth-1.8.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic + +DESCRIPTION="New GNU Portable Threads Library" +HOMEPAGE="https://git.gnupg.org/cgi-bin/gitweb.cgi?p=npth.git" +SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" +IUSE="test" +RESTRICT="!test? ( test )" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + append-ldflags $(test-flags-CCLD -Wl,--undefined-version) + + econf \ + $(use_enable test tests) \ + --enable-install-npth-config +} + +src_install() { + default + + # no static archives + find "${ED}" -name '*.la' -delete || die +} diff --git a/dev-libs/oneDNN/Manifest b/dev-libs/oneDNN/Manifest index 2246542711cd..ff3d9d490ec5 100644 --- a/dev-libs/oneDNN/Manifest +++ b/dev-libs/oneDNN/Manifest @@ -1,12 +1,6 @@ AUX oneDNN-3.3.3-include-cstdint.patch 384 BLAKE2B dd958da1fbb85ebb4946025e9dc53f1263f0e6da06add1a3689bed951f6eeebbdc2f925961c04f3f97d3ad458dcd0819154023f74558f12c9470e767cfa77220 SHA512 e03ed31bca57ffa7f1c8d672a120e0411d41e211435964f5ef751bf22791fc438aa282c68255dd88e7aeb3396d6ab0c77e616d8a16fa1c65f6c8c60d8fc3ff01 -DIST oneDNN-3.3.6.tar.gz 11579147 BLAKE2B 280103e99a90ee450ff1077bac6408f25f1ed32d86f908210b7e6a897692478a766e8d709dc3a42b06d90659aa9396a537708ea34c03c2da229c8e7a119d2c1e SHA512 02f51f61823300fb6beba833b4644c9eae5e3f7741453cf0a09d55f7cad9fc86d63e4bb1f17cbf92c37e8ecf1af109f300e110ff6191c1d26cd1350fe1f8d14f -DIST oneDNN-3.4.3.tar.gz 12866333 BLAKE2B c1fe1d485ed174e08e6eada6d26eb1c94a99667343fc47a8492e34c66ee85e576ae71308805b76e87774446d2fa7c9496dd16546a5d592c654a9e10db0a1e582 SHA512 eb60137ee0196cd82e1e0300ba1c58afbedb342d9619c474d399946c7dcb34f8ca1211fad1070cd531189340b2ac1f3926ec4a95f72be8aef485e5f54a795bda -DIST oneDNN-3.4.tar.gz 12858442 BLAKE2B 56af66755b133d8f6590d3712b4d8c7e331c5b6e4d92f99c7773a6be64331fa2a03159cf96ab4d979d0586c2bf060757895393eca5a2b06af2cfe80b80642aff SHA512 8a4ae6251e12ee641a432011da8360e08866ac005a5930d3a6278ce470d8b4a88afbd5538504274ca5e0bf053845efb41c834acaab83121d9d986a41f31ff718 DIST oneDNN-3.5.2.tar.gz 13190514 BLAKE2B 4d274fcdc9d30de4df5d6c949932e65f1ddefa56d96ec87c60aee2122cd8f250bbe6dfffb329ca9e413dd13fdb5478d3470076f0913cc53b1d418a2997f88377 SHA512 80b6eda44fc600eff8b98ce58937b98440ab3cf18e0022df366e417189ae42e722e6b11f9c2c01049313bd9d3f7e74eff8efc6ac8590b602d16b32265dd74578 -DIST oneDNN-3.5.tar.gz 13189199 BLAKE2B 3e7df5feb6c95cb60a65352bfe606fddd17f4dae322762ca0682e8afab27dce9018252bfac7b06f0154bc79a66c6ce3adb387f94c2fcd561fe695d43b732d6c5 SHA512 3acb935c8e826586b54e573650ac842e7bcd5a44d2578241c169a31cf9f56d9e5bc0fd6f9de4617d5dc497e5626f88e6d00f06be2161ba2b0af94569dfdcae94 -EBUILD oneDNN-3.3.6.ebuild 3359 BLAKE2B 024db5675c0447cea91c260cabd06b6847ad21607134ac213f5d2cf5458eb10721f9a97f59509bc69cf20b12b04dffe27d70484560711921ecf9b79faeb236f1 SHA512 52f542c8fe049bb35e4aed3f1c196786002be9eae3ae30030cb2d2be663ce1faac59abcc2a9b20daed92efeb1c4055768e68a32aae66e12aa46909548a9b2760 -EBUILD oneDNN-3.4.3.ebuild 3405 BLAKE2B 1fd57c08845b0a2a80e7b51a50bd3aa91e08e39b4b76d032d8cb18f4e4ce286976aa8c442a1552193e53b80c3f777d22dcfa97817be5a12563f69e2c1ba4357f SHA512 d44a848fe14d9fde8c622a039282359bbd306b2f64e5884ccc2dc6e35443f0b7572053e869c3b0de2d8fd53ece0f04240c2c908f32fe95266c34d89bd2faa93c -EBUILD oneDNN-3.4.ebuild 3405 BLAKE2B 1fd57c08845b0a2a80e7b51a50bd3aa91e08e39b4b76d032d8cb18f4e4ce286976aa8c442a1552193e53b80c3f777d22dcfa97817be5a12563f69e2c1ba4357f SHA512 d44a848fe14d9fde8c622a039282359bbd306b2f64e5884ccc2dc6e35443f0b7572053e869c3b0de2d8fd53ece0f04240c2c908f32fe95266c34d89bd2faa93c +DIST oneDNN-3.6.1.tar.gz 13786059 BLAKE2B 399f9213614527eea93e12d53b37cbf6199c9da6308a4ea7c1a73b6759a9e3e81a25daa9582ae8d2bb4423501c3536ff59adafbe686ccf311e1794ef6394c09b SHA512 5d505b20cb81aad48995c53456277bb6bf96454aadb882093b9e655a4a8130fde0bfdd56740c8a1af6ed9217feb0eb58aabdb7d819728264e342c7b184562596 EBUILD oneDNN-3.5.2.ebuild 3405 BLAKE2B 1fd57c08845b0a2a80e7b51a50bd3aa91e08e39b4b76d032d8cb18f4e4ce286976aa8c442a1552193e53b80c3f777d22dcfa97817be5a12563f69e2c1ba4357f SHA512 d44a848fe14d9fde8c622a039282359bbd306b2f64e5884ccc2dc6e35443f0b7572053e869c3b0de2d8fd53ece0f04240c2c908f32fe95266c34d89bd2faa93c -EBUILD oneDNN-3.5.ebuild 3405 BLAKE2B 1fd57c08845b0a2a80e7b51a50bd3aa91e08e39b4b76d032d8cb18f4e4ce286976aa8c442a1552193e53b80c3f777d22dcfa97817be5a12563f69e2c1ba4357f SHA512 d44a848fe14d9fde8c622a039282359bbd306b2f64e5884ccc2dc6e35443f0b7572053e869c3b0de2d8fd53ece0f04240c2c908f32fe95266c34d89bd2faa93c +EBUILD oneDNN-3.6.1.ebuild 3405 BLAKE2B 1fd57c08845b0a2a80e7b51a50bd3aa91e08e39b4b76d032d8cb18f4e4ce286976aa8c442a1552193e53b80c3f777d22dcfa97817be5a12563f69e2c1ba4357f SHA512 d44a848fe14d9fde8c622a039282359bbd306b2f64e5884ccc2dc6e35443f0b7572053e869c3b0de2d8fd53ece0f04240c2c908f32fe95266c34d89bd2faa93c MISC metadata.xml 777 BLAKE2B 33c65c97e0c8132e315aa389c395407e8985fbe1607222f2affb04534c33e4df14776d90f3293fc651d7892f703cc8eff5803d075291c979bcd828aa51ab1778 SHA512 9b0c2354f69d0e2656bba2995fb956f16d6fad65887f240b670548d244074e7fe92bff73afd379e9d9a208c39ac7da01de97463aa65c37dd51aded32228aafd3 diff --git a/dev-libs/oneDNN/oneDNN-3.3.6.ebuild b/dev-libs/oneDNN/oneDNN-3.3.6.ebuild deleted file mode 100644 index f67b93c73e22..000000000000 --- a/dev-libs/oneDNN/oneDNN-3.3.6.ebuild +++ /dev/null @@ -1,134 +0,0 @@ -# Copyright 2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DOCS_BUILDER="doxygen" -DOCS_DIR="${WORKDIR}/${P}_build" - -# oneDNN has its own FindBLAS.cmake file to find MKL (in a non-standard way). -# Removing of CMake modules is disabled. -CMAKE_REMOVE_MODULES_LIST=( none ) - -# There is additional sphinx documentation but we are missing dependency doxyrest. -inherit cmake docs multiprocessing toolchain-funcs - -DESCRIPTION="oneAPI Deep Neural Network Library" -HOMEPAGE="https://github.com/oneapi-src/oneDNN" -SRC_URI="https://github.com/oneapi-src/oneDNN/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64" - -IUSE="test mkl cblas static-libs +openmp" - -RESTRICT="!test? ( test )" - -DEPEND=" - mkl? ( sci-libs/mkl ) - cblas? ( !mkl? ( virtual/cblas ) ) -" -RDEPEND="${DEPEND}" -BDEPEND=" - openmp? ( - || ( - sys-devel/gcc[openmp] - sys-devel/clang-runtime[openmp] - ) - ) -" - -PATCHES=( - "${FILESDIR}/${PN}-3.3.3-include-cstdint.patch" -) - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -src_configure() { - if ! use openmp ; then - ewarn "WARNING: oneDNN is being built with sequential runtime." - ewarn "Proceeding might lead to highly sub-optimal performance." - ewarn "Conside enabling \"openmp\" USE flag." - fi - - local mycmakeargs=( - -DDNNL_LIBRARY_TYPE=$(usex static-libs STATIC SHARED) - -DDNNL_CPU_RUNTIME=$(usex openmp OMP SEQ) - -DDNNL_GPU_RUNTIME=NONE - -DDNNL_BUILD_EXAMPLES=OFF - -DDNNL_BUILD_TESTS="$(usex test)" - -DDNNL_ENABLE_CONCURRENT_EXEC=OFF - -DDNNL_ENABLE_JIT_PROFILING=ON - -DDNNL_ENABLE_ITT_TASKS=ON - -DDNNL_ENABLE_PRIMITIVE_CACHE=ON - -DDNNL_ENABLE_MAX_CPU_ISA=ON - -DDNNL_ENABLE_CPU_ISA_HINTS=ON - -DDNNL_ENABLE_WORKLOAD=TRAINING - -DDNNL_ENABLE_PRIMITIVE=ALL - -DDNNL_ENABLE_PRIMITIVE_GPU_ISA=ALL - -DDNNL_EXPERIMENTAL=OFF - -DDNNL_VERBOSE=ON - -DDNNL_DEV_MODE=OFF - -DDNNL_AARCH64_USE_ACL=OFF - -DDNNL_GPU_VENDOR=INTEL - -DDNNL_LIBRARY_NAME=dnnl - -DONEDNN_BUILD_GRAPH=ON - -DONEDNN_ENABLE_GRAPH_DUMP=OFF - -DONEDNN_EXPERIMENTAL_GRAPH_COMPILER_BACKEND=OFF - -DDNNL_ENABLE_PRIMITIVE_CPU_ISA=ALL - -DONEDNN_ENABLE_GEMM_KERNELS_ISA=ALL - -Wno-dev - ) - - if use mkl ; then - if [ -e "${EPREFIX}"/opt/intel/oneapi/mkl/latest/env/vars.sh ]; then - source "${EPREFIX}"/opt/intel/oneapi/mkl/latest/env/vars.sh || die - else - # bug 923109: sci-libs/mkl-2020.4.304 has no vars.sh, configure it manually - export CPATH="${EPREFIX}"/usr/include/mkl - export MKLROOT="${EPREFIX}"/usr - fi - - mycmakeargs+=( -DDNNL_BLAS_VENDOR=MKL ) - elif use cblas; then - mycmakeargs+=( -DDNNL_BLAS_VENDOR=ANY -DBLA_VENDOR=Generic -DBLAS_LIBRARIES=-lcblas ) - else - mycmakeargs+=( -DDNNL_BLAS_VENDOR=NONE ) - fi - - cmake_src_configure -} - -src_compile() { - cmake_src_compile - docs_compile -} - -src_install() { - cmake_src_install - - # Correct docdir - mv "${ED}/usr/share/doc/dnnl"* "${ED}/usr/share/doc/${PF}" || die -} - -src_test() { - local CMAKE_SKIP_TESTS=( - # Crashes in sandbox (see #922886 and #923013); - # waits for sys-apps/sandbox-2.39 release and stabilization. - test_graph_unit_cpu - ) - - if use openmp ; then - # Don't run tests in parallel, each test is already parallelized - OMP_NUM_THREADS=$(makeopts_jobs) cmake_src_test -j1 - else - cmake_src_test - fi -} diff --git a/dev-libs/oneDNN/oneDNN-3.4.ebuild b/dev-libs/oneDNN/oneDNN-3.4.ebuild deleted file mode 100644 index f63e938f040c..000000000000 --- a/dev-libs/oneDNN/oneDNN-3.4.ebuild +++ /dev/null @@ -1,133 +0,0 @@ -# Copyright 2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DOCS_BUILDER="doxygen" -DOCS_DIR="${WORKDIR}/${P}_build" - -# oneDNN has its own FindBLAS.cmake file to find MKL (in a non-standard way). -# Removing of CMake modules is disabled. -CMAKE_REMOVE_MODULES_LIST=( none ) - -# There is additional sphinx documentation but we are missing dependency doxyrest. -inherit cmake docs multiprocessing toolchain-funcs - -DESCRIPTION="oneAPI Deep Neural Network Library" -HOMEPAGE="https://github.com/oneapi-src/oneDNN" -SRC_URI="https://github.com/oneapi-src/oneDNN/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64" - -IUSE="test mkl cblas static-libs +openmp" - -RESTRICT="!test? ( test )" - -DEPEND=" - mkl? ( sci-libs/mkl ) - cblas? ( !mkl? ( virtual/cblas ) ) -" -RDEPEND="${DEPEND}" -BDEPEND=" - openmp? ( - || ( - sys-devel/gcc[openmp] - sys-devel/clang-runtime[openmp] - ) - ) -" - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -src_configure() { - if ! use openmp ; then - ewarn "WARNING: oneDNN is being built with sequential runtime." - ewarn "Proceeding might lead to highly sub-optimal performance." - ewarn "Conside enabling \"openmp\" USE flag." - fi - - local mycmakeargs=( - -DDNNL_LIBRARY_TYPE=$(usex static-libs STATIC SHARED) - -DDNNL_CPU_RUNTIME=$(usex openmp OMP SEQ) - -DDNNL_GPU_RUNTIME=NONE - -DDNNL_BUILD_EXAMPLES=OFF - -DDNNL_BUILD_TESTS="$(usex test)" - -DDNNL_ENABLE_CONCURRENT_EXEC=OFF - -DDNNL_ENABLE_JIT_PROFILING=ON - -DDNNL_ENABLE_ITT_TASKS=ON - -DDNNL_ENABLE_PRIMITIVE_CACHE=ON - -DDNNL_ENABLE_MAX_CPU_ISA=ON - -DDNNL_ENABLE_CPU_ISA_HINTS=ON - -DDNNL_ENABLE_WORKLOAD=TRAINING - -DDNNL_ENABLE_PRIMITIVE=ALL - -DDNNL_ENABLE_PRIMITIVE_GPU_ISA=ALL - -DDNNL_EXPERIMENTAL=OFF - -DDNNL_VERBOSE=ON - -DDNNL_DEV_MODE=OFF - -DDNNL_AARCH64_USE_ACL=OFF - -DDNNL_GPU_VENDOR=INTEL - -DDNNL_LIBRARY_NAME=dnnl - -DONEDNN_BUILD_GRAPH=ON - -DONEDNN_ENABLE_GRAPH_DUMP=OFF - -DONEDNN_EXPERIMENTAL_GRAPH_COMPILER_BACKEND=OFF - -DDNNL_ENABLE_PRIMITIVE_CPU_ISA=ALL - -DONEDNN_ENABLE_GEMM_KERNELS_ISA=ALL - -Wno-dev - ) - - if use mkl ; then - if [ -e "${EPREFIX}"/opt/intel/oneapi/mkl/latest/env/vars.sh ]; then - source "${EPREFIX}"/opt/intel/oneapi/mkl/latest/env/vars.sh || die - else - # bug 923109: sci-libs/mkl-2020.4.304 has no vars.sh, configure it manually - export CPATH="${EPREFIX}"/usr/include/mkl - export MKLROOT="${EPREFIX}"/usr - fi - - mycmakeargs+=( -DDNNL_BLAS_VENDOR=MKL ) - elif use cblas; then - mycmakeargs+=( -DDNNL_BLAS_VENDOR=ANY -DBLA_VENDOR=Generic -DBLAS_LIBRARIES=-lcblas ) - else - mycmakeargs+=( -DDNNL_BLAS_VENDOR=NONE ) - fi - - cmake_src_configure -} - -src_compile() { - cmake_src_compile - docs_compile -} - -src_install() { - cmake_src_install - - # Correct docdir - mv "${ED}/usr/share/doc/dnnl"* "${ED}/usr/share/doc/${PF}" || die -} - -src_test() { - local CMAKE_SKIP_TESTS=( - # Crashes in sandbox (see #922886 and #923013); - # waits for sys-apps/sandbox-2.39 release and stabilization. - test_graph_unit_interface - test_graph_unit_dnnl_layout_propagator - test_graph_unit_dnnl_op_executable - test_graph_unit_utils - ) - - if use openmp ; then - # Don't run tests in parallel, each test is already parallelized - OMP_NUM_THREADS=$(makeopts_jobs) cmake_src_test -j1 - else - cmake_src_test - fi -} diff --git a/dev-libs/oneDNN/oneDNN-3.5.ebuild b/dev-libs/oneDNN/oneDNN-3.5.ebuild deleted file mode 100644 index f63e938f040c..000000000000 --- a/dev-libs/oneDNN/oneDNN-3.5.ebuild +++ /dev/null @@ -1,133 +0,0 @@ -# Copyright 2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DOCS_BUILDER="doxygen" -DOCS_DIR="${WORKDIR}/${P}_build" - -# oneDNN has its own FindBLAS.cmake file to find MKL (in a non-standard way). -# Removing of CMake modules is disabled. -CMAKE_REMOVE_MODULES_LIST=( none ) - -# There is additional sphinx documentation but we are missing dependency doxyrest. -inherit cmake docs multiprocessing toolchain-funcs - -DESCRIPTION="oneAPI Deep Neural Network Library" -HOMEPAGE="https://github.com/oneapi-src/oneDNN" -SRC_URI="https://github.com/oneapi-src/oneDNN/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64" - -IUSE="test mkl cblas static-libs +openmp" - -RESTRICT="!test? ( test )" - -DEPEND=" - mkl? ( sci-libs/mkl ) - cblas? ( !mkl? ( virtual/cblas ) ) -" -RDEPEND="${DEPEND}" -BDEPEND=" - openmp? ( - || ( - sys-devel/gcc[openmp] - sys-devel/clang-runtime[openmp] - ) - ) -" - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -src_configure() { - if ! use openmp ; then - ewarn "WARNING: oneDNN is being built with sequential runtime." - ewarn "Proceeding might lead to highly sub-optimal performance." - ewarn "Conside enabling \"openmp\" USE flag." - fi - - local mycmakeargs=( - -DDNNL_LIBRARY_TYPE=$(usex static-libs STATIC SHARED) - -DDNNL_CPU_RUNTIME=$(usex openmp OMP SEQ) - -DDNNL_GPU_RUNTIME=NONE - -DDNNL_BUILD_EXAMPLES=OFF - -DDNNL_BUILD_TESTS="$(usex test)" - -DDNNL_ENABLE_CONCURRENT_EXEC=OFF - -DDNNL_ENABLE_JIT_PROFILING=ON - -DDNNL_ENABLE_ITT_TASKS=ON - -DDNNL_ENABLE_PRIMITIVE_CACHE=ON - -DDNNL_ENABLE_MAX_CPU_ISA=ON - -DDNNL_ENABLE_CPU_ISA_HINTS=ON - -DDNNL_ENABLE_WORKLOAD=TRAINING - -DDNNL_ENABLE_PRIMITIVE=ALL - -DDNNL_ENABLE_PRIMITIVE_GPU_ISA=ALL - -DDNNL_EXPERIMENTAL=OFF - -DDNNL_VERBOSE=ON - -DDNNL_DEV_MODE=OFF - -DDNNL_AARCH64_USE_ACL=OFF - -DDNNL_GPU_VENDOR=INTEL - -DDNNL_LIBRARY_NAME=dnnl - -DONEDNN_BUILD_GRAPH=ON - -DONEDNN_ENABLE_GRAPH_DUMP=OFF - -DONEDNN_EXPERIMENTAL_GRAPH_COMPILER_BACKEND=OFF - -DDNNL_ENABLE_PRIMITIVE_CPU_ISA=ALL - -DONEDNN_ENABLE_GEMM_KERNELS_ISA=ALL - -Wno-dev - ) - - if use mkl ; then - if [ -e "${EPREFIX}"/opt/intel/oneapi/mkl/latest/env/vars.sh ]; then - source "${EPREFIX}"/opt/intel/oneapi/mkl/latest/env/vars.sh || die - else - # bug 923109: sci-libs/mkl-2020.4.304 has no vars.sh, configure it manually - export CPATH="${EPREFIX}"/usr/include/mkl - export MKLROOT="${EPREFIX}"/usr - fi - - mycmakeargs+=( -DDNNL_BLAS_VENDOR=MKL ) - elif use cblas; then - mycmakeargs+=( -DDNNL_BLAS_VENDOR=ANY -DBLA_VENDOR=Generic -DBLAS_LIBRARIES=-lcblas ) - else - mycmakeargs+=( -DDNNL_BLAS_VENDOR=NONE ) - fi - - cmake_src_configure -} - -src_compile() { - cmake_src_compile - docs_compile -} - -src_install() { - cmake_src_install - - # Correct docdir - mv "${ED}/usr/share/doc/dnnl"* "${ED}/usr/share/doc/${PF}" || die -} - -src_test() { - local CMAKE_SKIP_TESTS=( - # Crashes in sandbox (see #922886 and #923013); - # waits for sys-apps/sandbox-2.39 release and stabilization. - test_graph_unit_interface - test_graph_unit_dnnl_layout_propagator - test_graph_unit_dnnl_op_executable - test_graph_unit_utils - ) - - if use openmp ; then - # Don't run tests in parallel, each test is already parallelized - OMP_NUM_THREADS=$(makeopts_jobs) cmake_src_test -j1 - else - cmake_src_test - fi -} diff --git a/dev-libs/oneDNN/oneDNN-3.4.3.ebuild b/dev-libs/oneDNN/oneDNN-3.6.1.ebuild index f63e938f040c..f63e938f040c 100644 --- a/dev-libs/oneDNN/oneDNN-3.4.3.ebuild +++ b/dev-libs/oneDNN/oneDNN-3.6.1.ebuild |