diff options
author | Eric Bavier <bavier@member.fsf.org> | 2019-01-30 00:25:22 -0600 |
---|---|---|
committer | Eric Bavier <bavier@member.fsf.org> | 2019-01-31 22:12:56 -0600 |
commit | eb6785cfe7ef9a89e6465fa66fd5eae3612552c1 (patch) | |
tree | a08f6b2f2e1b195aacdd336777b6dcb8a1b6c4aa /gnu/packages/algebra.scm | |
parent | ff75441fcf0ba1212b0342f933a8999bafe60f03 (diff) | |
download | guix-eb6785cfe7ef9a89e6465fa66fd5eae3612552c1.tar guix-eb6785cfe7ef9a89e6465fa66fd5eae3612552c1.tar.gz |
gnu: fftw-openmpi: Setup MPI for tests.
* gnu/packages/algebra.scm (fftw-openmpi)[arguments]: Add 'mpi-setup phase.
Diffstat (limited to 'gnu/packages/algebra.scm')
-rw-r--r-- | gnu/packages/algebra.scm | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm index 757b1111d6..89be346fab 100644 --- a/gnu/packages/algebra.scm +++ b/gnu/packages/algebra.scm @@ -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 @@ cosine/ sine transforms or DCT/DST).") (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.")))) |