]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
ci : add --symlinks to xcframework zip command (#12409)
authorDaniel Bevenius <redacted>
Sun, 16 Mar 2025 17:22:05 +0000 (18:22 +0100)
committerGitHub <redacted>
Sun, 16 Mar 2025 17:22:05 +0000 (18:22 +0100)
commit7b61bcc87cfdeab88350e82df1c4b7be64331ea6
treea8718c9b9f0a0b749faadccfe0472e91347f6a3a
parentf4c3dd5daa3a79f713813cf1aabdc5886071061d
ci : add --symlinks to xcframework zip command (#12409)

This commit adds the --symlinks option to the zip command used to create
the xcframework zip file. This is necessary to create symlinks in the
zip file. Without this option,  the Versions symlink is stored as a
regular directory entry in the zip file, rather than as a symlink in the
zip which causes the followig error in xcode:
```console
Couldn't resolve framework symlink for '/Users/danbev/work/ai/llama.cpp/tmp_1/build-apple/llama.xcframework/macos-arm64_x86_64/llama.framework/Versions/Current': readlink(/Users/danbev/work/ai/llama.cpp/tmp_1/build-apple/llama.xcframework/macos-arm64_x86_64/llama.framework/Versions/Current): Invalid argument (22)
```

Refs: https://github.com/ggml-org/llama.cpp/pull/11996#issuecomment-2727026377
.github/workflows/build.yml