Skip to content
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

Enable AOT build for android-riscv64 #2399

Merged
merged 3 commits into from
Oct 23, 2024
Merged

Conversation

ntkme
Copy link
Contributor

@ntkme ntkme commented Oct 20, 2024

This PR replaces qemu-user-static binaries distributed by tonistiigi/binfmt with fedora distributed ones.

To properly run android riscv64 QEMU >= 8.2.0 is needed, but tonistiigi/binfmt:master has been stuck at QEMU 8.1.5 for a very long time (8.2.0 was released on 20 Dec 2023): tonistiigi/binfmt#197. Instead, current stable fedora 40 has QEMU 8.2.7 and upcoming fedora 41 has QEMU 9.1.0. Both version runs dart for android riscv64 without issues.

In addition, the new QEMU version fixed the bug that dart arm linux-musl would get stuck, so that this PR changes it back to run all linux builds with QEMU for simplicity.

Although dart-sdk still has no support for cross compiling AOT snapshot, with this PR we would reach complete coverage for AOT on all supported platforms.

@ntkme
Copy link
Contributor Author

ntkme commented Oct 20, 2024

Screenshot 2024-10-20 at 2 16 33 PM

@jathak jathak self-requested a review October 21, 2024 20:39
@jathak jathak merged commit 37a05f9 into sass:main Oct 23, 2024
38 checks passed
@ntkme ntkme deleted the android-riscv64-aot branch October 23, 2024 21:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants