Build wheels for Apple Silicon M1 and and Linux ARM64/aarch64
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Domain
- build-system, devops
Research direction
Start by reviewing the referenced Dockerfile lines 16, 21, and 42, along with the manylinux aarch64 approach from the discussion. Update the Rust toolchain and maturin CLI configuration for ARM64, then verify that wheels are produced for Apple Silicon and Linux ARM64/aarch64, including the musl case.
Written by the indexing model from the issue text.
Description
A Docker container on an Apple Silicon M1 can be used to produce a Linux ARM64 environment. Building a manylinux wheel (e.g., manylinux2014-aarch64) can be the way to go.
From Discussion in the Matrix Room
@calixteman:
there is a manylinux for aarch64: https://github.com/pypa/manylinux
so I'd say that it should be fine to use the correct docker image for manylinux aarch64
update the rust toolchain
update the cli for maturin
@marco-c
installing another toolchain in https://github.com/mozilla/pyo3-parsepatch/blob/a568c66a508a8a56ebb2386087c5b0c0f6fe0c9c/Dockerfile#L21 should be easy
same as building, https://github.com/mozilla/pyo3-parsepatch/blob/a568c66a508a8a56ebb2386087c5b0c0f6fe0c9c/Dockerfile#L42
what might be harder is building musl for arm64
https://github.com/mozilla/pyo3-parsepatch/blob/a568c66a508a8a56ebb2386087c5b0c0f6fe0c9c/Dockerfile#L16
- Dominant language
- Rust
- Stars
- 8
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from mozilla/pyo3-parsepatch
-
Difficulty 3/5 1-2 days Newbie friendliness 50/100
mozilla/pyo3-parsepatch#92 · 3 comments ·
-
Support alpine Open
Difficulty 4/5 3-5 days Newbie friendliness 35/100
mozilla/pyo3-parsepatch#16 ·
All issues in mozilla/pyo3-parsepatch
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
kwakseongjae/auto-hwp#319 ·
-
area:cli bug filter-quality good first issue priority:medium
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
bevyengine/bevy#25861 ·
-
comp-datalake
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/ClickHouse#121222 ·
-
enhancement remote
Difficulty 2/5 1-3 hours Newbie friendliness 68/100