diff options
| author | Xavier Lacoste | 2013-01-08 16:46:02 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2013-01-20 22:40:32 +0000 |
| commit | 0c7abfe83c5bb300c43d33ff8b231bccb6fc54f3 (patch) | |
| tree | 9bd8ce8f33bf8183f6da0aef61bdfa617c24f027 /Library/Formula/open-mpi.rb | |
| parent | 679d2b31e1a4968abfa8a182d807692f55feaa37 (diff) | |
| download | homebrew-0c7abfe83c5bb300c43d33ff8b231bccb6fc54f3.tar.bz2 | |
open-mpi: add MPI_THREAD_MULTIPLE support.
Closes #16956.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula/open-mpi.rb')
| -rw-r--r-- | Library/Formula/open-mpi.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/open-mpi.rb b/Library/Formula/open-mpi.rb index 48f51df37..278eaeaa0 100644 --- a/Library/Formula/open-mpi.rb +++ b/Library/Formula/open-mpi.rb @@ -15,6 +15,7 @@ class OpenMpi < Formula option 'disable-fortran', 'Do not build the Fortran bindings' option 'test', 'Verify the build with make check' + option 'enable-mpi-thread-multiple', 'Enable MPI_THREAD_MULTIPLE' def install args = %W[ @@ -28,6 +29,10 @@ class OpenMpi < Formula ENV.fortran end + if build.include? 'enable-mpi-thread-multiple' + args << '--enable-mpi-thread-multiple' + end + system './configure', *args system 'make V=1 all' system 'make V=1 check' if build.include? 'test' |
