We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
BLAS=apple
1 parent 80597d8 commit c287fe7Copy full SHA for c287fe7
make/config.mk
@@ -58,16 +58,23 @@ USE_OPENMP = 1
58
59
# choose the version of blas you want to use
60
# can be: mkl, blas, atlas, openblas
61
-USE_STATIC_MKL = NONE
62
-USE_BLAS = blas
+# in default use atlas for linux while apple for osx
+UNAME_S := $(shell uname -s)
63
+ifeq ($(UNAME_S), Darwin)
64
+USE_BLAS = apple
65
+else
66
+USE_BLAS = atlas
67
+endif
68
69
# add path to intel libary, you may need it for MKL, if you did not add the path
70
# to enviroment variable
71
USE_INTEL_PATH = NONE
72
73
# If use MKL, choose static link automaticly to allow python wrapper
74
ifeq ($(USE_BLAS), mkl)
- USE_STATIC_MKL = 1
75
+USE_STATIC_MKL = 1
76
77
+USE_STATIC_MKL = NONE
78
endif
79
80
#----------------------------
0 commit comments