Permalink
Browse files

scotch: bring mpi env back

  • Loading branch information...
wdeconinck committed Jan 11, 2013
1 parent 6a3a17f commit d47c1dd9868d9a5bc830c1659a08d7b472e7e665
Showing with 5 additions and 2 deletions.
  1. +5 −2 Library/Formula/scotch.rb
@@ -13,11 +13,14 @@ def install
# Scotch uses more recent POSIX standards than OSX supports
inreplace 'Makefile.inc' do |s|
+ s.change_make_var! 'CCS', ENV['CC']
+ s.change_make_var! 'CCP', ENV['MPICC']
+ s.change_make_var! 'CCD', ENV['MPICC']
s.slice! "-DCOMMON_PTHREAD"
s.slice! "-DSCOTCH_PTHREAD"
end
- system 'make', 'scotch'
- system 'make', 'ptscotch'
+ system 'make', 'scotch','VERBOSE=ON'
+ system 'make', 'ptscotch','VERBOSE=ON'
system 'make', 'install', "prefix=#{prefix}"
end
end

0 comments on commit d47c1dd

Please sign in to comment.