-
Notifications
You must be signed in to change notification settings - Fork 10.9k
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
Swift/Xcode build errors since #4935: spm-headers/llama.h:235:9 Unknown type name 'ggml_backend_sched_eval_callback'
#5029
Comments
Fixes ggml-org#5029 introduced in ggml-org#4935
It should work without |
That does indeed resolve the build errors I was seeing — thanks very much! I wonder if this might also have been compounded by the way the EDIT: I've read thru #4867 and appreciate the current design is to enable whisper.cpp & this repo to share the |
Well, it's pretty much the same thing, because I manually update the |
I can very much appreciate the underlying complexity you're wrangling, and I have no doubt it will continue to improve with time. Thanks again for all your hard work on these fantastic projects! |
Since b1901 (rev 44a1a4a #4935), I've been unable to build llama.cpp with the provided Package.swift. I bisected back to this PR as the first breaking commit — b1900 (rev c918fe8) seems to work well.
I'm not terribly comfortable with C++, so to my eye I don't see anything wrong with the patch. I noticed the lack of
GGML_API
prefix like other types in the file,but I tried changing that locally and didn't notice a difference, though it's very possible I applied said change incorrectly/incompletely.EDIT: it seems committing this change indeed resolved the visibility issue I experienced as a result. Proposed a patch: #5030I would be more than happy to share any other relevant information or test any proposed fixes to the extent that would be helpful!
Here's the full error log:
The text was updated successfully, but these errors were encountered: