guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/06: gnu: openblas: Remove input labels.


From: guix-commits
Subject: 02/06: gnu: openblas: Remove input labels.
Date: Sun, 15 May 2022 16:51:07 -0400 (EDT)

civodul pushed a commit to branch staging
in repository guix.

commit 1038f7d6812dc4b70958dc89dafa65ebdbbe0f68
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Sun May 15 22:22:42 2022 +0200

    gnu: openblas: Remove input labels.
    
    * gnu/packages/maths.scm (openblas)[inputs, native-inputs]: Remove labels.
    [arguments]: In 'set-extralib' phase, use 'search-input-file'.
---
 gnu/packages/maths.scm | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 9bcf788c3c..732a7c0020 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -4534,14 +4534,14 @@ parts of it.")
            (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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]