Skip to content

Commit

Permalink
linbox: update to 1.7.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
tornaria committed Nov 7, 2023
1 parent bfad978 commit 62f35d4
Show file tree
Hide file tree
Showing 7 changed files with 67 additions and 102 deletions.
7 changes: 4 additions & 3 deletions build/pkgs/linbox/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
tarball=linbox-VERSION.tar.gz
sha1=9268e21b5aecbbfc45204b25195b786f80b769bc
md5=1e90e300c7a324a7b6cece7c605b7a4e
cksum=1921179523
sha1=24e8bdbd16fe3dedce0dd343398999a4aed7c02c
md5=1e1b95f12f015815a0194eac0cb611d0
cksum=253115750
upstream_url=https://github.com/linbox-team/linbox/releases/download/vVERSION/linbox-VERSION.tar.gz
2 changes: 1 addition & 1 deletion build/pkgs/linbox/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.6.3.p1
1.7.0
24 changes: 24 additions & 0 deletions build/pkgs/linbox/patches/292.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
From 49b9cccd0286980c1c1811c3b03df883ef0164df Mon Sep 17 00:00:00 2001
From: Doug Torrance <[email protected]>
Date: Tue, 14 Dec 2021 16:22:33 -0500
Subject: [PATCH] Only register uint128_t as a TypeName when it's available.

Otherwise, test-fft will fail when it isn't.
---
tests/test-fft.C | 2 ++
1 file changed, 2 insertions(+)

diff --git a/tests/test-fft.C b/tests/test-fft.C
index d19184c2d..5811ebc5d 100644
--- a/tests/test-fft.C
+++ b/tests/test-fft.C
@@ -55,7 +55,9 @@ REGISTER_TYPE_NAME(double);
REGISTER_TYPE_NAME(uint16_t);
REGISTER_TYPE_NAME(uint32_t);
REGISTER_TYPE_NAME(uint64_t);
+#ifdef __FFLASFFPACK_HAVE_INT128
REGISTER_TYPE_NAME(uint128_t);
+#endif
REGISTER_TYPE_NAME(Modular);
REGISTER_TYPE_NAME(ModularExtended);

38 changes: 38 additions & 0 deletions build/pkgs/linbox/patches/294.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
From f81a1f4a5e0835b7a0f3bb88a0fcbbaa32174cfa Mon Sep 17 00:00:00 2001
From: Cyril Bouvier <[email protected]>
Date: Wed, 15 Dec 2021 16:00:39 +0100
Subject: [PATCH] Only register uint128_t as a TypeName when it's available

---
benchmarks/benchmark-fft.C | 2 ++
benchmarks/benchmark-polynomial-matrix-mul-fft.C | 2 ++
2 files changed, 4 insertions(+)

diff --git a/benchmarks/benchmark-fft.C b/benchmarks/benchmark-fft.C
index 39b86c9d9..59a8be57c 100644
--- a/benchmarks/benchmark-fft.C
+++ b/benchmarks/benchmark-fft.C
@@ -54,7 +54,9 @@ REGISTER_TYPE_NAME(double);
REGISTER_TYPE_NAME(uint16_t);
REGISTER_TYPE_NAME(uint32_t);
REGISTER_TYPE_NAME(uint64_t);
+#ifdef __FFLASFFPACK_HAVE_INT128
REGISTER_TYPE_NAME(uint128_t);
+#endif
REGISTER_TYPE_NAME(Modular);
REGISTER_TYPE_NAME(ModularExtended);

diff --git a/benchmarks/benchmark-polynomial-matrix-mul-fft.C b/benchmarks/benchmark-polynomial-matrix-mul-fft.C
index e9b184bcf..7bf17f33e 100644
--- a/benchmarks/benchmark-polynomial-matrix-mul-fft.C
+++ b/benchmarks/benchmark-polynomial-matrix-mul-fft.C
@@ -65,7 +65,9 @@ REGISTER_TYPE_NAME(double);
REGISTER_TYPE_NAME(uint16_t);
REGISTER_TYPE_NAME(uint32_t);
REGISTER_TYPE_NAME(uint64_t);
+#ifdef __FFLASFFPACK_HAVE_INT128
REGISTER_TYPE_NAME(uint128_t);
+#endif
REGISTER_TYPE_NAME(Modular);
REGISTER_TYPE_NAME(ModularExtended);

28 changes: 0 additions & 28 deletions build/pkgs/linbox/patches/fix-ksh-pkgconfig.patch

This file was deleted.

47 changes: 0 additions & 47 deletions build/pkgs/linbox/patches/linbox-pr-256.patch

This file was deleted.

23 changes: 0 additions & 23 deletions build/pkgs/linbox/patches/remove-linboxsage-libs-from-pc.patch

This file was deleted.

0 comments on commit 62f35d4

Please sign in to comment.