guix-commits
[Top][All Lists]
Advanced

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

20/41: gnu: lapack: Fix building on riscv64-linux.


From: guix-commits
Subject: 20/41: gnu: lapack: Fix building on riscv64-linux.
Date: Thu, 9 Sep 2021 08:39:34 -0400 (EDT)

efraim pushed a commit to branch wip-riscv
in repository guix.

commit fbfe79c468069c1c8f9447cbc3f0f1cef8b69572
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Aug 17 10:00:38 2021 +0300

    gnu: lapack: Fix building on riscv64-linux.
    
    * gnu/packages/maths.scm (lapack)[inputs]: When building for
    riscv64-linux explicitly add gfortran:lib.
---
 gnu/packages/maths.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 6a12846..34fb073 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -892,6 +892,9 @@ large scale eigenvalue problems.")
     (build-system cmake-build-system)
     (home-page "http://www.netlib.org/lapack/";)
     (inputs `(("fortran" ,gfortran)
+              ,@(if (target-riscv?)
+                  `(("fortran:lib" ,gfortran "lib"))
+                  '())
               ("python" ,python-wrapper)))
     (arguments
      `(#:configure-flags (list



reply via email to

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