Merge pull request #1290 from maxnordlund/patch-1
Fix wrong ordering on when clauses in audit.rb
This commit is contained in:
commit
7ac90613fd
@ -407,15 +407,14 @@ class FormulaAuditor
|
|||||||
where "1.8" is the minimum version of Ruby required.
|
where "1.8" is the minimum version of Ruby required.
|
||||||
EOS
|
EOS
|
||||||
when "open-mpi", "mpich"
|
when "open-mpi", "mpich"
|
||||||
problem <<-EOS.undent
|
|
||||||
when *BUILD_TIME_DEPS
|
|
||||||
next if dep.build? || dep.run?
|
|
||||||
problem <<-EOS.undent
|
problem <<-EOS.undent
|
||||||
There are multiple conflicting ways to install MPI. Use an MPIRequirement:
|
There are multiple conflicting ways to install MPI. Use an MPIRequirement:
|
||||||
depends_on :mpi => [<lang list>]
|
depends_on :mpi => [<lang list>]
|
||||||
Where <lang list> is a comma delimited list that can include:
|
Where <lang list> is a comma delimited list that can include:
|
||||||
:cc, :cxx, :f77, :f90
|
:cc, :cxx, :f77, :f90
|
||||||
EOS
|
EOS
|
||||||
|
when *BUILD_TIME_DEPS
|
||||||
|
next if dep.build? || dep.run?
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user