aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/mpich2.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/Library/Formula/mpich2.rb b/Library/Formula/mpich2.rb
index fdbb79348..2e47b26af 100644
--- a/Library/Formula/mpich2.rb
+++ b/Library/Formula/mpich2.rb
@@ -27,10 +27,14 @@ class Mpich2 < Formula
system "./configure", *args
system "make"
system "make install"
+
+ # MPE installs several helper scripts like "mpeuninstall" to the sbin
+ # directory, which we don't need when installing via homebrew
+ sbin.rmtree
end
def caveats; <<-EOS.undent
- Please be aware that installing this formula along with the OpenMPI
+ 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