GNU bug report logs - #69871
[PATCH] gnu: flint: Update to 3.1.0.

Previous Next

Package: guix-patches;

Reported by: Andreas Enge <andreas <at> enge.fr>

Date: Mon, 18 Mar 2024 16:16:02 UTC

Severity: normal

Tags: patch

Done: Andreas Enge <andreas <at> enge.fr>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Andreas Enge <andreas <at> enge.fr>
Subject: bug#69871: closed (Close)
Date: Fri, 22 Nov 2024 18:28:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#69871: [PATCH] gnu: flint: Update to 3.1.0.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 69871 <at> debbugs.gnu.org.

-- 
69871: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=69871
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Andreas Enge <andreas <at> enge.fr>
To: 69871-done <at> debbugs.gnu.org
Subject: Close
Date: Fri, 22 Nov 2024 19:27:09 +0100
This has long been applied by yours truely!

Andreas


[Message part 3 (message/rfc822, inline)]
From: Andreas Enge <andreas <at> enge.fr>
To: guix-patches <at> gnu.org
Cc: Andreas Enge <andreas <at> enge.fr>
Subject: [PATCH] gnu: flint: Update to 3.1.0.
Date: Mon, 18 Mar 2024 15:47:19 +0100
* gnu/packages/algebra.scm (flint): Update to 3.1.0.
[arguments]: Add a configure flag. Add a phase.
[license]: Change to lgpl3+.

Change-Id: I57d6dc7e1ce90399d9e4c01b35e62793bfc07bee
---
 gnu/packages/algebra.scm | 23 ++++++++++++++++++-----
 1 file changed, 18 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm
index 3fb9362b91..13cd523d6a 100644
--- a/gnu/packages/algebra.scm
+++ b/gnu/packages/algebra.scm
@@ -446,20 +446,32 @@ (define-public giac
 (define-public flint
   (package
    (name "flint")
-   (version "3.0.1")
+   (version "3.1.0")
    (source
     (origin
       (method url-fetch)
       (uri (string-append "https://flintlib.org/flint-" version ".tar.gz"))
       (sha256
-       (base32 "1d4lawfvmjd4n7rp4z9xkwwjjbrjhkmxnxw1xf0ki1isa001lcbv"))))
+       (base32 "0h9k792w4lidlv3czpmjk5hi8fqf3b0vp7av28sc6f3pp18pw42b"))))
    (build-system gnu-build-system)
    (inputs
     (list ntl))
    (propagated-inputs
     (list gmp mpfr)) ; header files from both are included by flint/arith.h
    (arguments
-    `(#:parallel-tests? #f))            ; seems to be necessary on arm
+      ;; Parallel tests failed in the past on ARM, this may need to be
+      ;; tested again.
+    `(#:parallel-tests? #f  ;; seems to be necessary on arm,
+                            ;;but maybe not any more...
+      ;; Prevent build machine specifics from ending up in the binary.
+      #:configure-flags '("--disable-assembly")
+      ;; Replace absolute path.
+      #:phases
+      (modify-phases %standard-phases
+        (add-before 'build 'patch-makefile
+          (lambda _
+            (substitute* "Makefile"
+              (("/sbin/ldconfig") "ldconfig")))))))
    (synopsis "Fast library for number theory")
    (description
     "FLINT is a C library for number theory.  It supports arithmetic
@@ -472,7 +484,7 @@ (define-public flint
 GCDs, factoring, solving linear systems, and evaluating special
 functions.  In addition, FLINT provides various low-level routines for
 fast arithmetic.")
-   (license license:lgpl2.1+)
+   (license license:lgpl3+)
    (home-page "https://flintlib.org/")
    (properties
     '((release-monitoring-url . "http://flintlib.org/downloads.html")))))
@@ -996,7 +1008,8 @@ (define-public eigen
                   (guix build utils)
                   (guix build cmake-build-system))
 
-       #:phases (modify-phases %standard-phases
+       #:phases
+       (modify-phases %standard-phases
                   (add-after 'unpack 'disable-some-tests
                     ;; Not all platforms are well supported by the test suite.
                     (lambda _

base-commit: c8556379c3f2d3d095a178858915720f2eebc012
-- 
2.41.0




This bug report was last modified 235 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.