mirror of
https://github.com/mudler/LocalAI.git
synced 2025-05-29 06:54:59 +00:00
add libggml-metal
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
parent
62e720e638
commit
01aa00237f
1 changed files with 1 additions and 0 deletions
1
Makefile
1
Makefile
|
@ -119,6 +119,7 @@ ifeq ($(OS),Darwin)
|
|||
# -lcblas removed: it seems to always be listed as a duplicate flag.
|
||||
CGO_LDFLAGS += -framework Accelerate
|
||||
CMAKE_ARGS+=-DGGML_METAL=ON
|
||||
CGO_LDFLAGS_WHISPER+=-lggml-metal
|
||||
endif
|
||||
else
|
||||
CGO_LDFLAGS_WHISPER+=-lgomp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue