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>
This commit is contained in:
parent
0d3578b28d
commit
524190f109
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user