sycl : Re-add erroneously removed -fsycl from GGML_EXTRA_LIBS#8667
sycl : Re-add erroneously removed -fsycl from GGML_EXTRA_LIBS#8667joeatodd merged 1 commit intoggml-org:masterfrom
Conversation
airMeng
left a comment
There was a problem hiding this comment.
It is a reminder that we shall check whether build shared libs both :)
|
https://github.com/ggerganov/llama.cpp/blob/b115105f05e3372bc75b2a486c1930c365fd2846/.devops/llama-server-intel.Dockerfile#L17 |
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? |
|
@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.