-
Notifications
You must be signed in to change notification settings - Fork 12.1k
ggml-cpu : rework weak alias on apple targets #14146
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
c4ac5be
to
90e1b6c
Compare
A quick note re PowerPC detection in CMake: you can just use |
@xctan Looks like something does not work correctly with symbols naming:
|
@barracuda156 I was using the lowercase |
@xctan P. S. AIX has its own dedicated macros for PowerPC, I believe, but I am not sure which and cannot verify. |
@barracuda156 Thanks for the suggestion. The special handling is only required for Darwin due to the Mach-O toolchain's lack of an equivalent for weak aliases. On other systems, the linker will complete the alias resolution task. I realized the PowerPC macros were confusingly named and have fixed the detection logic again. My apologies for that oversight and any confusion it may have caused. |
I will re-run the build soon, thank you. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now the build works successfully, thank you!
Fixes #14138.