From 56d447ba1685b4f36e1d3e20e82f7b7952a9b4ec Mon Sep 17 00:00:00 2001 From: Eric Bavier Date: Wed, 30 Jan 2019 00:48:39 -0600 Subject: [PATCH] gnu: r-rmpi: Setup MPI for tests. * gnu/packages/cran.scm (r-rmpi)[arguments]: Add 'mpi-setup phase. --- gnu/packages/cran.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 @@ (define-public r-rmpi (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