[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/06: gnu: arpack-ng-openmpi: Fix build.
From: |
Ludovic Courtès |
Subject: |
04/06: gnu: arpack-ng-openmpi: Fix build. |
Date: |
Tue, 11 Sep 2018 11:47:03 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit aa82260bc098c3a2142230c6b787c39c00843ce1
Author: Paul Garlick <address@hidden>
Date: Tue Sep 11 09:38:39 2018 +0100
gnu: arpack-ng-openmpi: Fix build.
* gnu/packages/maths.scm (arpack-ng-openmpi)[arguments]: Add
'set-test-environment phase.
Signed-off-by: Ludovic Courtès <address@hidden>
---
gnu/packages/maths.scm | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 4e1347e..d1db75e 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -508,7 +508,17 @@ large scale eigenvalue problems.")
(arguments
(substitute-keyword-arguments (package-arguments arpack-ng)
((#:configure-flags _ '())
- ''("--enable-mpi"))))
+ ''("--enable-mpi"))
+ ((#:phases phases '%standard-phases)
+ `(modify-phases ,phases
+ (add-before 'check 'set-test-environment
+ (lambda _
+ ;; By default, running the test suite would fail because 'ssh'
+ ;; could not be found in $PATH. Define this variable to
+ ;; placate Open MPI without adding a dependency on OpenSSH (the
+ ;; agent isn't used anyway.)
+ (setenv "OMPI_MCA_plm_rsh_agent" (which "cat"))
+ #t))))))
(synopsis "Fortran subroutines for solving eigenvalue problems with MPI")))
(define-public lapack
- branch master updated (01af264 -> 52b0a35), Ludovic Courtès, 2018/09/11
- 02/06: gnu: jupyter-guile-kernel: Add dependencies to the search path., Ludovic Courtès, 2018/09/11
- 01/06: gnu: guile-simple-zmq, jupyter-guile-kernel: Update to 5bb66a0 and a7db924., Ludovic Courtès, 2018/09/11
- 04/06: gnu: arpack-ng-openmpi: Fix build.,
Ludovic Courtès <=
- 03/06: gnu: Add emacs-irony-mode., Ludovic Courtès, 2018/09/11
- 06/06: gnu: libreoffice: Update to 6.1.0.3., Ludovic Courtès, 2018/09/11
- 05/06: gnu: Add libnumbertext., Ludovic Courtès, 2018/09/11