mirror of
https://github.com/ollama/ollama.git
synced 2026-10-23 20:11:28 +00:00
mlx: dedup dependency files (#18159)
Put license files in lib/ollama so runner dirs don't duplicate them, and package in the base package(s).
This commit is contained in:
parent
e37a00a8fa
commit
ef117cfcc0
4 changed files with 7 additions and 5 deletions
|
|
@ -255,7 +255,7 @@ _build_macapp() {
|
|||
|
||||
rm -f dist/Ollama-darwin.zip
|
||||
ditto -c -k --norsrc --keepParent dist/Ollama.app dist/Ollama-darwin.zip
|
||||
(cd dist/Ollama.app/Contents/Resources/; tar -cf - ollama llama-server llama-quantize *.so *.dylib *.metallib mlx_metal_v*/ 2>/dev/null) | gzip -9vc > dist/ollama-darwin.tgz
|
||||
(cd dist/Ollama.app/Contents/Resources/; tar -cf - ollama llama-server llama-quantize *.so *.dylib *.metallib *_LICENSE *_NOTICE mlx_metal_v*/ 2>/dev/null) | gzip -9vc > dist/ollama-darwin.tgz
|
||||
|
||||
# Notarize and Staple
|
||||
if [ -n "$APPLE_IDENTITY" ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue