mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-14 19:09:45 +00:00
try fix macos build (+1 squashed commits)
Squashed commits: [ae66dddfd] try fix macos build
This commit is contained in:
parent
f6e9d11636
commit
e1f0b0bedd
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -300,7 +300,7 @@ ifdef LLAMA_METAL
|
||||||
|
|
||||||
ggml-metal.o: ggml/src/ggml-metal/ggml-metal.m ggml/include/ggml-metal.h
|
ggml-metal.o: ggml/src/ggml-metal/ggml-metal.m ggml/include/ggml-metal.h
|
||||||
@echo "== Preparing merged Metal file =="
|
@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
|
@cp ggml/src/ggml-metal-merged.metal ./ggml-metal-merged.metal
|
||||||
$(CC) $(CFLAGS) -c $< -o $@
|
$(CC) $(CFLAGS) -c $< -o $@
|
||||||
endif # LLAMA_METAL
|
endif # LLAMA_METAL
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue