diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-07-15 12:27:33 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-07-15 12:27:33 +0100 |
commit | 868fd5dc8aab84930cfaa5252b8be06b35552765 (patch) | |
tree | 0c0cebf818c30c6f871f00ce1e7599775a7e561c /sci-libs | |
parent | f7adcd4ee556b2c3a420239c13fb74113d791f6a (diff) |
gentoo auto-resync : 15:07:2024 - 12:27:33
Diffstat (limited to 'sci-libs')
21 files changed, 34 insertions, 702 deletions
diff --git a/sci-libs/Manifest.gz b/sci-libs/Manifest.gz Binary files differindex a79748667208..a5987f99222d 100644 --- a/sci-libs/Manifest.gz +++ b/sci-libs/Manifest.gz diff --git a/sci-libs/fflas-ffpack/Manifest b/sci-libs/fflas-ffpack/Manifest index cb44e6e498c4..7d24a68a28c0 100644 --- a/sci-libs/fflas-ffpack/Manifest +++ b/sci-libs/fflas-ffpack/Manifest @@ -1,13 +1,7 @@ -AUX fflas-ffpack-2.3.2-blaslapack.patch 1981 BLAKE2B 9813b99bb5c616608500189e2f54392b5240cfa75bb0ebb946ec74ed8491a8c51e205aa22a34b2fde961b3a817f06124dc6fd6d2737c2e557203b323e371bdfb SHA512 7c8d7380f1d6ee8cce18ef3cdb792066d246263922cccbee739b68e1c2e2e117d4a70108cf29ac0f29ebb286eaafc86215661395eb5016f95f8852917c9831ec -AUX fflas-ffpack-2.4.3-fix-internal-linking.patch 2599 BLAKE2B f0bdb27bc8fdc62661c651f6d292774b5c130dadcec39116eceb65e09a771218a83eadb4986285477edb10c7b273629f9bf91cb43449f137f18310c347dae0a3 SHA512 5ab624546d52833fa5797890520771718ee89127149dc208f3e0cd4b1399741724576949b824539bc6612b625ce64a00a903ba3ac003d2c85104a1faf10f1434 AUX fflas-ffpack-2.4.3-fix-pc-libdir.patch 586 BLAKE2B 030fab1e53b4584816ccd8961357c9d6c47375cb02d56b65cf5b53bfc659a5c2ee36dd2563f5c1a62b0dbcd0dc841d53bba5da0709f589c9dfb5f87f3d3cfd71 SHA512 11607abe8bf71ba50eaba74dc660261c768c5d01cd2f6775c642bc7878a32bb718575b4cbcf8de9de51defdef658ce377193912c35dc3bf045753543882a9087 -AUX fflas-ffpack-2.4.3-no-fabi-version.patch 1170 BLAKE2B 90e9c080291251d4a5231c3857385791a5c24c00ee2327192fd1c5dcb1a169ad97fa50d21124f054737dd6a1dd1c5c10377865b5b144b31eed728dedc89ea001 SHA512 8d6b3c9bd6637f1c3bf43ce722e96bd9e48b0e271cec1fb4ae72ab2e99ac7b436626385dd2e39781959248506c19474ac062c8ced2c63db80553150f8e7a0287 AUX fflas-ffpack-2.4.3-no-test-echelon.patch 1374 BLAKE2B f62631e7e4e358584a826fb5ec3e9f36b892b5f0636c965677c55a97901ffefe3ad47dea79c46d65bb3090668e335d4f7cfc04cd12bc2b72f1c3c7db45833108 SHA512 9c9ee6e7df7d04fcc5ffc84cd3a2dae08e960540371671cc79c4eb99606bc1fd150a6e0ad96f16a51904ff83fabe69bdc9bfc6e9603855fe21acea535fc31dc1 -AUX fflas-ffpack-2.4.3-no-test-fgesv.patch 1268 BLAKE2B 51c0cf74dac9b296a944e918475807e97a2cf71f066cda9c067b63b344e260b9fbb9ea2851db7ac2170e2b239c0778be0c9a99e0efbbbb9215df921197208784 SHA512 9a57cba58a6bab69092c4d335d92994651bb51d2f4e867d4f0396813e14f492d720232779615299b5203603bb76553ec8a4881ffb9677c349f22c0ef3975df0d AUX fflas-ffpack-2.5.0-blaslapack.patch 2009 BLAKE2B d6a6e8cbc3b57578efae7638f3a3bd62b233047f83f1c40ea5b5aab08b7f0f372cec1c7f769ca03c21270c9d7380622131d166d6fcef921941fc320c88cbb81f SHA512 cb584bd58a712bd28b95a99ee489fd0fcd1e349559d96498372674e6b86f6e699bcbc7a1db806a53bd6aff4358899754f0fead8b8b9d1414256f9dce15c6e81d AUX fflas-ffpack-2.5.0-no-test-fsyr2k.patch 867 BLAKE2B 447ffa94a3688e034727eb6feba0c9feb012a6cf09f0ff3d3a52e6ee7cf8565ad4d2b255c4562c062235ee0eda3ba8b7f15b9572f07c94af7b7f24fe524086df SHA512 05266956377cd16aa7e5e18882d9b86069618a29f981da33276f9ed87e2f0d34a5b09e608863533abf55297c4c8554d7a2b6593e455c90676a4ff3fff810df34 -DIST fflas-ffpack-2.4.3.tar.gz 1059033 BLAKE2B e416429bb426a81cf9c25d54c83380ff9a9d658c711da06e6359d968843d4d9d26cf8389379f9ad4a5cbcee93e0afc9fe0497bb7a8f190e0c72c0b1f7b67de18 SHA512 c7620ba5a92e4114a581a6bea32267f9d5a9f0eb7e23fc0a7a97ce4b8124bb7b29f89ff2ad6ad270d97c76489625b57a354e581905b74ee57b35f4ca3e196a44 DIST fflas-ffpack-2.5.0.tar.gz 1098354 BLAKE2B 34b0cd218e83a71c6540b1768c8231246a0dc360eb7e2353a923b5870d228e702291de14b0dc3e7c5055727fbd62e2bc1bd1d2ac432dd99df978a1edb513bfc0 SHA512 6753022f27d354160f5eb436c713002f61d24e9a942f2463e36bf324b19ec096f34dd9cacb8529ba566f245f88fa303dcfb448a40d0c39d340f7c337cd1788a4 -EBUILD fflas-ffpack-2.4.3-r3.ebuild 2228 BLAKE2B fbb0b1ad23f85a77ed93175a1c8d8d9426a2c931e6fe935a33117291a77d0d20c2773e7d286f944796f222c5234ddb60be21d6aa61c20f9d97995e18fe05fd09 SHA512 6a0eb0437c2cdbcc064c71487edf8d7a8ea3c79e8eca641c428b2412d9480300ab736414b9cb2d870239d17b4edfaaa17d60afabadb412b255995c658e9115f5 EBUILD fflas-ffpack-2.5.0-r1.ebuild 1266 BLAKE2B 6c9a5d9bdf7cf52bd0400f4dd4c016195e9b2342c970213279189581ed75cf23e728a55d80c9228494f3969d97ee297bd3502b86f55833b28be5c33ce022a1c9 SHA512 bf3516d572e2939ec6d529d0602a41e1c7dfa7e97a33b54a079e170a7ea4a725c9cbf5f7e5daf5e8e89febae2771c02894aeddf085688d55add645aa69db05e2 MISC metadata.xml 1492 BLAKE2B 46a6b13fb1bae6f2aa43a9d7a96c7882d4d7de4b885a4ac92f320f72ce3076ad820c4c5f75c0f2d60334801d2764c20524ea26c1cc6c9975be13e00906708927 SHA512 fc6d90e2945f67a32594f601df69952baec0821d1e529a03c8dc332723848ca531f747efe7c30ea00885c4c4a081cdb81c0ea05085e7ca3acd7db304bb4f468b diff --git a/sci-libs/fflas-ffpack/fflas-ffpack-2.4.3-r3.ebuild b/sci-libs/fflas-ffpack/fflas-ffpack-2.4.3-r3.ebuild deleted file mode 100644 index f5b94166a028..000000000000 --- a/sci-libs/fflas-ffpack/fflas-ffpack-2.4.3-r3.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools toolchain-funcs - -DESCRIPTION="Library for dense linear algebra over word-size finite fields" -HOMEPAGE="https://linbox-team.github.io/fflas-ffpack/" -SRC_URI="https://github.com/linbox-team/${PN}/releases/download/v${PV}/${P}.tar.gz" - -LICENSE="LGPL-2.1+" -SLOT="0" -KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" -IUSE="openmp cpu_flags_x86_fma3 cpu_flags_x86_fma4 cpu_flags_x86_sse3 cpu_flags_x86_ssse3 cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_x86_avx512f cpu_flags_x86_avx512dq cpu_flags_x86_avx512vl" - -# Our autotools patch hacks in PKG_CHECK_MODULES calls. -BDEPEND="virtual/pkgconfig" -DEPEND="virtual/cblas - virtual/blas - virtual/lapack - dev-libs/gmp[cxx(+)] - =sci-libs/givaro-4.1*" -RDEPEND="${DEPEND}" - -# The no-test-echelon patch works around a test failure that may -# eventually be fixed upstream. Gentoo bug 725446 and upstream -# Github issue 282. Same for test-fgesv (bug 807100). -PATCHES=( - "${FILESDIR}/${PN}-2.3.2-blaslapack.patch" - "${FILESDIR}/${P}-no-test-echelon.patch" - "${FILESDIR}/${P}-no-test-fgesv.patch" - "${FILESDIR}/${P}-fix-internal-linking.patch" - "${FILESDIR}/${P}-no-fabi-version.patch" - "${FILESDIR}/${P}-fix-pc-libdir.patch" -) - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -src_prepare() { - default - eautoreconf -} - -src_configure() { - tc-export PKG_CONFIG - - econf \ - --enable-precompilation \ - $(use_enable openmp) \ - $(use_enable cpu_flags_x86_fma3 fma) \ - $(use_enable cpu_flags_x86_fma4 fma4) \ - $(use_enable cpu_flags_x86_sse3 sse3) \ - $(use_enable cpu_flags_x86_ssse3 ssse3) \ - $(use_enable cpu_flags_x86_sse4_1 sse41) \ - $(use_enable cpu_flags_x86_sse4_2 sse42) \ - $(use_enable cpu_flags_x86_avx avx) \ - $(use_enable cpu_flags_x86_avx2 avx2) \ - $(use_enable cpu_flags_x86_avx512f avx512f) \ - $(use_enable cpu_flags_x86_avx512dq avx512dq) \ - $(use_enable cpu_flags_x86_avx512vl avx512vl) -} - -src_install() { - default - find "${ED}" -type f -name '*.la' -delete || die -} diff --git a/sci-libs/fflas-ffpack/files/fflas-ffpack-2.3.2-blaslapack.patch b/sci-libs/fflas-ffpack/files/fflas-ffpack-2.3.2-blaslapack.patch deleted file mode 100644 index 3154a2618196..000000000000 --- a/sci-libs/fflas-ffpack/files/fflas-ffpack-2.3.2-blaslapack.patch +++ /dev/null @@ -1,90 +0,0 @@ -diff --git a/configure.ac b/configure.ac -index 5b46b18..5e0264a 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -248,49 +248,24 @@ dnl echo '********************************************************************** - dnl exit 1 - dnl ]) - --BLAS_FOUND=false -- --FF_CHECK_BLAS_CFLAGS --FF_CHECK_BLAS_LIBS --FF_CHECK_MKL --FF_CHECK_USER_BLAS --FF_CHECK_USER_LAPACK -- --FF_OPENBLAS_NUM_THREADS -- --# FF_CHECK_BLAS -- --# FF_CHECK_GOTOBLAS -- --# FF_CHECK_GSL -- --# if test "$BLAS_FOUND" = "false" ; then -- # FF_CHECK_CBLAS --# fi -- --# if test "$BLAS_FOUND" = "false" ; then -- # FF_CHECK_OTHERBLAS --# fi -- --# FF_CHECK_LAPACK -- --# if test "$BLAS_FOUND" = "false" ; then -- # FF_CHECK_BLAS2 --# fi -- -- -- --# BLAS_LIBS="${BLAS_LIBS}" --# BLAS_LIBS="-L/${BLAS_PATH} ${LAPACK_LIBS} ${BLAS_LIBS}" --# AC_SUBST(BLAS_LIBS) -- --# FF_CHECK_CUDA -- --# AM_CONDITIONAL(FFLASFFPACK_HAVE_BLAS, test "x$BLAS_FOUND" != "xfalse") -- -- --# FF_BENCH -- -+PKG_PROG_PKG_CONFIG -+ -+PKG_CHECK_MODULES([BLAS], [cblas blas],[ -+ AC_DEFINE(HAVE_BLAS,1,[Define if BLAS is installed]) -+ AC_DEFINE(HAVE_CBLAS,1,[Define if C interface to BLAS is installed]) -+ HAVE_BLAS=yes -+ BLAS_PATH="" -+ CBLAS_LIBS="${BLAS_LIBS}" -+ AC_SUBST(BLAS_LIBS) -+ AC_SUBST(CBLAS_LIBS) -+ AC_SUBST(BLAS_CFLAGS) -+ AC_SUBST(BLAS_PATH)]) -+ -+PKG_CHECK_MODULES([LAPACK], [lapack],[ -+ AC_DEFINE(HAVE_LAPACK,1,[Define if LAPACK is installed]) -+ AC_SUBST(LAPACK_LIBS)]) -+ -+AM_CONDITIONAL(FFLASFFPACK_HAVE_LAPACK, test "x$HAVE_LAPACK" == "x1") - - FF_DOC - -diff --git a/fflas-ffpack-config.in b/fflas-ffpack-config.in -index f1dac22..17633a0 100644 ---- a/fflas-ffpack-config.in -+++ b/fflas-ffpack-config.in -@@ -107,11 +107,11 @@ while test $# -gt 0; do - ;; - - --libs) -- echo @PARLIBS@ @PRECOMPILE_LIBS@ @BLAS_LIBS@ @GIVARO_LIBS@ # @CUDA_LIBS@ -+ echo @PARLIBS@ @PRECOMPILE_LIBS@ @LAPACK_LIBS@ @BLAS_LIBS@ @GIVARO_LIBS@ # @CUDA_LIBS@ - ;; - - --blas-libs) -- echo @BLAS_LIBS@ -+ echo @LAPACK_LIBS@ @BLAS_LIBS@ - ;; - - --blas-home) diff --git a/sci-libs/fflas-ffpack/files/fflas-ffpack-2.4.3-fix-internal-linking.patch b/sci-libs/fflas-ffpack/files/fflas-ffpack-2.4.3-fix-internal-linking.patch deleted file mode 100644 index 5f085554c33f..000000000000 --- a/sci-libs/fflas-ffpack/files/fflas-ffpack-2.4.3-fix-internal-linking.patch +++ /dev/null @@ -1,70 +0,0 @@ -From 7c959a3e938a32b386418ddfdfbb884a96762d90 Mon Sep 17 00:00:00 2001 -From: Michael Orlitzky <michael@orlitzky.com> -Date: Sat, 7 Aug 2021 08:14:44 -0400 -Subject: [PATCH 1/1] fflas-ffpack/interfaces/libs/Makefile.am: fix internal - linking. - -This is just, - - https://github.com/linbox-team/fflas-ffpack/pull/339 - -but rebased onto the old release tarball. ---- - fflas-ffpack/interfaces/libs/Makefile.am | 22 ++++++++-------------- - 1 file changed, 8 insertions(+), 14 deletions(-) - -diff --git a/fflas-ffpack/interfaces/libs/Makefile.am b/fflas-ffpack/interfaces/libs/Makefile.am -index 8c56746..449f6e4 100644 ---- a/fflas-ffpack/interfaces/libs/Makefile.am -+++ b/fflas-ffpack/interfaces/libs/Makefile.am -@@ -24,7 +24,6 @@ pkgincludesubdir=$(pkgincludedir)/interfaces/libs - - AM_CXXFLAGS = @DEFAULT_CFLAGS@ - AM_CPPFLAGS = -I$(top_srcdir) #/fflas-ffpack/utils/ -I$(top_srcdir)/fflas-ffpack/fflas/ -I$(top_srcdir)/fflas-ffpack/ffpack -I$(top_srcdir)/fflas-ffpack/field --LDADD = $(CBLAS_LIBS) $(GIVARO_LIBS) $(CUDA_LIBS) $(PARFLAGS) - #AM_LDFLAGS=-static - - -@@ -55,31 +54,26 @@ libfflas_la_SOURCES= fflas_L1_inst.C \ - fflas_L3_inst.C \ - fflas_L3_inst_implem.inl - --libfflas_la_LDFLAGS= $(LDADD) -version-info 1:0:0 \ -- -no-undefined -+libfflas_la_LIBADD= $(CBLAS_LIBS) $(GIVARO_LIBS) $(CUDA_LIBS) $(PARLIBS) -+libfflas_la_LDFLAGS= -version-info 1:0:0 -no-undefined - - libffpack_la_SOURCES= ffpack_inst.C \ - ffpack_inst_implem.inl --libffpack_la_LDFLAGS= $(LDADD) -version-info 1:0:0 \ -- -no-undefined $(top_builddir)/fflas-ffpack/interfaces/libs/libfflas.la -- --EXTRA_libffpack_la_DEPENDENCIES= libfflas.la -+libffpack_la_LIBADD= libfflas.la -+libffpack_la_LDFLAGS= -version-info 1:0:0 -no-undefined - - libfflas_c_la_SOURCES=fflas_lvl1.C \ - fflas_lvl2.C \ - fflas_lvl3.C \ - fflas_sparse.C - #libfflas_c_la_CPPFLAGS=$(AM_CPPFLAGS) -DFFLAS_COMPILED -DFFPACK_COMPILED --libfflas_c_la_LDFLAGS= $(LDADD) -version-info 1:0:0 \ -- -no-undefined $(top_builddir)/fflas-ffpack/interfaces/libs/libfflas.la -- --EXTRA_libfflas_c_la_DEPENDENCIES=libfflas.la -+libfflas_c_la_LIBADD= libfflas.la -+libfflas_c_la_LDFLAGS= -version-info 1:0:0 -no-undefined - - libffpack_c_la_SOURCES=ffpack.C - #libffpack_c_la_CPPFLAGS=$(AM_CPPFLAGS) -DFFLAS_COMPILED -DFFPACK_COMPILED --libffpack_c_la_LDFLAGS= $(LDADD) -version-info 1:0:0 \ -- -no-undefined -lfflas -lffpack --EXTRA_libffpack_c_la_DEPENDENCIES=libffpack.la -+libffpack_c_la_LIBADD= libffpack.la -+libffpack_c_la_LDFLAGS= -version-info 1:0:0 -no-undefined - - - EXTRA_DIST=c_libs.doxy --- -2.31.1 - diff --git a/sci-libs/fflas-ffpack/files/fflas-ffpack-2.4.3-no-fabi-version.patch b/sci-libs/fflas-ffpack/files/fflas-ffpack-2.4.3-no-fabi-version.patch deleted file mode 100644 index 48ae6c37166a..000000000000 --- a/sci-libs/fflas-ffpack/files/fflas-ffpack-2.4.3-no-fabi-version.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 11364be98b200405630117d5eebb33bfdbc8c19e Mon Sep 17 00:00:00 2001 -From: Michael Orlitzky <michael@orlitzky.com> -Date: Sat, 7 Aug 2021 12:09:39 -0400 -Subject: [PATCH 1/1] configure.ac: don't append -fabi-version=6 to CXXFLAGS. - -This is a quick hack to avoid appending -fabi-version=6 to CXXFLAGS. -Both givaro and fflas-ffpack have problems with this legacy cruft -that are fixed upstream but tough to backport. We don't support -compilers that old, so we can just delete it. ---- - configure.ac | 4 ---- - 1 file changed, 4 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 571d923..616b2f5 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -179,10 +179,6 @@ AC_SUBST(SIMD_FLAGS) - dnl gcc-4.9.2 bug See https://trac.sagemath.org/ticket/17635#comment:178 - AS_IF([ test "x$CCNAM" = "xgcc492" ],[REQUIRED_FLAGS="${REQUIRED_FLAGS} -fpermissive"],[]) - --dnl With GCC's default ABI version, a __m128 or __m256 are the same types and therefore we cannot --dnl have overloads for both types without linking error. --AS_IF([test "x$CCNAM" = "xgcc"],[REQUIRED_FLAGS="${REQUIRED_FLAGS} -fabi-version=6"],[]) -- - AC_SUBST(REQUIRED_FLAGS) - - PARFLAGS="${OMPFLAGS}" --- -2.31.1 - diff --git a/sci-libs/fflas-ffpack/files/fflas-ffpack-2.4.3-no-test-fgesv.patch b/sci-libs/fflas-ffpack/files/fflas-ffpack-2.4.3-no-test-fgesv.patch deleted file mode 100644 index a995c0518566..000000000000 --- a/sci-libs/fflas-ffpack/files/fflas-ffpack-2.4.3-no-test-fgesv.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 3f7a5f601e73491ac7c39cc848fa98fe6224978c Mon Sep 17 00:00:00 2001 -From: Michael Orlitzky <michael@orlitzky.com> -Date: Mon, 16 Aug 2021 21:19:39 -0400 -Subject: [PATCH 1/1] tests/Makefile.am: disable test-fgesv. - -This test can fail on Gentoo, and has been reported upstream. In the -meantime, having it fail on end users is no good, so we disable it. - -Gentoo-bug: https://bugs.gentoo.org/807100 -Upstream-bug: https://github.com/linbox-team/fflas-ffpack/issues/341 ---- - tests/Makefile.am | 2 -- - 1 file changed, 2 deletions(-) - -diff --git a/tests/Makefile.am b/tests/Makefile.am -index 62e92bc..83cf71f 100755 ---- a/tests/Makefile.am -+++ b/tests/Makefile.am -@@ -63,7 +63,6 @@ BASIC_TESTS = \ - test-io \ - test-maxdelayeddim \ - test-solve \ -- test-fgesv \ - test-simd \ - test-fgemv \ - test-nullspace \ -@@ -143,7 +142,6 @@ test_ftrtri_SOURCES = test-ftrtri.C - # test_fullranksubmatrix_SOURCES = test-fullranksubmatrix.C - # test_invert_SOURCES = test-invert.C - # test_krylov_elim_SOURCES = test-krylov-elim.C --test_fgesv_SOURCES = test-fgesv.C - # test_frobenius_SOURCES = test-frobenius.C - test_nullspace_SOURCES = test-nullspace.C - test_fdot_SOURCES = test-fdot.C --- -2.31.1 - diff --git a/sci-libs/fftw/Manifest b/sci-libs/fftw/Manifest index 4646935515fe..1146a1fd8649 100644 --- a/sci-libs/fftw/Manifest +++ b/sci-libs/fftw/Manifest @@ -1,4 +1,4 @@ DIST fftw-3.3.10.tar.gz 4144100 BLAKE2B 3663872bd95a01d2c79af185f53918e1d1a9c91c620082402772c07f25b9b77d4920a78dc686fac6b51aa961b8d62b7e2cef3f3031e096bed40ced80b59b29d5 SHA512 2d34b5ccac7b08740dbdacc6ebe451d8a34cf9d9bfec85a5e776e87adf94abfd803c222412d8e10fbaa4ed46f504aa87180396af1b108666cde4314a55610b40 -EBUILD fftw-3.3.10.ebuild 4017 BLAKE2B fec696c07522b2b2761cf6228224224f5b86551800192371b42c1c5ddda221c14b985040c42a3c5001614f6a19bc795f7d5dc428035cc221d47d97e8f9002da8 SHA512 89f83da18d3112f6f9ec3baa9be1d4b361fb0fe2b84fc4bd870d5ebcf3f54bbfa2441802c3140be1c6334ddeb501c662747f5edda2d2d583cf8c6ce8be51c50d -EBUILD fftw-9999.ebuild 4012 BLAKE2B 4acc326f3ea2c3d68018aada983a6df9a82a60e8deaf2072b1c0649c4b6a673f3f9a96bfa2747d092de9c99199de4aed38bd07ce46bb8d9b5818cc4feed3ca29 SHA512 861ba96a2f2952dfc72b92db0647719f48443f11e7fbf39ebfe699acc231da40fcb325d29642b535811aa5bc3eb227afdb6eab64e547b85c23859e8807f5e844 +EBUILD fftw-3.3.10.ebuild 4210 BLAKE2B 96f886b1649993be0fb1dece20e99a00e9b2210c86c525f7f4a409b1b65491cf340d82218f1b922713d5427281ff51fc5a19eb8c7eb1ba8b76ce4666d4a19dab SHA512 910cd16df0a908f24ba7c84958449ad11203c31c7b4f39b73206ce1402cae260545cec76e08f458da3f62e02b1dc77e1b3fd220e33dc4c822683912d47fe8df1 +EBUILD fftw-9999.ebuild 4205 BLAKE2B 00c641a62953988e558e3f6fc582d2aaf9adcfe24661b3717b0db77045e8fc6cfacb55a5477a6c544c1750dddf1d5f51c6bb632725f61aaaa86b0ca0d00688b7 SHA512 b3d3a625939a3204609600e2dcf0453aa279da53baecdc10f582534844f344719ec9c4197ff79a5bd8f58628958189e11f6a9d2913b76de93aad91ca4549f7b9 MISC metadata.xml 914 BLAKE2B beea3b7d30a0b0568e8741f15600acdb0652e2c33f3ef5f95d0d0a4f4efb2aacb3c7215bbc3abbae67764d5b36a1e0caae99d641be20183fe5bb2ce069bd7db1 SHA512 2bbb2863f5617f387d4b382caa77e894a485e819ebd852939830c585e762c8e3a2d05532bdf2f44b2d59294f0dbec3b14dca6f2c00bdbc547331db7eddc6c9ce diff --git a/sci-libs/fftw/fftw-3.3.10.ebuild b/sci-libs/fftw/fftw-3.3.10.ebuild index 213b53606d55..ea7a5189348f 100644 --- a/sci-libs/fftw/fftw-3.3.10.ebuild +++ b/sci-libs/fftw/fftw-3.3.10.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 FORTRAN_NEEDED=fortran -inherit fortran-2 multibuild multilib-minimal toolchain-funcs +inherit fortran-2 libtool multibuild multilib-minimal toolchain-funcs DESCRIPTION="Fast C library for the Discrete Fourier Transform" HOMEPAGE="https://www.fftw.org/" @@ -33,6 +33,12 @@ BDEPEND="test? ( dev-lang/perl )" HTML_DOCS=( doc/html/. ) +QA_CONFIG_IMPL_DECL_SKIP=( + # check fails with any version of gcc. On <14: + # <artificial>:(.text.startup+0x19): undefined reference to `_rtc' + _rtc +) + pkg_pretend() { [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp } @@ -50,8 +56,12 @@ pkg_setup() { src_prepare() { default - # fix info file for category directory - [[ ${PV} == *9999 ]] && eautoreconf + if [[ ${PV} == *9999 ]]; then + # fix info file for category directory + eautoreconf + else + elibtoolize + fi } multilib_src_configure() { diff --git a/sci-libs/fftw/fftw-9999.ebuild b/sci-libs/fftw/fftw-9999.ebuild index f3fa7dd693b0..176526968102 100644 --- a/sci-libs/fftw/fftw-9999.ebuild +++ b/sci-libs/fftw/fftw-9999.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 FORTRAN_NEEDED=fortran -inherit fortran-2 multibuild multilib-minimal toolchain-funcs +inherit fortran-2 libtool multibuild multilib-minimal toolchain-funcs DESCRIPTION="Fast C library for the Discrete Fourier Transform" HOMEPAGE="https://www.fftw.org/" @@ -33,6 +33,12 @@ BDEPEND="test? ( dev-lang/perl )" HTML_DOCS=( doc/html/. ) +QA_CONFIG_IMPL_DECL_SKIP=( + # check fails with any version of gcc. On <14: + # <artificial>:(.text.startup+0x19): undefined reference to `_rtc' + _rtc +) + pkg_pretend() { [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp } @@ -50,8 +56,12 @@ pkg_setup() { src_prepare() { default - # fix info file for category directory - [[ ${PV} == *9999 ]] && eautoreconf + if [[ ${PV} == *9999 ]]; then + # fix info file for category directory + eautoreconf + else + elibtoolize + fi } multilib_src_configure() { diff --git a/sci-libs/givaro/Manifest b/sci-libs/givaro/Manifest index cb9545f67f1d..21dd6b3359f9 100644 --- a/sci-libs/givaro/Manifest +++ b/sci-libs/givaro/Manifest @@ -1,11 +1,7 @@ AUX givaro-4.1.1-fix-pc-libdir.patch 549 BLAKE2B f564256b81f1e2ef42bca171fce581e603887905dcf7fe8c881e59aae82d062767efdb096598f92bca09e9127c98fe023e9c034b5b38ef4ca575da9e877ca334 SHA512 927b1a15c834ba2c1cab37e1fdac1ab1c347cba7aba98be652e2ed4468d2a0627cc7f4820561655d1a223c02f8eaba7cc2911acb9998fc853dc20590fb1c74ef -AUX givaro-4.1.1-gcc-10.patch 1035 BLAKE2B 460371ff8e628e1945a29d9c6d2b718c7d98b07b023540bc49a439cd941a19191db44536a1514495014084a85028debfb4e714d6d9efd9ae7c7c12687d5f8400 SHA512 3e154b3cf6c11a106f78778eeaaf0c2cfe81e25d18f623b5b071b306f1221c8513f27f87ab3e3684a8b3f18138dfbb516c33691dbb854072a35a0be21ac0bc48 -AUX givaro-4.1.1-gcc-13.patch 667 BLAKE2B d51ce9ce832d6d3e31410207bd77d3efa56e87a3a3c0cebb4dd16387a41647f59f5e6cd768b763909c54e2de06ed73ed0cc3dd8be0eb4809d6a77ecf201eafdf SHA512 e414c98aea642b705cf692c06371512713d1a8210cebfbfe80d26d48a18d6fb42726a6d9cf161390b66c7b424965fc3280ca2811b13a20b1fd986f346e3ae6df AUX givaro-4.2.0-configure.ac-fix-a-bashism.patch 916 BLAKE2B 00681f62b334b248ef783980c18ddc7d72c24e5a3c0f3fa4d4889bfe874b88085a6b8caf38220d9b078b90bf69bd620cceacf6a0e422eccdb0a76a32d38f71c5 SHA512 af63e7cd74e920436e3e96029d6f4981a6019bffa5ebf146da763688d41c210ac9fcdc29805a6e52b5977d81fda5e6b377d1dc137c71da4e2c84fa66d93756e2 AUX givaro-4.2.0-cstdint.patch 1319 BLAKE2B f8e742aadb65c075b419921431c21ffe06964aa6c9685da901022c4d36a71e785ca91c76fbef2eaaee35daedd49679e289af898d44c68760721a4a9d696e60ff SHA512 bbf9e473f853f72f8863cf271eec39e102ce917abf7d5eae256b62781616dbc927caa373224d4bb0f0cc014335c6219a6aea782072af9089edd1a5ef22e17c31 AUX givaro-4.2.0-gcc14.patch 1062 BLAKE2B 76904d16f406f0486e99dfaa096a9da3d7f049947ef530d88efc294e801a6f54daa02f7ffe23ef54ebcf7bd2420069d0718ff3bde4de4a52ca4ab4aebca2ab1a SHA512 f9e9fa458d4e304402a674b6880295993640b1673bf4e95c79c917dc22caf6dc1d91cec6dc01863893c21b0950356323be7dcbd80c522b45f0302967e8308771 -DIST givaro-4.1.1.tar.gz 1008358 BLAKE2B 246fd1a263174f58d96dd66fa79e6113368b6c318c33d68858a339bd9cb778dfda84636c683ee9d02f2ac72ccff8ac22d395b92741448a8ed2ce08c041ac8ba9 SHA512 7ad15ac24f55ad65c9c5d0d48ff4388d0494e75dc7b66d1e139195cd086ff2371259bdb5df940fead1db2fd378bb76289f2327a8d6f41575d99d424a74cf644c DIST givaro-4.2.0.tar.gz 969595 BLAKE2B 07c9f08269ee60c06b1589e56ccf61870df6c7cab93fb8ebf27791d9231b153a2da9aed296105fd6dcd52aaa7d27ea03eacd6f2066d29de267455c9ca3747995 SHA512 1a3280563181710d364b77e1efe8c8f52ce3119a08b35f329cfd98136a742431b7e9d102289448d337797f815439682d0cfce1567a5a88d5851b244673a84486 -EBUILD givaro-4.1.1-r3.ebuild 1942 BLAKE2B 4de01c80280c1f35dd9ef8e48290cf7589ec342454a13d954150330dee4eb061a0f86ef1b8349138984256eaa5c982eb19c0fce499cfb549b8b97a47a69872e7 SHA512 caab6a64842b31f3286152d2ed59457088955e67ae7156d207cc05ca731d7a67440e4cc4bcce889fb35376fdeaf7d918987c62126352c539d3c293f85ab80eae EBUILD givaro-4.2.0.ebuild 1204 BLAKE2B af8cba5c622d9c48f706cf06e817a2b3ed1799b3d83d3d91bfc4e5e6822e8bdebbe06dc365a34f85f8620d2fa38759d1f9346b9fecebb49df2fe2def52cf4a91 SHA512 dd191d8978ef002e2e1508222c6c66161af889530e723de168c87ad2c091b4a015005782a6a5a02c7d87b641ca71862fdaa93eff6ea2121f255edc392b9b1838 MISC metadata.xml 769 BLAKE2B b407b31de2f554fdf554b2d77c2dd0b1bbf39f36b29fdf565f50362153798c60bcfecf0411247eec556ff6ddc92af0c49e11a9b242b5e3e7b7dcc1066527d08c SHA512 063ccc3fcd55f3d7033fd23efe5095d83784d0e60cca2e1092e534fe06d0e69d5d340a0a25547bddc2962d2906c14a2c996852e2c198124ed007ecdfde4fff2e diff --git a/sci-libs/givaro/files/givaro-4.1.1-gcc-10.patch b/sci-libs/givaro/files/givaro-4.1.1-gcc-10.patch deleted file mode 100644 index 0564c7f94fef..000000000000 --- a/sci-libs/givaro/files/givaro-4.1.1-gcc-10.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 5ba9fa4930b347aea8817da444bea5a88971079a Mon Sep 17 00:00:00 2001 -From: Michael Orlitzky <michael@orlitzky.com> -Date: Sat, 7 Aug 2021 11:43:29 -0400 -Subject: [PATCH 1/1] configure: hack out old GCC-4.x test. - -The Givaro ./configure script fails to detect modern versions of GCC, -instead deciding that they must be gcc-4.8. As a result, we wind up -with "-fabi-version=6" in CXXFLAGS, which then gets propagated to -users of "givaro-config --cflags", like fflas-ffpack. - -This is already fixed upstream, but not in a release, and not in a -way that I care to backport. Here we just hack the configure script -directly since the change is so trivial. ---- - configure | 5 ----- - 1 file changed, 5 deletions(-) - -diff --git a/configure b/configure -index 1eb75b0..f3bbb52 100755 ---- a/configure -+++ b/configure -@@ -17172,11 +17172,6 @@ fi - - echo "-----------------------------------------------" - --if test "x$CCNAM" = "xgcc48"; then : -- REQUIRED_FLAGS="${REQUIRED_FLAGS} -fabi-version=6" --fi -- -- - - # Machine characteristics - --- -2.31.1 - diff --git a/sci-libs/givaro/files/givaro-4.1.1-gcc-13.patch b/sci-libs/givaro/files/givaro-4.1.1-gcc-13.patch deleted file mode 100644 index 15178289ca84..000000000000 --- a/sci-libs/givaro/files/givaro-4.1.1-gcc-13.patch +++ /dev/null @@ -1,23 +0,0 @@ -From c7744bb133496cd7ac04688f345646d505e1bf52 Mon Sep 17 00:00:00 2001 -From: "Benjamin A. Beasley" <code@musicinmybrain.net> -Date: Thu, 19 Jan 2023 09:12:22 -0500 -Subject: [PATCH] Add missing #include <cstdint> for (u)int64_t - -Fixes failure to compile on GCC 13. ---- - src/library/poly1/givdegree.h | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/src/library/poly1/givdegree.h b/src/library/poly1/givdegree.h -index 3753a425..eb85a0dd 100644 ---- a/src/library/poly1/givdegree.h -+++ b/src/library/poly1/givdegree.h -@@ -19,6 +19,8 @@ - #ifndef __GIVARO_poly1degree_H - #define __GIVARO_poly1degree_H - -+#include <cstdint> -+ - #include <iostream> - - namespace Givaro { diff --git a/sci-libs/givaro/givaro-4.1.1-r3.ebuild b/sci-libs/givaro/givaro-4.1.1-r3.ebuild deleted file mode 100644 index e6da3ebb6eaa..000000000000 --- a/sci-libs/givaro/givaro-4.1.1-r3.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="C++ library for arithmetic and algebraic computations" -HOMEPAGE="https://casys.gricad-pages.univ-grenoble-alpes.fr/givaro/" -SRC_URI="https://github.com/linbox-team/givaro/releases/download/v${PV}/${P}.tar.gz" - -LICENSE="CeCILL-B" -SLOT="0/9" -KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" -IUSE="cpu_flags_x86_fma3 cpu_flags_x86_fma4 cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_ssse3 cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 cpu_flags_x86_avx cpu_flags_x86_avx2 doc static-libs test" -RESTRICT="!test? ( test )" - -BDEPEND=" - doc? ( - app-text/doxygen[dot] - dev-texlive/texlive-bibtexextra - dev-texlive/texlive-fontsextra - dev-texlive/texlive-fontutils - dev-texlive/texlive-latex - dev-texlive/texlive-latexextra - ) -" -DEPEND="dev-libs/gmp:0[cxx(+)]" -RDEPEND="${DEPEND}" - -DOCS=( AUTHORS ChangeLog README.md ) - -PATCHES=( - "${FILESDIR}/givaro-4.1.1-gcc-10.patch" - "${FILESDIR}/givaro-4.1.1-gcc-13.patch" - "${FILESDIR}/givaro-4.1.1-fix-pc-libdir.patch" -) - -src_configure() { - # Passing "--disable-doc" also accidentally enables building - # the documentation, so we can't just $(use_enable doc) here. - # https://github.com/linbox-team/givaro/issues/148 - econf \ - $(usex doc --enable-doc "" "" "") \ - --with-docdir="/usr/share/doc/${PF}/html" \ - $(use_enable static-libs static) \ - $(use_enable cpu_flags_x86_fma3 fma) \ - $(use_enable cpu_flags_x86_fma4 fma4) \ - $(use_enable cpu_flags_x86_sse sse) \ - $(use_enable cpu_flags_x86_sse2 sse2) \ - $(use_enable cpu_flags_x86_sse3 sse3) \ - $(use_enable cpu_flags_x86_ssse3 ssse3) \ - $(use_enable cpu_flags_x86_sse4_1 sse41) \ - $(use_enable cpu_flags_x86_sse4_2 sse42) \ - $(use_enable cpu_flags_x86_avx avx) \ - $(use_enable cpu_flags_x86_avx2 avx2) -} - -src_install() { - default - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/linbox/Manifest b/sci-libs/linbox/Manifest index 7cec16db706b..60ae89098703 100644 --- a/sci-libs/linbox/Manifest +++ b/sci-libs/linbox/Manifest @@ -1,9 +1,5 @@ -AUX linbox-1.6.3-pc.patch 1082 BLAKE2B 7d5b055c0622b61245f193eb39d7e52951262c56456dceba5b3e72f54add82b2fc1660c4590eba2c4a97009bd78119893bfccb0909ed5374752f4bf563e75655 SHA512 5739738de34c28fb9970a869ee97a6ab528fd48e3f8b3d82f39966959fa97d6076a44263678d25c06bea3c46e06c8869ba4ea94484d5b57aee3a302df49fd06b AUX linbox-1.7.0-gcc14.patch 13096 BLAKE2B 7a18619522031ebae317c226009d4d11e92a5f257e95e4af4fce92312b5b24dd35b3b260c9847d5e5505e179416a2a1901946642c61a0ff5c76dd8735e295d26 SHA512 1566d9d59cc1a3f6ed28452e882d799194fa3e7acbd53d1faeaa27288efa15effba1d7d565bfb4dbc83f4717f5fd82d551e02a8cce463bc22ca3f1aa90a074c3 AUX linbox-1.7.0-hardened-testfails.patch 702 BLAKE2B df20b35fc72d67079fbd76da90b4ea4d0bf23da401929dc7b8e6c64acb380a3a8ca1d88728be568a3c72413351d013022c42c6e2b78e737f106160e607097160 SHA512 3b60caa03d2254b8d6ceadd92498bfddef1ac6ecc37d520ee2ed3f417c5f6b6982008455a03ec2a894f63fc4ec1ca3b3f189babf1d26e48ecae2bd3d5d8fb0d8 -DIST linbox-1.6.3.tar.gz 1968034 BLAKE2B 55fb83db7da375d8d97f2567c6a120ac48fefc41eb02db68152cc32f1f16009b8c8108a07bbc68087ad2ef3279108db61b48b805c9ce39f4c5f0072ab6e96304 SHA512 ccef3b4c7b9d8f999e5e4ce4e544f22cd869154513827501ecb7e1abf132ff585dfb3315cced963abe842feecda9331dda9081efb3948987365d338223a8305c DIST linbox-1.7.0.tar.gz 2258420 BLAKE2B a416e7ab138c6f3f4778a00c0c1eb46aa0a5b26d84f19a2df93e9f8959d3237e5f298f8013f9414f66605c08eebd7d632f71dcdef7080c8df814afcd2de34456 SHA512 cb4e848186d1f6357f498d1e3bda6484b4c789c02440f9614a227a2ae206a31fb20b32be40bda74da3f2f8f981bbd58d80fc97c95499b5151bb06eafb867ef9e -EBUILD linbox-1.6.3-r2.ebuild 3960 BLAKE2B 1f730cba36d545e7971fe77bdf1e5a6237b5902390dc42cd387f16f5749a5a4d08fbead53d266105cf29bb5dcb5c5dc67783c51a603cb3454345f194276693f4 SHA512 308ff8895f27fc62d7c8fa84fa39850045c2d6443f2c1d2b46b52faaac89f6acd3876ed573ebc36c7f21e2b483bd71af085b3579c6f717136025e20596afcd51 -EBUILD linbox-1.7.0-r1.ebuild 3542 BLAKE2B 73e869d12213d152c60f79de9144af8f28786b08bff9a1f20f25f44170a2c75d9f177f19c36c9ee95848a5350795f0a9f8b8c11998771f4d30894140f1eea5d5 SHA512 75502befeefd0697758041c129a27bd60bbb2247e6375ec322e7567547ca0640b3a59f2ef99250b77bae44d2504b202b952c36704d77f00ce2fb0eef5cd4302f -EBUILD linbox-1.7.0.ebuild 3494 BLAKE2B fccd6311167d2b26e520988d96e6defe090639729571b082e66a82f0fd9ed6b0d0aec75aa6fe8a6745b5f73f0a9faf3af2915c97adee111a072490ba6584d545 SHA512 011471edc7c0031f5e44b580eb308b9c5b7de9c795b4f23239d40c742c9cb13d4c23e985abe31398b91a9e932cf752e0eb64de8b44f3ced329fae0f41d19bca6 +EBUILD linbox-1.7.0-r1.ebuild 3541 BLAKE2B f6a7ee2a193c78d34d293a5c832767c24d26121d71a7481af59da6a4955801b18c6f62775b4bdc233283641898a944939beb392e625dce4950a714c22de129a3 SHA512 347f4451a858ec608c3e7290bf5c8fad02e35852f822372c312216b3cd0aaf10fa5ec4ac284306334fabef41e0a0df3c5b9121cb3ceddc4fbb571e542c6a127b MISC metadata.xml 1177 BLAKE2B 57f2c859e73b86a679ba4e1ce568f006761799de57786b9fc60ac5d6a96641d39a6e51b04a86d802d3551ce38da8ff1c7eeb28f8831b605de3e5c786b0e7614e SHA512 78897bcff7d41ebcf9a0e521149cd90cb42234419b295738cf1881acf3f157cf935ad8b0de9e464fc99961831e8f0c0a31561b1bb42a2283f16ce646203f4774 diff --git a/sci-libs/linbox/files/linbox-1.6.3-pc.patch b/sci-libs/linbox/files/linbox-1.6.3-pc.patch deleted file mode 100644 index de0025108b89..000000000000 --- a/sci-libs/linbox/files/linbox-1.6.3-pc.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 8fb95a5dba51fbfcd37db10da4db69d518f7b0f4 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Fran=C3=A7ois=20Bissey?= <frp.bissey@gmail.com> -Date: Fri, 24 Apr 2020 14:10:05 +1200 -Subject: [PATCH] Remove @LINBOX_SAGE@ from linbox.pc.in. linbox_sage is gone - and the string stays as garbage in the final .pc file. - ---- - linbox.pc.in | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/linbox.pc.in b/linbox.pc.in -index f54285e..1f83834 100644 ---- a/linbox.pc.in -+++ b/linbox.pc.in -@@ -9,6 +9,6 @@ Description: Exact Linear Algebra library - URL: http://github.com/linbox-team/linbox - Version: @VERSION@ - Requires: fflas-ffpack >= 2.4.0, givaro >= 4.1.0 --Libs: -L${libdir} -llinbox @LINBOXSAGE_LIBS@ @NTL_LIBS@ @MPFR_LIBS@ @FPLLL_LIBS@ @IML_LIBS@ @FLINT_LIBS@ @OCL_LIBS@ -+Libs: -L${libdir} -llinbox @NTL_LIBS@ @MPFR_LIBS@ @FPLLL_LIBS@ @IML_LIBS@ @FLINT_LIBS@ @OCL_LIBS@ - Cflags: @DEFAULT_CFLAGS@ -DDISABLE_COMMENTATOR -I${includedir} @NTL_CFLAGS@ @MPFR_CFLAGS@ @FPLLL_CFLAGS@ @IML_CFLAGS@ @FLINT_CFLAGS@ - \------------------------------------------------------- --- -2.26.2 - diff --git a/sci-libs/linbox/linbox-1.6.3-r2.ebuild b/sci-libs/linbox/linbox-1.6.3-r2.ebuild deleted file mode 100644 index 550616620830..000000000000 --- a/sci-libs/linbox/linbox-1.6.3-r2.ebuild +++ /dev/null @@ -1,118 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit toolchain-funcs - -DESCRIPTION="C++ template library for integer and finite-field linear algebra" -HOMEPAGE="https://linalg.org/" -SRC_URI="https://github.com/linbox-team/${PN}/releases/download/v${PV}/${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" -IUSE="doc opencl openmp static-libs cpu_flags_x86_fma3 cpu_flags_x86_fma4 cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_ssse3 cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 cpu_flags_x86_avx cpu_flags_x86_avx2" - -BDEPEND="doc? ( app-text/doxygen )" - -# The project README says that gmp, givaro, and blas/lapack are required -# transitively via fflas-ffpack, but that's not true. The build system -# checks for them, and `git grep` shows that they're used directly. -DEPEND="dev-libs/gmp[cxx(+)] - =sci-libs/givaro-4.1* - =sci-libs/fflas-ffpack-2.4* - virtual/cblas - virtual/lapack - opencl? ( virtual/opencl ) - dev-libs/ntl:= - sci-libs/iml - dev-libs/mpfr:= - sci-mathematics/flint" - -# Use mathjax to render inline latex rather than requiring a working latex -# installation to generate bitmaps. -RDEPEND="${DEPEND} - doc? ( >=dev-libs/mathjax-3 ) -" - -PATCHES=( "${FILESDIR}/${PN}-1.6.3-pc.patch" ) - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -src_prepare() { - default - - if use doc; then - # Avoid the need for a working LaTeX installation. MathJax does - # slow down the browser a bit but it also renders much more - # nicely than the latex-generated bitmaps would. - echo " - USE_MATHJAX = YES - MATHJAX_VERSION = MathJax_3 - MATHJAX_RELPATH = \"${EPREFIX}/usr/share/mathjax\" - MATHJAX_EXTENSIONS = ams - " >> doc/Doxyfile.mod || die - fi -} - -src_configure() { - # - # The --with-all flag includes, - # - # --with-givaro: used for finite fields, integer, etc. (required) - # --with-fflas-ffpack: small field dense linear algebra (required) - # --with-ntl: used for finite field, polynomial arithmetic (optional) - # --with-iml: used for fast integer/rational linear algebra (optional) - # --with-mpfr: not sure, doesn't seem to be used? (optional) - # --with-flint: used in algorithms/matrix-blas3 once (optional) - # --with-fplll: an fplll interface not directly used (optional) - # --with-doxygen: needed with --enable-doc to build them (optional) - # - # Some of these could be behind USE flags, but the ./configure output - # says that they're "not yet mandatory," which makes me think we might - # be overcomplicating things to make them optional right now. - # - # Note: after v1.6.3, we'll need to append --without-archnative to - # these flags to avoid -march=native being appended by default. - # - econf \ - --with-docdir="${EPREFIX}/usr/share/doc/${PF}" \ - --with-all="${EPREFIX}"/usr \ - --without-fplll \ - $(use_enable doc) \ - $(use_enable openmp) \ - $(use_with opencl ocl) \ - $(use_enable cpu_flags_x86_fma3 fma) \ - $(use_enable cpu_flags_x86_fma4 fma4) \ - $(use_enable cpu_flags_x86_sse3 sse) \ - $(use_enable cpu_flags_x86_sse3 sse2) \ - $(use_enable cpu_flags_x86_sse3 sse3) \ - $(use_enable cpu_flags_x86_ssse3 ssse3) \ - $(use_enable cpu_flags_x86_sse4_1 sse41) \ - $(use_enable cpu_flags_x86_sse4_2 sse42) \ - $(use_enable cpu_flags_x86_avx avx) \ - $(use_enable cpu_flags_x86_avx2 avx2) \ - $(use_enable static-libs static) -} - -src_install() { - default - find "${ED}" -name '*.la' -delete || die - if use doc; then - # These files are used for incremental doxygen builds but aren't - # part of the final output. Check on - # - # https://github.com/linbox-team/linbox/issues/252 - # - # periodically to see if this is pointless. - find "${ED}/usr/share/doc/${PF}" -type f -name '*.md5' -delete || die - find "${ED}/usr/share/doc/${PF}" -type f -name '*.map' -delete || die - fi -} diff --git a/sci-libs/linbox/linbox-1.7.0-r1.ebuild b/sci-libs/linbox/linbox-1.7.0-r1.ebuild index 6f5e7d7b2b55..eef3546aca5d 100644 --- a/sci-libs/linbox/linbox-1.7.0-r1.ebuild +++ b/sci-libs/linbox/linbox-1.7.0-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/linbox-team/${PN}/releases/download/v${PV}/${P}.tar. # headers all say LGPL-2.1 LICENSE="GPL-2+ LGPL-2.1" SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" IUSE="doc opencl openmp" BDEPEND="doc? ( app-text/doxygen )" diff --git a/sci-libs/linbox/linbox-1.7.0.ebuild b/sci-libs/linbox/linbox-1.7.0.ebuild deleted file mode 100644 index 3fb0af5058b4..000000000000 --- a/sci-libs/linbox/linbox-1.7.0.ebuild +++ /dev/null @@ -1,111 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools toolchain-funcs - -DESCRIPTION="C++ template library for integer and finite-field linear algebra" -HOMEPAGE="https://linalg.org/" -SRC_URI="https://github.com/linbox-team/${PN}/releases/download/v${PV}/${P}.tar.gz" - -# I think only macros/libtool.m4 (and COPYING) is GPL-2+; the source -# headers all say LGPL-2.1 -LICENSE="GPL-2+ LGPL-2.1" -SLOT="0" -KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" -IUSE="doc opencl openmp" - -BDEPEND="doc? ( app-text/doxygen )" - -# The project README says that gmp, givaro, and blas/lapack are required -# transitively via fflas-ffpack, but that's not true. The build system -# checks for them, and `git grep` shows that they're used directly. -DEPEND="dev-libs/gmp[cxx(+)] - =sci-libs/givaro-4.2* - =sci-libs/fflas-ffpack-2.5* - virtual/cblas - virtual/lapack - opencl? ( virtual/opencl ) - dev-libs/ntl:= - sci-libs/iml - dev-libs/mpfr:= - sci-mathematics/flint" - -# Use mathjax to render inline latex rather than requiring a working latex -# installation to generate bitmaps. -RDEPEND="${DEPEND} - doc? ( >=dev-libs/mathjax-3 ) -" - -PATCHES=( "${FILESDIR}/${P}-hardened-testfails.patch" ) - -# The --enable-openmp flag has been removed upstream, but we don't want -# openmp support to disappear after the package has been compiled with -# it, so we retain the USE flag and the toolchain check. -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -src_prepare() { - default - - if use doc; then - # Avoid the need for a working LaTeX installation. MathJax does - # slow down the browser a bit but it also renders much more - # nicely than the latex-generated bitmaps would. - echo " - USE_MATHJAX = YES - MATHJAX_VERSION = MathJax_3 - MATHJAX_RELPATH = \"${EPREFIX}/usr/share/mathjax\" - MATHJAX_EXTENSIONS = ams - " >> doc/Doxyfile.mod || die - fi - - eautoreconf -} - -src_configure() { - # - # The --with-all flag includes, - # - # --with-givaro: used for finite fields, integer, etc. (required) - # --with-fflas-ffpack: small field dense linear algebra (required) - # --with-ntl: used for finite field, polynomial arithmetic (optional) - # --with-iml: used for fast integer/rational linear algebra (optional) - # --with-mpfr: not sure, doesn't seem to be used? (optional) - # --with-flint: used in algorithms/matrix-blas3 once (optional) - # --with-fplll: an fplll interface not directly used (optional) - # --with-doxygen: needed with --enable-doc to build them (optional) - # - # Some of these could be behind USE flags, but the ./configure output - # says that they're "not yet mandatory," which makes me think we might - # be overcomplicating things to make them optional right now. - # - econf \ - --with-docdir="${EPREFIX}/usr/share/doc/${PF}" \ - --with-all="${EPREFIX}"/usr \ - --without-fplll \ - --without-archnative \ - $(use_enable doc) \ - $(use_with opencl ocl) -} - -src_install() { - default - find "${ED}" -name '*.la' -delete || die - if use doc; then - # These files are used for incremental doxygen builds but aren't - # part of the final output. Check on - # - # https://github.com/linbox-team/linbox/issues/252 - # - # periodically to see if this is pointless. - find "${ED}/usr/share/doc/${PF}" -type f -name '*.md5' -delete || die - find "${ED}/usr/share/doc/${PF}" -type f -name '*.map' -delete || die - fi -} diff --git a/sci-libs/symengine/Manifest b/sci-libs/symengine/Manifest index cdfbd8e96db2..6c92164e7147 100644 --- a/sci-libs/symengine/Manifest +++ b/sci-libs/symengine/Manifest @@ -4,5 +4,5 @@ AUX symengine-0.8.1-fix_llvm.patch 2674 BLAKE2B f7d493318389f63a8b61f47ee2ba6429 DIST symengine-0.11.1.tar.gz 898181 BLAKE2B ef14e09ceb7e9783711ca7f9f06a59362c40222e7f85de5545be834ecd79bbf41fcd34141bb3a63c106ee45067dd0b957377f937097183ffd5b93c6943976571 SHA512 076aac35428589c5b3524a46bd939a3a3a7da44b1c866b5f71487678b27b6e48b4da034029f1630881d7713a9252e905411a04b8016c9ec56a608b6de23365ac DIST symengine-0.12.0.tar.gz 898768 BLAKE2B 81bca3f59e864d2e37598a058cb4db97b1f9c8536ee841c10df6f01c6322fa744281ecdeb338e5bf33bf599ead66adcaaa724650535df9b3d4bd7f07e22a3ad2 SHA512 fbc73a75299c19155a09f1854888a5050150aaad5bc3df683d43e8036af8005f8152a36ae79029e00bc8422c3edd7252baaf3a0da6a21d1d754d80a44c5c68bf EBUILD symengine-0.11.1.ebuild 2714 BLAKE2B 0d8f638d1ea0be177f79b7571d4d433fc12b48ed6d812d762fc9465e2c9c727840dc572f2026ef66c8b0ff87d2e86ab356de0964b60cdd9d1ff0d4dddf10b86e SHA512 08c697e06469b082e9a3cde4209b6daf4903fc67a7dd66d0cbbf55f7de4ec78b1c3bbd630bcec7644022785664e6ce3279c1605936d54038108ac232e60cb8eb -EBUILD symengine-0.12.0.ebuild 2476 BLAKE2B be2f9f4b3fc05ff9ecfc64f1ae1fcbf73a153efc31577fd4e795fe4551cba51408aebae38c27096536dec91c5bc2769f1a6b0bc5cbfbfeb84d10365f2bbc2168 SHA512 de3a9f5ad25f9b2b889bc908340d1048d6df212081dd031bf34bedeacda47d6617acc60a0a390c2f89c5787773655399aaac54347704c42ea3667f702f94dbdf +EBUILD symengine-0.12.0.ebuild 2474 BLAKE2B 2a56218ff88a68dd500e3c9357abe34fed4534580c543616c483c99135628a51174244c8f398c94900851dc275fbb6cf9c57ae07d567e55e8df860e7c568455b SHA512 f42f7ef86749d823162e3ea856ad34f652b4eb1799d9b405a6d4f65ae503bad27c44b4130cc5363841ba8bae925e5f97ed4a37261e448ca2b3ca1721bc9f716f MISC metadata.xml 1270 BLAKE2B e52ff12980457252a05195ef47bd90e52816794948169473a597e263d744d163cbe42d35e995243daf6b8664f1ed7d41879b63927606187277cdf503fc7bf846 SHA512 4fd6f340d1d4952774eb0fcd47d9ed6e9f145bd83ba7bd04fe428faa96ec63b6cd62173b6ead116a649471fe9b6466be7bbb48c8e534b3203f232f9a7bae12b9 diff --git a/sci-libs/symengine/symengine-0.12.0.ebuild b/sci-libs/symengine/symengine-0.12.0.ebuild index 8511224ebba8..a9b7f631466a 100644 --- a/sci-libs/symengine/symengine-0.12.0.ebuild +++ b/sci-libs/symengine/symengine-0.12.0.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/symengine/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz LICENSE="MIT" SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" # BUILD_FOR_DISTRIBUTION enables threads by default so do it here IUSE="benchmarks boost debug doc ecm +flint llvm +mpc +mpfr openmp test tcmalloc +threads" RESTRICT="!test? ( test )" |