me
/
guix
Archived
1
0
Fork 0

gnu: flint: Update to 3.1.2.

* gnu/packages/algebra.scm (flint): Update to 3.1.2.
[arguments]: Add a configure flag.
[license]: Change to lgpl3+.

Change-Id: I57d6dc7e1ce90399d9e4c01b35e62793bfc07bee
master
Andreas Enge 2024-03-18 15:31:48 +01:00
parent 64ed1f9eec
commit 50e3fb1ee9
No known key found for this signature in database
GPG Key ID: F7D5C9BF765C61E3
1 changed files with 11 additions and 6 deletions

View File

@ -447,20 +447,24 @@ or text interfaces) or as a C++ library.")
(define-public flint (define-public flint
(package (package
(name "flint") (name "flint")
(version "3.0.1") (version "3.1.2")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://flintlib.org/flint-" version ".tar.gz")) (uri (string-append "https://flintlib.org/flint-" version ".tar.gz"))
(sha256 (sha256
(base32 "1d4lawfvmjd4n7rp4z9xkwwjjbrjhkmxnxw1xf0ki1isa001lcbv")))) (base32 "0017bjncpx4kdx67qcnm3nahz3gyyi2w3ggkrx586r3llcqs9czx"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs (inputs
(list ntl)) (list ntl))
(propagated-inputs (propagated-inputs
(list gmp mpfr)) ; header files from both are included by flint/arith.h (list gmp mpfr)) ; header files included by flint.h or mpfr_mat.h
(arguments (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
;; Prevent build machine specifics from ending up in the binary.
#:configure-flags '("--disable-assembly")))
(synopsis "Fast library for number theory") (synopsis "Fast library for number theory")
(description (description
"FLINT is a C library for number theory. It supports arithmetic "FLINT is a C library for number theory. It supports arithmetic
@ -473,7 +477,7 @@ Operations that can be performed include conversions, arithmetic,
GCDs, factoring, solving linear systems, and evaluating special GCDs, factoring, solving linear systems, and evaluating special
functions. In addition, FLINT provides various low-level routines for functions. In addition, FLINT provides various low-level routines for
fast arithmetic.") fast arithmetic.")
(license license:lgpl2.1+) (license license:lgpl3+)
(home-page "https://flintlib.org/") (home-page "https://flintlib.org/")
(properties (properties
'((release-monitoring-url . "http://flintlib.org/downloads.html"))))) '((release-monitoring-url . "http://flintlib.org/downloads.html")))))
@ -1011,7 +1015,8 @@ extends it by a set of algebraic capabilities.")
(guix build utils) (guix build utils)
(guix build cmake-build-system)) (guix build cmake-build-system))
#:phases (modify-phases %standard-phases #:phases
(modify-phases %standard-phases
(add-after 'unpack 'disable-some-tests (add-after 'unpack 'disable-some-tests
;; Not all platforms are well supported by the test suite. ;; Not all platforms are well supported by the test suite.
(lambda _ (lambda _