From 82babf242e2e441a6d49138f7cddbd5182b8d9be Mon Sep 17 00:00:00 2001 From: Akira Kyle Date: Thu, 8 Dec 2022 10:03:04 +0200 Subject: gnu: Add libblastrampoline. * gnu/packages/maths.scm (libblastrampoline): New variable. Signed-off-by: Efraim Flashner --- gnu/packages/maths.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'gnu/packages/maths.scm') diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index c0bc07977b..e2236f0f70 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -57,6 +57,7 @@ ;;; Copyright © 2022 vicvbcun ;;; Copyright © 2022 Liliana Marie Prikler ;;; Copyright © 2022 Maximilian Heisinger +;;; Copyright © 2022 Akira Kyle ;;; ;;; This file is part of GNU Guix. ;;; @@ -4715,6 +4716,36 @@ parts of it.") (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") -- cgit v1.2.3