diff options
| author | samueljohn | 2012-06-20 11:58:29 +0200 |
|---|---|---|
| committer | Charlie Sharpsteen | 2012-07-02 08:15:10 -0800 |
| commit | 4902264e21b561c4a9a275f9b4e158d6554a2e08 (patch) | |
| tree | 5733ad76b2fcf532cd07022c5618373620839078 /Library | |
| parent | 77c0e4bc7f3a127858e2e9459e57b62b81b6197e (diff) | |
| download | homebrew-4902264e21b561c4a9a275f9b4e158d6554a2e08.tar.bz2 | |
open-mpi: Removed deletion of C/CXXFLAGS
These flags are needed for Xcode-only systems.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/open-mpi.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Library/Formula/open-mpi.rb b/Library/Formula/open-mpi.rb index e31cf122b..a8fc5f875 100644 --- a/Library/Formula/open-mpi.rb +++ b/Library/Formula/open-mpi.rb @@ -20,9 +20,6 @@ class OpenMpi < Formula end def install - # Compiler complains about link compatibility with FORTRAN otherwise - ENV.delete('CFLAGS') - ENV.delete('CXXFLAGS') args = %W[ --prefix=#{prefix} --disable-dependency-tracking @@ -33,13 +30,16 @@ class OpenMpi < Formula else ENV.fortran end + system './configure', *args system 'make all' system 'make check' if ARGV.include? '--test' system 'make install' - # If Fortran bindings were built, there will be a stra `.mod` file (Fortran - # header) in `lib` that needs to be moved to `include`. + + # If Fortran bindings were built, there will be a stray `.mod` file + # (Fortran header) in `lib` that needs to be moved to `include`. mv "#{lib}/mpi.mod", include if File.exists? "#{lib}/mpi.mod" + mv "#{bin}/vtsetup.jar", libexec (bin+'vtsetup.jar').write <<-EOS.undent #!/bin/bash |
