lammps: phase out :fortran and :mpi

This commit is contained in:
FX Coudert 2018-01-13 16:24:38 +01:00
parent 9e15c5c48a
commit 91196d4927

View file

@ -7,7 +7,7 @@ class Lammps < Formula
# We only track stable releases as announced on the LAMMPS homepage. # We only track stable releases as announced on the LAMMPS homepage.
version "2017-08-11" version "2017-08-11"
sha256 "33431329fc735fb12d22ed33399235ef9506ba759a281a24028de538822af104" sha256 "33431329fc735fb12d22ed33399235ef9506ba759a281a24028de538822af104"
revision 2 revision 3
bottle do bottle do
cellar :any cellar :any
@ -17,10 +17,10 @@ class Lammps < Formula
end end
depends_on "fftw" depends_on "fftw"
depends_on "gcc" # for gfortran
depends_on "jpeg" depends_on "jpeg"
depends_on "libpng" depends_on "libpng"
depends_on :fortran depends_on "open-mpi"
depends_on :mpi => [:cxx, :f90]
def install def install
%w[serial mpi].each do |variant| %w[serial mpi].each do |variant|