unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
To: guix-devel@gnu.org
Subject: [PATCH] gnu: Add lapack-with-lapacke.
Date: Fri, 8 Jul 2016 17:40:08 +0200	[thread overview]
Message-ID: <20160708154008.24871-2-ricardo.wurmus@mdc-berlin.de> (raw)
In-Reply-To: <20160708154008.24871-1-ricardo.wurmus@mdc-berlin.de>

* gnu/packages/maths.scm (lapack-with-lapacke): New variable.
---
 gnu/packages/maths.scm | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 68fb272..4abbb2f 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -350,6 +350,14 @@ problems in numerical linear algebra.")
     (license (license:non-copyleft "file://LICENSE"
                                 "See LICENSE in the distribution."))))
 
+(define-public lapack-with-lapacke
+  (package (inherit lapack)
+    (name "lapack-with-lapacke")
+    (arguments
+     (substitute-keyword-arguments (package-arguments lapack)
+       ((#:configure-flags flags)
+        `(cons "-DLAPACKE=ON" ,flags))))))
+
 (define-public scalapack
   (package
     (name "scalapack")
-- 
2.5.5

  reply	other threads:[~2016-07-08 15:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-08 15:40 [PATCH] Add LAPACKE Ricardo Wurmus
2016-07-08 15:40 ` Ricardo Wurmus [this message]
2016-07-11  9:17 ` Ricardo Wurmus
2016-07-12 13:45   ` Ricardo Wurmus
     [not found] ` <20160710142058.GA5924@solar>
2016-07-11  9:23   ` Ricardo Wurmus
2016-07-12 15:21 ` Ludovic Courtès
2016-07-13 12:22   ` Ricardo Wurmus
2016-07-14 16:15     ` Andreas Enge
2016-07-17 15:52       ` Ricardo Wurmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160708154008.24871-2-ricardo.wurmus@mdc-berlin.de \
    --to=ricardo.wurmus@mdc-berlin.de \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).