mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-09-03 11:35:48 +02:00
try fix macos build (+1 squashed commits)
Squashed commits: [ae66dddfd] try fix macos build
This commit is contained in:
@@ -300,7 +300,7 @@ ifdef LLAMA_METAL
|
||||
|
||||
ggml-metal.o: ggml/src/ggml-metal/ggml-metal.m ggml/include/ggml-metal.h
|
||||
@echo "== Preparing merged Metal file =="
|
||||
@sed -e '/#include "ggml-common.h"/r ggml/src/ggml-common.h' -e '/#include "ggml-common.h"/d' < ggml/src/ggml-metal/ggml-metal.metal > ggml/src/ggml-metal-merged.metal
|
||||
@sed -e '/#include "..\/ggml-common.h"/r ggml/src/ggml-common.h' -e '/#include "..\/ggml-common.h"/d' < ggml/src/ggml-metal/ggml-metal.metal > ggml/src/ggml-metal-merged.metal
|
||||
@cp ggml/src/ggml-metal-merged.metal ./ggml-metal-merged.metal
|
||||
$(CC) $(CFLAGS) -c $< -o $@
|
||||
endif # LLAMA_METAL
|
||||
|
||||
Reference in New Issue
Block a user