guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/02: gnu: Add openblas-ilp64.


From: Ludovic Courtès
Subject: 01/02: gnu: Add openblas-ilp64.
Date: Fri, 14 Sep 2018 05:23:14 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit daa6036fda502460f626b7beb0afa93a0bac6d01
Author: Eric Brown <address@hidden>
Date:   Thu Sep 13 08:54:36 2018 -0500

    gnu: Add openblas-ilp64.
    
    * gnu/packages/maths.scm (openblas-ilp64): New variable.
    
    Co-authored-by: Ludovic Courtès <address@hidden>
---
 gnu/packages/maths.scm | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index af41093..d3e7212 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -27,6 +27,7 @@
 ;;; Copyright © 2018 Nadya Voronova <address@hidden>
 ;;; Copyright © 2018 Adam Massmann <address@hidden>
 ;;; Copyright © 2018 Marius Bakke <address@hidden>
+;;; Copyright © 2018 Eric Brown <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2873,6 +2874,18 @@ parts of it.")
      "OpenBLAS is a BLAS library forked from the GotoBLAS2-1.13 BSD version.")
     (license license:bsd-3)))
 
+(define-public openblas-ilp64
+  (package (inherit openblas)
+    (name "openblas-ilp64")
+    (supported-systems '("x86_64-linux" "aarch64-linux" "mips64el-linux"))
+    (arguments
+     (substitute-keyword-arguments (package-arguments openblas)
+       ((#:make-flags flags '())
+        `(append (list "INTERFACE64=1" "LIBNAMESUFFIX=ilp64")
+                 ,flags))))
+    (synopsis "Optimized BLAS library based on GotoBLAS (ILP64 version)")
+    (license license:bsd-3)))
+
 (define* (make-blis implementation #:optional substitutable?)
   "Return a BLIS package with the given IMPLEMENTATION (see config/ in the
 source tree for a list of implementations.)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]