-
Notifications
You must be signed in to change notification settings - Fork 11.7k
llama : use cmake for swift build #10525
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
a73ca52
to
27432b6
Compare
27432b6
to
47844dc
Compare
This reverts commit d39ffd9.
This reverts commit 43ed389.
* llama : use cmake for swift build * swift : <> -> "" * ci : remove make * ci : disable ios build * Revert "swift : <> -> """ This reverts commit d39ffd9. * ci : try fix ios build * ci : cont * ci : cont --------- Co-authored-by: Georgi Gerganov <[email protected]>
This reverts commit 43ed389.
* llama : use cmake for swift build * swift : <> -> "" * ci : remove make * ci : disable ios build * Revert "swift : <> -> """ This reverts commit d39ffd9. * ci : try fix ios build * ci : cont * ci : cont --------- Co-authored-by: Georgi Gerganov <[email protected]>
Changing this to a system library breaks the SwiftPM integration (basically the only relevant use case) and forces every users to clone the repo. The build instructions NEED to remain in the |
@Lancelotbronner The Swift builds are being migrated to a XCFramework. Follow #11996 for updates. |
I know it's already been merged months ago, but Swift isn't just for Apple platform development. XCFramework won't work on Linux. |
This is intended to show a possible way to use
cmake
to build the llama.cpp dependency for the swift code, without having to duplicate the build inPackage.swift
.