From 89690967e33bcde4fd8736fe048d0e9dce5c6266 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Tue, 19 Dec 2017 07:17:38 +0000 Subject: Make eigelib -legacy --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Makefile') 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 -- cgit 1.4.1