mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 22:26:40 -05:00
gnu: fftw-openmpi: Setup MPI for tests.
* gnu/packages/algebra.scm (fftw-openmpi)[arguments]: Add 'mpi-setup phase.
This commit is contained in:
parent
ff75441fcf
commit
eb6785cfe7
1 changed files with 6 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
||||||
;;; Copyright © 2017 Efraim Flashner <efraim@flashner.co.il>
|
;;; Copyright © 2017 Efraim Flashner <efraim@flashner.co.il>
|
||||||
;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
|
;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||||
;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com>
|
;;; 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.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -663,7 +663,11 @@ (define-public fftw-openmpi
|
||||||
(arguments
|
(arguments
|
||||||
(substitute-keyword-arguments (package-arguments fftw)
|
(substitute-keyword-arguments (package-arguments fftw)
|
||||||
((#:configure-flags cf)
|
((#: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
|
(description
|
||||||
(string-append (package-description fftw)
|
(string-append (package-description fftw)
|
||||||
" With OpenMPI parallelism support."))))
|
" With OpenMPI parallelism support."))))
|
||||||
|
|
Loading…
Reference in a new issue