-
Notifications
You must be signed in to change notification settings - Fork 108
enable abi-cafe tests on aarch64-apple-darwin
#1515
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
The macOS runners are all arm64 now. That step is to force cg_clif to run as x86_64 under Rosetta 2 to emulate testing on real x86_64 hardware. |
abi-cafe had a major rework recently. It detected a couple of new abi compatibility issues. I would like to wait for the update to this new abi-cafe version before merging this PR. It is currently blocked on a bug that cases abi-cafe to deadlock on MinGW though. |
Sure! |
Updated abi-cafe in #1523. |
I don't know why the workflow isn't run here, but there are failures with the new abi-cafe https://github.com/lqd/rustc_codegen_cranelift/actions/runs/10234895872/job/28314992338 e.g. on |
The abi-cafe CI jobs are only run when pushing to a branch on this repo. https://github.com/rust-lang/rustc_codegen_cranelift/blob/master/patches/0002-abi-cafe-Disable-broken-tests.patch has the list of currently broken tests. Adding these test failures there is fine for now. They should eventually be fixed, but at least this way further regressions are prevented. |
Ok that was surprisingly hard because of many compounding factors. The patch system doesn't look very documented or automated, and makes it difficult to do changes to debug and enable/disable tests, but I think I got it to work to disable the newly failing tests including the asymmetric failures, and re-enable the fixed tests, as seen in https://github.com/lqd/rustc_codegen_cranelift/actions/runs/10237131988/job/28320060339. The I also fixed
That will make |
So I've just separated the set of busted tests for the two OSes, so it should still work on |
Thanks! |
As of 6ef49b2 the abi-cafe tests run on pull requests too. |
This PR adds the
aarch64-apple-darwin
target to the abi-cafe CI job. It seems all tests pass already, so there was no need to patch any out.I'm not sure what the "Use x86_64 compiler on macOS" step fixed on intel but there was no issue running on aarch64, so I didn't change anything there.
Fixes #1512