fix(llama.cpp3240)

closes #6526
This commit is contained in:
Jacob Heider 2024-06-26 18:26:06 -04:00
parent 497a20ca2e
commit a8574519fc
No known key found for this signature in database
GPG key ID: 51E3FD0EE62677B6

View file

@ -52,7 +52,14 @@ build:
exit 1
fi
install -D props/entrypoint.sh {{prefix}}/entrypoint.sh
install -D ggml-metal.metal {{prefix}}/bin/ggml-metal.metal
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
else
echo "No ggml-metal.metal found"
exit 1
fi
- |
mkdir -p {{prefix}}/share