gnu: blis: Update to 0.9.0.

* gnu/packages/maths.scm (blis): Update to 0.9.0.
[arguments]: Use G-expression; remove trailing #T from build phases.
This commit is contained in:
Ricardo Wurmus 2023-06-07 21:51:07 +02:00
parent 0836c0769d
commit 28d5ec153c
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -4681,35 +4681,32 @@ (define-public libblastrampoline
(define-public blis
(package
(name "blis")
(version "0.8.1")
(version "0.9.0")
(home-page "https://github.com/flame/blis")
(source (origin
(method git-fetch)
(uri (git-reference (url home-page) (commit version)))
(sha256
(base32
"05ifil6jj9424sr8kmircl8k4bmxnl3y12a79vwj1kxxva5gz50g"))
"14v2awhxma6nzas42hq97702672f2njrskqhsv9kl23hvrvci8fm"))
(file-name (git-file-name "blis" version))))
(native-inputs
(list python perl))
(build-system gnu-build-system)
(arguments
`(#:modules
((guix build gnu-build-system)
(list
#:modules
'((guix build gnu-build-system)
(guix build utils)
(srfi srfi-1))
#:test-target "test"
#:phases
(modify-phases %standard-phases
#~(modify-phases %standard-phases
(replace 'configure
(lambda* (#:key outputs
target
system
(configure-flags '())
(lambda* (#:key outputs target system (configure-flags '())
#:allow-other-keys)
;; This is a home-made 'configure' script.
(let* ((out (assoc-ref outputs "out"))
;; Guix-specific support for choosing the configuration
(let* (;; Guix-specific support for choosing the configuration
;; via #:configure-flags: see below for details.
(config-flag-prefix "--blis-config=")
(maybe-config-flag (find
@ -4747,7 +4744,7 @@ (define-public blis
(else
"generic")))
(configure-args
`("-p" ,out
`("-p" ,#$output
"-d" "opt"
"--disable-static"
"--enable-shared"
@ -4758,13 +4755,11 @@ (define-public blis
(format #t "configure args: ~s~%" configure-args)
(apply invoke
"./configure"
configure-args)
#t)))
configure-args))))
(add-before 'check 'show-test-output
(lambda _
;; By default "make check" is silent. Make it verbose.
(system "tail -F output.testsuite &")
#t)))))
(system "tail -F output.testsuite &"))))))
(synopsis "High-performance basic linear algebra (BLAS) routines")
(description
"BLIS is a portable software framework for instantiating high-performance