gnu: fftw-openmpi: Setup MPI for tests.

* gnu/packages/algebra.scm (fftw-openmpi)[arguments]: Add 'mpi-setup phase.
This commit is contained in:
Eric Bavier 2019-01-30 00:25:22 -06:00
parent ff75441fcf
commit eb6785cfe7
No known key found for this signature in database
GPG key ID: FD73CAC719D32566

View file

@ -7,7 +7,7 @@
;;; Copyright © 2017 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2017 Eric Bavier <bavier@member.fsf.org>
;;; Copyright © 2017, 2019 Eric Bavier <bavier@member.fsf.org>
;;;
;;; This file is part of GNU Guix.
;;;
@ -663,7 +663,11 @@ (define-public fftw-openmpi
(arguments
(substitute-keyword-arguments (package-arguments fftw)
((#:configure-flags cf)
`(cons "--enable-mpi" ,cf))))
`(cons "--enable-mpi" ,cf))
((#:phases phases '%standard-phases)
`(modify-phases ,phases
(add-before 'check 'mpi-setup
,%openmpi-setup)))))
(description
(string-append (package-description fftw)
" With OpenMPI parallelism support."))))