aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPjotr Prins2017-12-19 07:17:38 +0000
committerPjotr Prins2017-12-19 07:17:38 +0000
commit89690967e33bcde4fd8736fe048d0e9dce5c6266 (patch)
treee834edea2baacdb5b1bf8abf2868efd4de340192 /Makefile
parent10b695f76960b5faade1f7ec286fc4ba46a779a1 (diff)
downloadpangemma-89690967e33bcde4fd8736fe048d0e9dce5c6266.tar.gz
Make eigelib -legacy
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 054eab3..f03903d 100644
--- a/Makefile
+++ b/Makefile
@@ -46,7 +46,7 @@ SYS = LNX # LNX|MAC (Linux is the default)
DIST_NAME = gemma-$(GEMMA_VERSION)
DEBUG = 1 # DEBUG mode, set DEBUG=0 for a release
SHOW_COMPILER_WARNINGS =
-WITH_LAPACK = 1
+WITH_LAPACK = # Force linking LAPACK
WITH_OPENBLAS = 1 # Without OpenBlas uses LAPACK
OPENBLAS_LEGACY = # Using older OpenBlas
FORCE_STATIC = # Static linking of libraries
@@ -110,7 +110,9 @@ OUTPUT = $(BIN_DIR)/gemma
# Detailed libary paths, D for dynamic and S for static
-# LIBS_LNX_D_LAPACK = -llapack
+ifdef WITH_LAPACK
+ LIBS_LNX_D_LAPACK = -llapack
+endif
# LIBS_LNX_D_BLAS = -lblas
LIBS_LNX_D_OPENBLAS = -lopenblas
LIBS_MAC_D_LAPACK = -framework Accelerate