Link with cblas when LLAMA_OPENBLAS is enabled.

This commit is contained in:
KerfuffleV2 2023-03-30 13:42:15 -06:00
parent 3df890aef4
commit e968c80f5d

View file

@ -181,7 +181,7 @@ ifndef LLAMA_NO_ACCELERATE
endif endif
ifdef LLAMA_OPENBLAS ifdef LLAMA_OPENBLAS
CFLAGS += -DGGML_USE_OPENBLAS -I/usr/local/include/openblas CFLAGS += -DGGML_USE_OPENBLAS -I/usr/local/include/openblas
LDFLAGS += -lopenblas LDFLAGS += -lcblas -lopenblas
endif endif
ifdef LLAMA_GPROF ifdef LLAMA_GPROF
CFLAGS += -pg CFLAGS += -pg