3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: lapack: Install libraries to PREFIX/lib, not PREFIX/lib64.

This fixes a regression introduced in
ef39a17717, which would break
python-scipy ("undefined reference to `zungqr_'").

* gnu/packages/maths.scm (lapack)[arguments]: Add
"-DCMAKE_INSTALL_LIBDIR" to #:configure-flags.
This commit is contained in:
Ludovic Courtès 2017-06-29 14:46:07 +02:00 committed by Ludovic Courtès
parent 2eb95ade8f
commit 3ab869b63f
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -442,11 +442,18 @@ large scale eigenvalue problems.")
(inputs `(("fortran" ,gfortran)
("python" ,python-2)))
(arguments
`(#:configure-flags '("-DBUILD_SHARED_LIBS:BOOL=YES"
"-DLAPACKE=ON"
`(#:configure-flags (list
;; Install to PREFIX/lib (the default is
;; PREFIX/lib64).
(string-append "-DCMAKE_INSTALL_LIBDIR="
(assoc-ref %outputs "out")
"/lib")
;; Build the 'LAPACKE_clatms' functions.
"-DLAPACKE_WITH_TMG=ON")
"-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)