Skip to content

Commit

Permalink
fix(llama.cpp)
Browse files Browse the repository at this point in the history
closes #7910
  • Loading branch information
jhheider committed Nov 14, 2024
1 parent 4bf7800 commit ceb51cf
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion projects/github.com/ggerganov/llama.cpp/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ceb51cf

Please sign in to comment.