[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/04: gnu: lapack: Fix building on riscv64-linux.
From: |
guix-commits |
Subject: |
04/04: gnu: lapack: Fix building on riscv64-linux. |
Date: |
Tue, 17 Aug 2021 03:03:06 -0400 (EDT) |
efraim pushed a commit to branch wip-riscv
in repository guix.
commit 726ed0259467b0b0c534d17f41d42d1dd2014f6a
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 20b164f..7719272 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -854,6 +854,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