-
Notifications
You must be signed in to change notification settings - Fork 11.7k
b1705 introduces build error on linux-aarch64 #4654
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
Comments
Also saw this on an iOS build last night, looking for a solution. Edit: fwiw reverting to |
I am getting the same error when trying to compile the project in XCode. |
Not sure how to fix this gracefully - open to suggestions |
Is it possible to use a different name for |
+1 I see this when producing binaries for Apple Silicon on MacOS ("aarch64-apple-darwin"). |
@slaren This is what we did for some of the 64-bit ARM ops to make the build compatible with 32-bit ARM: However, for For now I'm planning to change the check from: to: #if defined(GGML_ARM_DOTPROD)
... This way, on older Arm devices that do not have |
Maybe I am completely wrong about this, but I am assuming that the issue is that the dotprod intrinsic is defined even if the system doesn't support it, and that causes a name clash with the fallback function. So if that is the case, using a different name should fix it. From what I can tell, before #4630 we also relied on |
You are correct - I've pushed a fix as suggested in #4715 |
can confirm that the build error is no longer present as of b1732. |
Starting with b1705, I get the following when building for linux-aarch64:
it seems to be directly related to #4630. the various #define tricks i'm used to don't seem to be able to resolve it. any ideas?
full build log: https://github.com/pkgxdev/pantry/actions/runs/7340844999/job/19987542307
The text was updated successfully, but these errors were encountered: