From ceb51cf43a7e6070d5f9f84df115fb57fc0b78b9 Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Thu, 14 Nov 2024 13:29:07 -0500 Subject: [PATCH] fix(llama.cpp) closes #7910 --- projects/github.com/ggerganov/llama.cpp/package.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/projects/github.com/ggerganov/llama.cpp/package.yml b/projects/github.com/ggerganov/llama.cpp/package.yml index d1bfbbb648..13b84a613d 100644 --- a/projects/github.com/ggerganov/llama.cpp/package.yml +++ b/projects/github.com/ggerganov/llama.cpp/package.yml @@ -67,11 +67,16 @@ build: echo "No binary found" exit 1 fi - install -D props/entrypoint.sh {{prefix}}/entrypoint.sh + + - install -D props/entrypoint.sh {{prefix}}/entrypoint.sh + + - | if test -f ggml-metal.metal; then install -D ggml-metal.metal {{prefix}}/bin/ggml-metal.metal elif test -f ggml/src/ggml-metal.metal; then install -D ggml/src/ggml-metal.metal {{prefix}}/bin/ggml-metal.metal + elif test -f ggml/src/ggml-metal/ggml-metal.metal; then + install -D ggml/src/ggml-metal/ggml-metal.metal {{prefix}}/bin/ggml-metal.metal else echo "No ggml-metal.metal found" exit 1