From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: [PATCH] gnu: Add lapack-with-lapacke. Date: Fri, 8 Jul 2016 17:40:08 +0200 Message-ID: <20160708154008.24871-2-ricardo.wurmus@mdc-berlin.de> References: <20160708154008.24871-1-ricardo.wurmus@mdc-berlin.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43392) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLXtC-00066r-VX for guix-devel@gnu.org; Fri, 08 Jul 2016 11:40:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bLXt9-0002M3-3I for guix-devel@gnu.org; Fri, 08 Jul 2016 11:40:27 -0400 Received: from sinope02.bbbm.mdc-berlin.de ([141.80.25.24]:39804) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLXt8-0002Lr-T5 for guix-devel@gnu.org; Fri, 08 Jul 2016 11:40:23 -0400 Received: from localhost (localhost [127.0.0.1]) by sinope02.bbbm.mdc-berlin.de (Postfix) with ESMTP id CD71B12E3AC for ; Fri, 8 Jul 2016 17:40:21 +0200 (CEST) Received: from sinope02.bbbm.mdc-berlin.de ([127.0.0.1]) by localhost (sinope02.bbbm.mdc-berlin.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wr5NRuKmYAnc for ; Fri, 8 Jul 2016 17:40:16 +0200 (CEST) Received: from HTCATWO.mdc-berlin.net (puck.citx.mdc-berlin.de [141.80.36.101]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by sinope02.bbbm.mdc-berlin.de (Postfix) with ESMTPS for ; Fri, 8 Jul 2016 17:40:16 +0200 (CEST) In-Reply-To: <20160708154008.24871-1-ricardo.wurmus@mdc-berlin.de> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * 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