-
Notifications
You must be signed in to change notification settings - Fork 9.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
sycl : Re-add erroneously removed -fsycl from GGML_EXTRA_LIBS #8667
Conversation
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.
It is a reminder that we shall check whether build shared libs both :)
can you update the scripts here so we can avoid the similar issues? |
Seems to work so far! can't give a full ack as now I have another issue caused by another recent change, so the build fails in another spot 😓 If this gets merged before I fix the other issues I'll be checking this out and open up follow-ups if having still problems 👍 |
Thank you for the quick fix @joeatodd ! |
I agree - need to build statically in CI.
I'm happy to make a change to catch issues like this. I see a couple of options:
I imagine option 1. might be unpopular since it implies extra CI resources. Option 2 implies no extra CI jobs, but possible confusion when one fails and the other doesn't. Perhaps a comment in the Dockerfile to draw attention to the static/shared build option? @airMeng what do you think? |
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.
I can confirm now that's fixing the issue on my side 👍 Thanks @joeatodd !
@airMeng I'll merge this for now since it's a hotfix, and I can raise a separate PR for testing static builds once we've agreed the best approach. |
I prefer option2. llama-server-intel.Dockerfile for shared lib and llama-cli-intel.Dockerfile for static. And some logging might be helpful. |
Fix for #8665 introduced in #8644.