summaryrefslogtreecommitdiff
path: root/sci-libs/linbox
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/linbox
parentf7adcd4ee556b2c3a420239c13fb74113d791f6a (diff)
gentoo auto-resync : 15:07:2024 - 12:27:33
Diffstat (limited to 'sci-libs/linbox')
-rw-r--r--sci-libs/linbox/Manifest6
-rw-r--r--sci-libs/linbox/files/linbox-1.6.3-pc.patch25
-rw-r--r--sci-libs/linbox/linbox-1.6.3-r2.ebuild118
-rw-r--r--sci-libs/linbox/linbox-1.7.0-r1.ebuild2
-rw-r--r--sci-libs/linbox/linbox-1.7.0.ebuild111
5 files changed, 2 insertions, 260 deletions
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
-}