summaryrefslogtreecommitdiff
path: root/homebrew/openblas/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/openblas/.make.sh-auto')
-rw-r--r--homebrew/openblas/.make.sh-auto7
1 files changed, 7 insertions, 0 deletions
diff --git a/homebrew/openblas/.make.sh-auto b/homebrew/openblas/.make.sh-auto
new file mode 100644
index 000000000..2359e1d08
--- /dev/null
+++ b/homebrew/openblas/.make.sh-auto
@@ -0,0 +1,7 @@
+pkg:setup
+ENV["DYNAMIC_ARCH"] = "1"
+ENV["USE_OPENMP"] = "1"
+make CC=${PKG_TARG}-clang FC=gfortran libs netlib shared
+make PREFIX=${PKG_TAPF} DESTDIR=${PKG_DEST} install
+lib.install_symlink "libopenblas.dylib" => "libblas.dylib"
+lib.install_symlink "libopenblas.dylib" => "liblapack.dylib"