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

Manylinux ARM builds #74

Open
fidoriel opened this issue Sep 4, 2024 · 5 comments
Open

Manylinux ARM builds #74

fidoriel opened this issue Sep 4, 2024 · 5 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@fidoriel
Copy link

fidoriel commented Sep 4, 2024

Hey, it would be great if you could supply manylinux arm builds for pyrage. For example for M1 Docker builds or Raspberry Pi.

@woodruffw
Copy link
Owner

Thanks for the request. I can look into this in the upcoming days. Alternatively, if you feel like it, I'd be happy to review a PR that updates the current CI/build matrix to add ARM wheels.

@woodruffw woodruffw added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Sep 4, 2024
@woodruffw
Copy link
Owner

I took a quick look at this, and it looks like this won't be super straightforward: GitHub's arm64 Linux runners are in GA, but they're only available to paying orgs/enterprises.

The alternative is to cross-compile or use something like QEMU. For the former, maturin-action looks to be the most promising approach.

@fidoriel
Copy link
Author

fidoriel commented Sep 5, 2024

Used qemu in other projects with the official action, that did the matrix stuff on qemu. Sadly do not have the time to contribute currently.

@magnuswatn
Copy link
Contributor

magnuswatn commented Jan 20, 2025

I gave this a shot now that arm64 hosted runners are available for free in public repositories, but it didn't go so well. The release builds went OK, but the tests failed during build: https://github.com/magnuswatn/pyrage/actions/runs/12867324778/job/35871841340. Haven't looked into the error.

@woodruffw
Copy link
Owner

woodruffw commented Jan 20, 2025

The release builds went OK, but the tests failed during build: magnuswatn/pyrage/actions/runs/12867324778/job/35871841340. Haven't looked into the error.

That looks like a segfault in typenum's build: https://github.com/paholg/typenum/tree/main/build

Not sure why it would segfault, however -- I see no use of unsafe in the build.

Edit: It seems to actually be rustc's failure on that crate, so perhaps a compiler bug.

Edit: paholg/typenum#182

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants