Merge pull request #1290 from maxnordlund/patch-1

Fix wrong ordering on when clauses in audit.rb
This commit is contained in:
Mike McQuaid 2016-10-15 17:52:54 +01:00 committed by GitHub
commit 7ac90613fd

View File

@ -407,15 +407,14 @@ class FormulaAuditor
where "1.8" is the minimum version of Ruby required.
EOS
when "open-mpi", "mpich"
problem <<-EOS.undent
when *BUILD_TIME_DEPS
next if dep.build? || dep.run?
problem <<-EOS.undent
There are multiple conflicting ways to install MPI. Use an MPIRequirement:
depends_on :mpi => [<lang list>]
Where <lang list> is a comma delimited list that can include:
:cc, :cxx, :f77, :f90
EOS
when *BUILD_TIME_DEPS
next if dep.build? || dep.run?
end
end
end