-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
New package: intel-compute-runtime-20.21.16886 #21855
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.
I am not able to fully test because intel-compute-runtime
appears to have a hard build dependency on libexecinfo
, which is currently marked for musl only. I've flagged a few style issues and a build issue in intel-graphics-compiler
that can be remedied to make that package build.
@ahesford this should now build on As for musl, not sure what is the correct way to fix this:
|
It should come from The intel use case for that option is mentioned here as well https://stackoverflow.com/questions/34073051/when-we-are-supposed-to-use-rtld-deepbind#34074587 |
intel/compute-runtime#266 suggests passing a As a more correct fix, however, intel/compute-runtime#265 (comment) recommends using RTLD_GLOBAL instead of DEEPBIND. Upstream seems quite responsive, we could look into communicating with them if any more issues appear. |
@ericonr thanks! didn't see there has been some work from alpine since last time I tried. |
Some tests are failing on musl:
also note that it ends with a segfault. We have to find out if really the compute-runtime is broken or just these tests. |
578224d
to
e5a6edc
Compare
Needs to be tested with real world CL programs, especially on |
I'm doing some quick testing on Darktable (on glibc), seems to be working fine. I will try to test darktable CLI on musl afterwards. EDIT: darktable simple image worked! Both on glibc and musl, I tested an image with all effects enabled, and |
Btw, I believe you're missing some additions from common/shlibs (at least xbps-src complained about that here). I can get them for you if you want. |
The patches that you're using, do they come from upstream? At least the main repo seemed open to solving musl problems, so we can probably get all that upstreamed in the future c: Great work btw, thanks! |
I think the usual policy is to only add those actually required by other packages |
e5a6edc
to
9fe7971
Compare
https://github.com/intel/intel-graphics-compiler/releases we have a new release! |
9fe7971
to
d27437f
Compare
Updated |
They didn't include the CMake patch in the release :c |
Oof I thought they did. I have to readd it back. |
d27437f
to
33a741c
Compare
https://github.com/intel/compute-runtime/releases/tag/20.21.16886 https://github.com/intel/intel-graphics-compiler/releases/tag/igc-1.0.4053 <- can remove the CMake patch https://github.com/intel/opencl-clang/releases/tag/v10.0.0-2 <- failing, might have to file upstream bug |
Working for darktable on glibc and musl. Updated runtime and compiler, but not opencl-clang. |
33a741c
to
818f530
Compare
@ericonr what is the status of this PR? |
On my to-do list to update and merge. If @st3r4g is up to updating, that'd be great as well. |
Lost interest a bit since I'm not actually using it atm, but I might resume it some day, if ericonr doesn't do it before. |
Not surprised this is weirdly broken, even with patches for llvm12 compat. Branch: https://github.com/ericonr/void-packages/tree/intel-comp Build failure: https://gist.github.com/033f9a3d0279de04c7a1db7a9b1fd70a |
Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it. |
Closes #11364
Resumed the work I did some time ago, mainly updated the templates to use
llvm10
. Opening this as a draft for now because I remember musl requiring to be patched (I gave up back then), any help is welcome.@ericonr