-
Notifications
You must be signed in to change notification settings - Fork 133
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
Add CI on Github Actions for x86_64, aarch64, arm, ppc64 and s390x #476
Conversation
Some known limitations:
|
The GitHub Actions run is available at https://github.com/rivosinc/sleef/actions/runs/6745836169 |
Thank you very much for this PR, this is very helpful!
Cannot wrap my head around these random failures. Cannot reproduce locally, but my environment differs slightly.
for gcc Jenkins also has Have you tried to set the number of threads to 1 in
Absolutely, this is still very minimalistic in terms of cmake configuration as well. But it is a great start to unblock pending PRs. |
The issue with linking seems to be in name variation for the symbols. Let's look at |
Issue seems to be with how https://github.com/rivosinc/sleef/actions/runs/6753813009 is a good example. All jobs that run on Is it then a requirement to compile |
It fails when compiling on a host CPU with AVX512f
That's the latest run without |
I've enabled testing on QEMU for ppc64 and arm. I couldn't figure out the magic combination for s390x just yet. I'll need some more domain-specific expertise on s390x to enable the right options, I don't understand what they are. |
Hi! Very good point. I would like to make sure we are not losing the point of testvecabi by doing this, We'll take over for s390x, this already provides great coverage, thank you! |
It is already built all on the same runner, in the same job. The issue is one is compiled without |
Right, got you! Thanks, we can look at this outside this PR. |
@blapie are you happy to merge this PR as-is (with the removal of |
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.
Looking good! Just a few comments on config options.
Yes, I think that can be merged back later. I left a few comments on your patch. |
@blapie I've updated the PR per your review, and I've split off the native build to reuse for the cross builds. You can find a run at https://github.com/rivosinc/sleef/actions/runs/6790080413 However, I'm running into an issue on
The issue seems to be that there is no definition of I don't know how to fix it, but it's making the PR fails as it is. |
@luhenry Thanks for the update and further investigation! It looks like aarch32 might require a different environment or a fix. Do test pass when disabling inline headers for armhf? If so, I'll merge as is. |
I disabled inline headers on armhf with https://github.com/shibatch/sleef/pull/476/files#diff-48c0ee97c53013d18d6bbae44648f7fab9af2e0bf5b0dc1ca761e18ec5c478f2R139-R140 |
@blapie I've removed 1024 and 2048 bits. Last run at https://github.com/rivosinc/sleef/actions/runs/6813866461. Happy to merge as-is! Thank you again |
As discussed offline, this PR adds some CI on GitHub Actions. That's expected to facilitate contribution by having smoke testing on any changes that would be integrating, facilitating the work of maintainers by making sure a change will not completely break all supported architectures (aarch64, arm, ppc64, s390x, and x86_64).