summary refs log tree commit diff
diff options
context:
space:
mode:
authorEric Bavier <bavier@member.fsf.org>2019-01-30 00:48:39 -0600
committerEric Bavier <bavier@member.fsf.org>2019-01-31 22:12:56 -0600
commit56d447ba1685b4f36e1d3e20e82f7b7952a9b4ec (patch)
treedd1308f1a820d19d98895602308ed60bb812c77d
parenteb6785cfe7ef9a89e6465fa66fd5eae3612552c1 (diff)
downloadguix-56d447ba1685b4f36e1d3e20e82f7b7952a9b4ec.tar.gz
gnu: r-rmpi: Setup MPI for tests.
* gnu/packages/cran.scm (r-rmpi)[arguments]: Add 'mpi-setup phase.
-rw-r--r--gnu/packages/cran.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index f6f4a08aab..975884e881 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -1827,7 +1827,10 @@ matrices.")
     (properties `((upstream-name . "Rmpi")))
     (build-system r-build-system)
     (arguments
-     `(#:configure-flags '("--configure-args=\"--with-Rmpi-type=OPENMPI\"")))
+     `(#:configure-flags '("--configure-args=\"--with-Rmpi-type=OPENMPI\"")
+       #:phases (modify-phases %standard-phases
+                  (add-before 'install 'mpi-setup
+                    ,%openmpi-setup))))
     (inputs
      `(("openmpi" ,openmpi)))
     (native-inputs