Skip to content

Instantly share code, notes, and snippets.

@staticfloat
Created September 30, 2012 06:54
Show Gist options
  • Select an option

  • Save staticfloat/3806092 to your computer and use it in GitHub Desktop.

Select an option

Save staticfloat/3806092 to your computer and use it in GitHub Desktop.
julia make.inc openblas patch
diff --git a/Make.inc b/Make.inc
index b1fbf99..2d74730 100644
--- a/Make.inc
+++ b/Make.inc
@@ -170,8 +170,8 @@ endif
ifeq ($(USE_SYSTEM_BLAS), 1)
ifeq ($(OS), Darwin)
-LIBBLAS = -framework vecLib -lBLAS
-LIBBLASNAME = libblas
+LIBBLAS = -lopenblas
+LIBBLASNAME = libopenblas
else
LIBBLAS = -lblas
LIBBLASNAME = libblas
@@ -183,8 +183,8 @@ endif
ifeq ($(USE_SYSTEM_LAPACK), 1)
ifeq ($(OS), Darwin)
-LIBLAPACK = -framework vecLib -lLAPACK
-LIBLAPACKNAME = liblapack
+LIBLAPACK = $(LIBBLAS)
+LIBLAPACKNAME = $(LIBBLASNAME)
else
LIBLAPACK = -llapack
LIBLAPACKNAME = liblapack
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment