2010-02-26 09:50:15 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class OpenMpi <Formula
|
2010-06-26 00:35:58 +00:00
|
|
|
url 'http://www.open-mpi.org/software/ompi/v1.4/downloads/openmpi-1.4.2.tar.gz'
|
2010-02-26 09:50:15 +00:00
|
|
|
homepage 'www.open-mpi.org'
|
2010-06-26 00:35:58 +00:00
|
|
|
md5 'e4f58c7e6792e4549424cb0420eb8655'
|
2010-02-26 09:50:15 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
# Compiler complains about link compatibility with FORTRAN otherwise
|
2010-04-07 05:58:35 +00:00
|
|
|
ENV.delete('CFLAGS')
|
2010-02-26 09:50:15 +00:00
|
|
|
ENV.delete('CXXFLAGS')
|
|
|
|
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|