diff options
| author | Charlie Sharpsteen | 2012-07-06 14:25:02 -0800 |
|---|---|---|
| committer | Charlie Sharpsteen | 2012-07-28 09:12:44 -0700 |
| commit | 4e640cba0430fa88499b706b168520310363beda (patch) | |
| tree | e1024b2b37f93b520cd758abbf62cc73fed1a15a /Library | |
| parent | 98d69d9efc300cd6ba50af1bf33da2f27dca0cdb (diff) | |
| download | homebrew-4e640cba0430fa88499b706b168520310363beda.tar.bz2 | |
brew-audit: Warn against depending on MPI
Depending on `open-mpi` or `mpich2` will cause problems since both formulae
install components with the same names. `brew audit` now recommends using
MPIDependency.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/Homebrew/cmd/audit.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index 0fd44580b..5f7641a33 100755 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -337,6 +337,14 @@ def audit_formula_instance f EOS when 'gfortran' problems << " * Use ENV.fortran during install instead of depends_on 'gfortran'" + + when 'open-mpi', 'mpich2' + problems << <<-EOS.undent + * There are multiple conflicting ways to install MPI. Use a MPIDependency: + depends_on MPIDependency.new(<lang list>) + Where <lang list> is a comma delimited list that can include: + :cc, :cxx, :f90, :f77 + EOS end end |
