diff options
author | Pjotr Prins | 2020-09-29 13:04:05 +0100 |
---|---|---|
committer | Pjotr Prins | 2020-09-29 14:26:11 +0100 |
commit | 5571631975792bc6af8c6d47f9558dc001fcfbaa (patch) | |
tree | e16c001d85b0c10bc47b3b19dd8dab6be57814e2 /Makefile | |
parent | ac67a05b7eae37ef28a3e9af9a03f75e310fb7b7 (diff) | |
download | pangemma-5571631975792bc6af8c6d47f9558dc001fcfbaa.tar.gz |
Fixes OSX build on Travis-CI
Fixes #160
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -111,7 +111,7 @@ else endif ifeq ($(CPP), clang++) - GCC_FLAGS=-std=c++11 -isystem$(OPENBLAS_INCLUDE_PATH) + GCC_FLAGS=-std=c++11 -isystem$(OPENBLAS_INCLUDE_PATH) ifdef GUIX CPPFLAGS += -I$(GUIX)/include/c++ -I$(GUIX)/include/c++/x86_64-unknown-linux-gnu endif @@ -158,6 +158,11 @@ static: CPPFLAGS += -static LIBS += -lgsl -lz ifdef WITH_OPENBLAS LIBS += -lopenblas + ifeq ($(SYS), OSX) + ifdef WITH_OPENBLAS + LIBS += -Wl,-L/usr/local/opt/openblas/lib + endif + endif else LIBS += -latlas -lcblas -llapack -lblas endif |