gnu: openblas: Remove input labels.

* gnu/packages/maths.scm (openblas)[inputs, native-inputs]: Remove labels.
[arguments]: In 'set-extralib' phase, use 'search-input-file'.
This commit is contained in:
Ludovic Courtès 2022-05-15 22:22:42 +02:00
parent 20eadd425e
commit 1038f7d681
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -4534,14 +4534,14 @@ (define-public openblas
(lambda* (#:key inputs #:allow-other-keys)
;; Get libgfortran found when building in utest.
(setenv "FEXTRALIB"
(string-append "-L" (assoc-ref inputs "fortran-lib")
"/lib")))))))
(string-append
"-L"
(dirname
(search-input-file inputs "/lib/libgfortran.so")))))))))
(inputs
`(("fortran-lib" ,gfortran "lib")))
(list `(,gfortran "lib")))
(native-inputs
`(("cunit" ,cunit)
("fortran" ,gfortran)
("perl" ,perl)))
(list cunit gfortran perl))
(home-page "https://www.openblas.net/")
(synopsis "Optimized BLAS library based on GotoBLAS")
(description