gnu: r-rmpi: Setup MPI for tests.

* gnu/packages/cran.scm (r-rmpi)[arguments]: Add 'mpi-setup phase.
This commit is contained in:
Eric Bavier 2019-01-30 00:48:39 -06:00
parent eb6785cfe7
commit 56d447ba16
No known key found for this signature in database
GPG key ID: FD73CAC719D32566

View file

@ -1827,7 +1827,10 @@ (define-public r-rmpi
(properties `((upstream-name . "Rmpi"))) (properties `((upstream-name . "Rmpi")))
(build-system r-build-system) (build-system r-build-system)
(arguments (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 (inputs
`(("openmpi" ,openmpi))) `(("openmpi" ,openmpi)))
(native-inputs (native-inputs