diff options
| author | Jack Nagel | 2013-03-26 00:31:24 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-03-26 00:55:17 -0500 |
| commit | 36d53cf8a6ee9bb30319c1b8d32bee9f95866f92 (patch) | |
| tree | 93735def7df6798523f3bfba35b6bf10f388d461 /Library/Formula/mpich2.rb | |
| parent | 1a18ac93992cfaca3a02a20c38eccb037dc3d1c9 (diff) | |
| download | homebrew-36d53cf8a6ee9bb30319c1b8d32bee9f95866f92.tar.bz2 | |
open-mpi and mpich conflict
Diffstat (limited to 'Library/Formula/mpich2.rb')
| -rw-r--r-- | Library/Formula/mpich2.rb | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/Library/Formula/mpich2.rb b/Library/Formula/mpich2.rb index 363d01f3b..9eef1aa8a 100644 --- a/Library/Formula/mpich2.rb +++ b/Library/Formula/mpich2.rb @@ -19,6 +19,8 @@ class Mpich2 < Formula option 'disable-fortran', "Do not attempt to build Fortran bindings" option 'enable-shared', "Build shared libraries" + conflicts_with 'open-mpi', :because => 'both install mpi__ compiler wrappers' + # fails with clang from Xcode 4.5.1 on 10.7 and 10.8 (see #15533) # linker bug appears to have been fixed by Xcode 4.6 fails_with :clang do @@ -61,13 +63,6 @@ class Mpich2 < Formula system "make install" end - def caveats; <<-EOS.undent - Please be aware that installing this formula along with the `openmpi` - formula will cause neither MPI installation to work correctly as - both packages install their own versions of mpicc/mpicxx and mpirun. - EOS - end - def test # a better test would be to build and run a small MPI program system "#{bin}/mpicc", "-show" |
