summaryrefslogtreecommitdiff
path: root/sci-libs/fflas-ffpack
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-07-15 12:27:33 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-07-15 12:27:33 +0100
commit868fd5dc8aab84930cfaa5252b8be06b35552765 (patch)
tree0c0cebf818c30c6f871f00ce1e7599775a7e561c /sci-libs/fflas-ffpack
parentf7adcd4ee556b2c3a420239c13fb74113d791f6a (diff)
gentoo auto-resync : 15:07:2024 - 12:27:33
Diffstat (limited to 'sci-libs/fflas-ffpack')
-rw-r--r--sci-libs/fflas-ffpack/Manifest6
-rw-r--r--sci-libs/fflas-ffpack/fflas-ffpack-2.4.3-r3.ebuild73
-rw-r--r--sci-libs/fflas-ffpack/files/fflas-ffpack-2.3.2-blaslapack.patch90
-rw-r--r--sci-libs/fflas-ffpack/files/fflas-ffpack-2.4.3-fix-internal-linking.patch70
-rw-r--r--sci-libs/fflas-ffpack/files/fflas-ffpack-2.4.3-no-fabi-version.patch31
-rw-r--r--sci-libs/fflas-ffpack/files/fflas-ffpack-2.4.3-no-test-fgesv.patch37
6 files changed, 0 insertions, 307 deletions
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
-