From e1f0b0beddbc47517b27082fe064ca9365eecbcc Mon Sep 17 00:00:00 2001 From: Concedo <39025047+LostRuins@users.noreply.github.com> Date: Sun, 17 Nov 2024 02:24:13 +0800 Subject: [PATCH] try fix macos build (+1 squashed commits) Squashed commits: [ae66dddfd] try fix macos build --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b78f14e1c..2c5b0423a 100644 --- a/Makefile +++ b/Makefile @@ -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