gnu: gap: Update to 4.13.1.

* gnu/packages/algebra.scm (gap): Update to 4.13.1.
[source]: Do not delete file with fixed test.
[arguments]<#:configure-flags>: Add LDFLAGS.

Change-Id: I813559788dccc15dc57e96733b5defdd47602c69
This commit is contained in:
Andreas Enge 2024-09-06 11:39:25 +02:00
parent 37a0c526fb
commit 31249d88cc
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -1216,7 +1216,7 @@ (define-public xtensor-benchmark
(define-public gap (define-public gap
(package (package
(name "gap") (name "gap")
(version "4.12.2") (version "4.13.1")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
@ -1226,17 +1226,13 @@ (define-public gap
version version
".tar.gz")) ".tar.gz"))
(sha256 (sha256
(base32 "1a47slldnjq6mib69k3g8lqw6nyxdrwdd3gfjhj252mpbrs0h8v7")) (base32 "1fmy3mzbw84f1cxrkjcw7wyssj48zhhwxa0a5l58x6gvlvdxp54p"))
(modules '((guix build utils) (ice-9 ftw) (srfi srfi-1))) (modules '((guix build utils) (ice-9 ftw) (srfi srfi-1)))
(snippet (snippet
'(begin '(begin
;; Delete bundled external libraries. ;; Delete bundled external libraries.
(for-each delete-file-recursively (for-each delete-file-recursively
'("extern" "hpcgap/extern")) '("extern" "hpcgap/extern"))
;; Delete a failing test.
;; FIXME: This might be fixed in the next release, see
;; https://github.com/gap-system/gap/issues/3292
(delete-file "tst/testinstall/dir.tst")
;; Delete all packages except for a fixed list, ;; Delete all packages except for a fixed list,
;; given by their names up to version numbers. ;; given by their names up to version numbers.
(with-directory-excursion "pkg" (with-directory-excursion "pkg"
@ -1313,10 +1309,8 @@ (define-public gap
(inputs (inputs
(list gmp readline zlib)) (list gmp readline zlib))
(arguments (arguments
`(#:modules ((ice-9 ftw) `(#:configure-flags
(srfi srfi-26) (list (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib"))
(guix build gnu-build-system)
(guix build utils))
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'build 'build-packages (add-after 'build 'build-packages