[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/05: gnu: lapack: Install libraries to PREFIX/lib, not PREFIX/lib64.
From: |
Ludovic Courtès |
Subject: |
01/05: gnu: lapack: Install libraries to PREFIX/lib, not PREFIX/lib64. |
Date: |
Thu, 29 Jun 2017 09:21:31 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 3ab869b63fc43c8d13864d711c2dc55fb3691456
Author: Ludovic Courtès <address@hidden>
Date: Thu Jun 29 14:46:07 2017 +0200
gnu: lapack: Install libraries to PREFIX/lib, not PREFIX/lib64.
This fixes a regression introduced in
ef39a17717a10a7f406730258acfdb07934c7255, which would break
python-scipy ("undefined reference to `zungqr_'").
* gnu/packages/maths.scm (lapack)[arguments]: Add
"-DCMAKE_INSTALL_LIBDIR" to #:configure-flags.
---
gnu/packages/maths.scm | 17 ++++++++++++-----
1 file changed, 12 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 851694b..5e4cd85 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -442,11 +442,18 @@ large scale eigenvalue problems.")
(inputs `(("fortran" ,gfortran)
("python" ,python-2)))
(arguments
- `(#:configure-flags '("-DBUILD_SHARED_LIBS:BOOL=YES"
- "-DLAPACKE=ON"
-
- ;; Build the 'LAPACKE_clatms' functions.
- "-DLAPACKE_WITH_TMG=ON")
+ `(#:configure-flags (list
+ ;; Install to PREFIX/lib (the default is
+ ;; PREFIX/lib64).
+ (string-append "-DCMAKE_INSTALL_LIBDIR="
+ (assoc-ref %outputs "out")
+ "/lib")
+
+ "-DBUILD_SHARED_LIBS:BOOL=YES"
+ "-DLAPACKE=ON"
+
+ ;; Build the 'LAPACKE_clatms' functions.
+ "-DLAPACKE_WITH_TMG=ON")
#:phases (alist-cons-before
'check 'patch-python
(lambda* (#:key inputs #:allow-other-keys)
- branch master updated (2eb95ad -> d34970e), Ludovic Courtès, 2017/06/29
- 03/05: gnu: ansible: Apply experimental patch to deal with wrapping of ansible script., Ludovic Courtès, 2017/06/29
- 01/05: gnu: lapack: Install libraries to PREFIX/lib, not PREFIX/lib64.,
Ludovic Courtès <=
- 05/05: gnu: clojure: Update "tools-reader-src" to 1.0.0., Ludovic Courtès, 2017/06/29
- 02/05: gnu: node: Update to 8.1.2., Ludovic Courtès, 2017/06/29
- 04/05: gnu: Add procenv., Ludovic Courtès, 2017/06/29