diff options
author | Pjotr Prins | 2018-09-28 09:16:02 +0000 |
---|---|---|
committer | Pjotr Prins | 2018-09-28 09:16:02 +0000 |
commit | 1fdd4ca1ae891ff9dd3736e6ed94bc01c3423dfd (patch) | |
tree | 0f4b79b48c67cbd336bb02145a2b60c65dad8f9f /Makefile | |
parent | 8dbe3068953610996c86c765ef141c9f7ba1fbac (diff) | |
download | pangemma-1fdd4ca1ae891ff9dd3736e6ed94bc01c3423dfd.tar.gz |
Atlas compilation
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -128,6 +128,8 @@ ifdef WITH_OPENBLAS # Legacy version (mostly for Travis-CI) CPPFLAGS += -DOPENBLAS_LEGACY endif +else + CPPFLAGS += -DUSE_BLAS=atlas endif ifeq ($(CXX), clang++) @@ -158,7 +160,12 @@ ifdef SHOW_COMPILER_WARNINGS endif ifndef FORCE_STATIC - LIBS = -lgsl -lopenblas -lz + LIBS = -lgsl -lz + ifdef WITH_OPENBLAS + LIBS += -lopenblas + else + LIBS += -L$(GUIX_ENVIRONMENT) -latlas -lcblas -llapack -lblas + endif ifdef WITH_GSLCBLAS LIBS += -lgslcblas else |