summaryrefslogtreecommitdiff
path: root/homebrew/petsc/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/petsc/.make.sh-auto')
-rw-r--r--homebrew/petsc/.make.sh-auto8
1 files changed, 8 insertions, 0 deletions
diff --git a/homebrew/petsc/.make.sh-auto b/homebrew/petsc/.make.sh-auto
new file mode 100644
index 000000000..a6a87b7bd
--- /dev/null
+++ b/homebrew/petsc/.make.sh-auto
@@ -0,0 +1,8 @@
+pkg:setup
+ENV["CC"] = "mpicc"
+ENV["CXX"] = "mpicxx"
+ENV["F77"] = "mpif77"
+ENV["FC"] = "mpif90"
+pkg:configure --with-debugging=0 --with-scalar-type=real --with-x=0
+make all
+make DESTDIR=${PKG_DEST} install