Re-add `aarch64-unknown-linux-gnu` binary to release assets (#4254)

This PR re-adds the `aarch64-unknown-linux-gnu` binary, which will also
add the `manylinux_2_28` wheel for `aarch64` (in addition to the now
dual-tagged `musllinux_1_1` and `manylinux_2_217` wheel for `aarch64`).
We can consider dropping that _wheel_, but in my assessment removing a
release asset should now be treated as a breaking change -- so removing
it in a patch release was incorrect.

Closes https://github.com/astral-sh/uv/issues/4122.
This commit is contained in:
Charlie Marsh 2024-06-11 16:46:09 -07:00 committed by GitHub
parent daee30aeb1
commit 1f2ad8faa2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 0 deletions

View File

@ -276,6 +276,11 @@ jobs:
strategy: strategy:
matrix: matrix:
platform: platform:
- target: aarch64-unknown-linux-gnu
arch: aarch64
# see https://github.com/astral-sh/ruff/issues/3791
# and https://github.com/gnzlbg/jemallocator/issues/170#issuecomment-1503228963
maturin_docker_options: -e JEMALLOC_SYS_WITH_LG_PAGE=16
- target: armv7-unknown-linux-gnueabihf - target: armv7-unknown-linux-gnueabihf
arch: armv7 arch: armv7
- target: arm-unknown-linux-musleabihf - target: arm-unknown-linux-musleabihf
@ -294,6 +299,8 @@ jobs:
uses: PyO3/maturin-action@v1 uses: PyO3/maturin-action@v1
with: with:
target: ${{ matrix.platform.target }} target: ${{ matrix.platform.target }}
# On `aarch64`, use `manylinux: 2_28`; otherwise, use `manylinux: auto`.
manylinux: ${{ matrix.platform.arch == 'aarch64' && '2_28' || 'auto' }}
docker-options: ${{ matrix.platform.maturin_docker_options }} docker-options: ${{ matrix.platform.maturin_docker_options }}
args: --release --locked --out dist --features self-update args: --release --locked --out dist --features self-update
- uses: uraimo/run-on-arch-action@v2 - uses: uraimo/run-on-arch-action@v2

View File

@ -214,6 +214,7 @@ unix-archive = ".tar.gz"
# Target platforms to build apps for (Rust target-triple syntax) # Target platforms to build apps for (Rust target-triple syntax)
targets = [ targets = [
"aarch64-apple-darwin", "aarch64-apple-darwin",
"aarch64-unknown-linux-gnu",
"aarch64-unknown-linux-musl", "aarch64-unknown-linux-musl",
"arm-unknown-linux-musleabihf", "arm-unknown-linux-musleabihf",
"armv7-unknown-linux-gnueabihf", "armv7-unknown-linux-gnueabihf",