diff options
| author | Matthew R Becker | 2014-06-06 23:13:52 -0700 |
|---|---|---|
| committer | Mike McQuaid | 2014-06-07 08:43:20 +0100 |
| commit | a50f224714a153f003aa04e8d1b8abe6f28274d6 (patch) | |
| tree | e6542caa7dd88b20e9320cb7cc3daa384b934905 /Library | |
| parent | 7fc088d78517d5e1d7f76d245d2893af144d84e3 (diff) | |
| download | homebrew-a50f224714a153f003aa04e8d1b8abe6f28274d6.tar.bz2 | |
added MPI support for fftw
Closes #29949.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/fftw.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/fftw.rb b/Library/Formula/fftw.rb index 1268b0fc4..a7d55f988 100644 --- a/Library/Formula/fftw.rb +++ b/Library/Formula/fftw.rb @@ -14,8 +14,10 @@ class Fftw < Formula option "with-fortran", "Enable Fortran bindings" option :universal + option "with-mpi", "Enable MPI parallel transforms" depends_on :fortran => :optional + depends_on :mpi => [:cc, :optional] def install args = ["--enable-shared", @@ -27,6 +29,7 @@ class Fftw < Formula simd_args << "--enable-avx" if ENV.compiler == :clang and Hardware::CPU.avx? and !build.bottle? args << "--disable-fortran" if build.without? "fortran" + args << "--enable-mpi" if build.with? "mpi" ENV.universal_binary if build.universal? |
