gnu: flint: Update to 3.0.1.
* gnu/packages/algebra.scm (flint): Update to 3.0.1. [arguments]: Remove obsolete phase additions. Change-Id: Iebac9d3a0b1e19147df9402d522c55cb168148d7
This commit is contained in:
parent
fdffaa2256
commit
25690a7ce1
1 changed files with 4 additions and 25 deletions
|
@ -417,41 +417,20 @@ or text interfaces) or as a C++ library.")
|
||||||
(define-public flint
|
(define-public flint
|
||||||
(package
|
(package
|
||||||
(name "flint")
|
(name "flint")
|
||||||
(version "2.9.0")
|
(version "3.0.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "http://flintlib.org/flint-" version ".tar.gz"))
|
(uri (string-append "https://flintlib.org/flint-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0sp79ixaawjzna79afrlwlx9hg55jxil03f1wq435j9k23ar1h1g"))))
|
(base32 "1d4lawfvmjd4n7rp4z9xkwwjjbrjhkmxnxw1xf0ki1isa001lcbv"))))
|
||||||
(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 from both are included by flint/arith.h
|
||||||
(arguments
|
(arguments
|
||||||
`(#:parallel-tests? #f ; seems to be necessary on arm
|
`(#:parallel-tests? #f)) ; seems to be necessary on arm
|
||||||
#:phases
|
|
||||||
(modify-phases %standard-phases
|
|
||||||
(add-before 'configure 'newer-c++
|
|
||||||
(lambda _
|
|
||||||
(substitute* "configure"
|
|
||||||
(("-ansi") ""))
|
|
||||||
#t))
|
|
||||||
(replace 'configure
|
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
||||||
(let ((out (assoc-ref outputs "out"))
|
|
||||||
(gmp (assoc-ref inputs "gmp"))
|
|
||||||
(mpfr (assoc-ref inputs "mpfr"))
|
|
||||||
(ntl (assoc-ref inputs "ntl")))
|
|
||||||
;; Do not pass "--enable-fast-install", which makes the
|
|
||||||
;; homebrew configure process fail.
|
|
||||||
(invoke "./configure"
|
|
||||||
(string-append "--prefix=" out)
|
|
||||||
(string-append "--with-gmp=" gmp)
|
|
||||||
(string-append "--with-mpfr=" mpfr)
|
|
||||||
(string-append "--with-ntl=" ntl))
|
|
||||||
#t))))))
|
|
||||||
(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
|
||||||
|
|
Reference in a new issue