We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0668bb6 commit 49fe10cCopy full SHA for 49fe10c
Makefile
@@ -144,6 +144,15 @@ endif
144
ifneq (,$(findstring BLAS,$(LLAMA)))
145
LLAMA_LIBS += $(BUILD_LLAMA)/ggml/src/ggml-blas/libggml-blas.a
146
LLAMA_LDFLAGS += -L./$(BUILD_LLAMA)/ggml/src/ggml-blas -lggml-blas
147
+ # Link against specific BLAS implementations
148
+ ifneq (,$(findstring OpenBLAS,$(LLAMA)))
149
+ LLAMA_LDFLAGS += -lopenblas
150
+ else ifneq (,$(findstring Apple,$(LLAMA)))
151
+ # Apple Accelerate is already linked in macOS section
152
+ else
153
+ # Generic BLAS
154
+ LLAMA_LDFLAGS += -lblas
155
+ endif
156
endif
157
ifneq (,$(findstring COREML,$(WHISPER))) # CoreML - only macos
158
WHISPER_LIBS += $(BUILD_WHISPER)/src/libwhisper.coreml.a
0 commit comments