diff options
author | Pjotr Prins | 2020-09-29 14:19:10 +0100 |
---|---|---|
committer | Pjotr Prins | 2020-09-29 14:19:10 +0100 |
commit | d1bdb764dea3d021eb5a22d313872abed1fee010 (patch) | |
tree | 774e39a83db4b0aeaeeede54aec73f1088234c67 /Makefile | |
parent | 4bfa67ebad843aa96d2bf44a6023788a4b43d39f (diff) | |
download | pangemma-d1bdb764dea3d021eb5a22d313872abed1fee010.tar.gz |
Trying to fix OSX on Travis
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 |