aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPjotr Prins2017-10-14 07:36:49 +0000
committerPjotr Prins2017-10-14 07:36:49 +0000
commit12400932dd780a83bdad51642abda802797960b3 (patch)
tree66895ed7dad661f2d950fcc7ad1588513904ec9f /Makefile
parentee201807c0c8039aa968ec352a25fffcfdef8056 (diff)
downloadpangemma-12400932dd780a83bdad51642abda802797960b3.tar.gz
Travis: more fixes
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7fd518d..dc9a0d1 100644
--- a/Makefile
+++ b/Makefile
@@ -46,6 +46,7 @@ DEBUG = 1 # DEBUG mode, set DEBUG=0 for a release
SHOW_COMPILER_WARNINGS =
WITH_LAPACK = 1
WITH_OPENBLAS = # Defaults to LAPACK - OPENBLAS may be faster
+OPENBLAS_LEGACY = # Using older OpenBlas
FORCE_STATIC = # Static linking of libraries
GCC_FLAGS = -O3 # extra flags -Wl,--allow-multiple-definition
TRAVIS_CI = # used by TRAVIS for testing
@@ -70,6 +71,9 @@ ifdef WITH_OPENBLAS
OPENBLAS=1
# WITH_LAPACK = # OPENBLAS usually includes LAPACK
CPPFLAGS += -DOPENBLAS
+ ifdef OPENBLAS_LEGACY
+ CPPFLAGS += -DOPENBLAS_LEGACY
+ endif
endif
ifdef DEBUG