aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/open-mpi.rb
blob: 5215047c534ca58daad26a5200600c07935ae13c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
require 'formula'

class OpenMpi < Formula
  url 'http://www.open-mpi.org/software/ompi/v1.4/downloads/openmpi-1.4.2.tar.gz'
  homepage 'http://www.open-mpi.org/'
  md5 'e4f58c7e6792e4549424cb0420eb8655'

  def install
    # Compiler complains about link compatibility with FORTRAN otherwise
    ENV.delete('CFLAGS')
    ENV.delete('CXXFLAGS')
    system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
    system "make install"
  end
end