mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05: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:
parent
2eb95ade8f
commit
3ab869b63f
1 changed files with 11 additions and 4 deletions
|
@ -442,11 +442,18 @@ (define-public lapack
|
||||||
(inputs `(("fortran" ,gfortran)
|
(inputs `(("fortran" ,gfortran)
|
||||||
("python" ,python-2)))
|
("python" ,python-2)))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags '("-DBUILD_SHARED_LIBS:BOOL=YES"
|
`(#:configure-flags (list
|
||||||
"-DLAPACKE=ON"
|
;; Install to PREFIX/lib (the default is
|
||||||
|
;; PREFIX/lib64).
|
||||||
|
(string-append "-DCMAKE_INSTALL_LIBDIR="
|
||||||
|
(assoc-ref %outputs "out")
|
||||||
|
"/lib")
|
||||||
|
|
||||||
;; Build the 'LAPACKE_clatms' functions.
|
"-DBUILD_SHARED_LIBS:BOOL=YES"
|
||||||
"-DLAPACKE_WITH_TMG=ON")
|
"-DLAPACKE=ON"
|
||||||
|
|
||||||
|
;; Build the 'LAPACKE_clatms' functions.
|
||||||
|
"-DLAPACKE_WITH_TMG=ON")
|
||||||
#:phases (alist-cons-before
|
#:phases (alist-cons-before
|
||||||
'check 'patch-python
|
'check 'patch-python
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
|
|
Loading…
Reference in a new issue