mirror of
https://github.com/mudler/LocalAI.git
synced 2025-05-31 22:40:45 +00:00
add libggml-metal
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
parent
62e720e638
commit
01aa00237f
1
Makefile
1
Makefile
@ -119,6 +119,7 @@ ifeq ($(OS),Darwin)
|
|||||||
# -lcblas removed: it seems to always be listed as a duplicate flag.
|
# -lcblas removed: it seems to always be listed as a duplicate flag.
|
||||||
CGO_LDFLAGS += -framework Accelerate
|
CGO_LDFLAGS += -framework Accelerate
|
||||||
CMAKE_ARGS+=-DGGML_METAL=ON
|
CMAKE_ARGS+=-DGGML_METAL=ON
|
||||||
|
CGO_LDFLAGS_WHISPER+=-lggml-metal
|
||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
CGO_LDFLAGS_WHISPER+=-lgomp
|
CGO_LDFLAGS_WHISPER+=-lgomp
|
||||||
|
Loading…
x
Reference in New Issue
Block a user