gnu: Add libblastrampoline.

* gnu/packages/maths.scm (libblastrampoline): New variable.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
Akira Kyle 2022-12-08 10:03:04 +02:00 committed by Efraim Flashner
parent 0cd12c2d75
commit 82babf242e
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -57,6 +57,7 @@
;;; Copyright © 2022 vicvbcun <guix@ikherbers.com>
;;; Copyright © 2022 Liliana Marie Prikler <liliana.prikler@gmail.com>
;;; Copyright © 2022 Maximilian Heisinger <mail@maxheisinger.at>
;;; Copyright © 2022 Akira Kyle <akira@akirakyle.com>
;;;
;;; This file is part of GNU Guix.
;;;
@ -4715,6 +4716,36 @@ (define-public openblas-ilp64
(synopsis "Optimized BLAS library based on GotoBLAS (ILP64 version)")
(license license:bsd-3)))
(define-public libblastrampoline
(package
(name "libblastrampoline")
(version "5.1.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/JuliaLinearAlgebra/libblastrampoline")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0mf79zw11kxyil72y2ly5x8bbz3ng3nsqmp0zcps16b69wvfs19c"))))
(build-system gnu-build-system)
(arguments
`(#:make-flags (list "-C" "src"
(string-append "prefix=" (assoc-ref %outputs "out"))
(string-append "CC=" ,(cc-for-target)))
#:tests? #f ; No check target.
#:phases
(modify-phases %standard-phases
(delete 'configure))))
(home-page "https://github.com/JuliaLinearAlgebra/libblastrampoline")
(synopsis "PLT trampolines to provide a BLAS and LAPACK demuxing library")
(description
"This package uses PLT trampolines to provide a BLAS and LAPACK demuxing
library.")
(license license:expat)))
(define-public blis
(package
(name "blis")