aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPjotr Prins2017-10-13 12:28:26 +0000
committerPjotr Prins2017-10-13 15:27:24 +0000
commita610dd723a233aed1abe31aa32e3137b23b5f983 (patch)
tree66172cf10d0d85f5a61219c1b7b074cbadb45575 /Makefile
parent25ad9756ebecfdb2f01b6f87c35bd731e3a3186d (diff)
downloadpangemma-a610dd723a233aed1abe31aa32e3137b23b5f983.tar.gz
OpenBlas: preparing for dgemm use
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 3062afb..7fd518d 100644
--- a/Makefile
+++ b/Makefile
@@ -66,15 +66,17 @@ else
CPP = g++
endif
-ifdef OPENBLAS
- WITH_LAPACK = # OPENBLAS usually includes LAPACK
+ifdef WITH_OPENBLAS
+ OPENBLAS=1
+ # WITH_LAPACK = # OPENBLAS usually includes LAPACK
+ CPPFLAGS += -DOPENBLAS
endif
ifdef DEBUG
- CPPFLAGS = -g $(GCC_FLAGS) -std=gnu++11 -isystem/$(EIGEN_INCLUDE_PATH) -Icontrib/catch-1.9.7 -Isrc
+ CPPFLAGS += -g $(GCC_FLAGS) -std=gnu++11 -isystem/$(EIGEN_INCLUDE_PATH) -Icontrib/catch-1.9.7 -Isrc
else
# release mode
- CPPFLAGS = -DNDEBUG $(GCC_FLAGS) -std=gnu++11 -isystem/$(EIGEN_INCLUDE_PATH) -Icontrib/catch-1.9.7 -Isrc
+ CPPFLAGS += -DNDEBUG $(GCC_FLAGS) -std=gnu++11 -isystem/$(EIGEN_INCLUDE_PATH) -Icontrib/catch-1.9.7 -Isrc
endif
ifdef SHOW_COMPILER_WARNINGS