-
Notifications
You must be signed in to change notification settings - Fork 192
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1820 from merschformann/master
Builds python wheels for linux/aarch64
- Loading branch information
Showing
2 changed files
with
30 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,8 +26,10 @@ jobs: | |
buildplat: | ||
- [ubuntu-20.04, manylinux_x86_64] | ||
- [ubuntu-20.04, manylinux_i686] | ||
- [ubuntu-20.04, manylinux_aarch64] | ||
- [ubuntu-20.04, musllinux_x86_64] # No OpenBlas, no test | ||
- [ubuntu-20.04, musllinux_i686] | ||
- [ubuntu-20.04, musllinux_aarch64] | ||
- [macos-12, macosx_x86_64] | ||
- [macos-14, macosx_arm64] | ||
- [windows-2019, win_amd64] | ||
|
@@ -36,7 +38,19 @@ jobs: | |
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Build wheels | ||
- name: Set up QEMU # Required for aarch64 builds | ||
if: ${{ contains(matrix.buildplat[1], 'aarch64') }} | ||
uses: docker/setup-qemu-action@v3 | ||
with: | ||
platforms: all | ||
- name: Build wheels (aarch64) | ||
if: ${{ contains(matrix.buildplat[1], 'aarch64') }} | ||
uses: pypa/[email protected] | ||
env: | ||
CIBW_BUILD: ${{ matrix.python }}-${{ matrix.buildplat[1] }} | ||
CIBW_ARCHS_LINUX: aarch64 | ||
- name: Build wheels (not aarch64) | ||
if: ${{ !contains(matrix.buildplat[1], 'aarch64') }} | ||
uses: pypa/[email protected] | ||
env: | ||
CIBW_BUILD: ${{ matrix.python }}-${{ matrix.buildplat[1] }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,8 +21,10 @@ jobs: | |
buildplat: | ||
- [ubuntu-20.04, manylinux_x86_64] | ||
- [ubuntu-20.04, manylinux_i686] | ||
- [ubuntu-20.04, manylinux_aarch64] | ||
- [ubuntu-20.04, musllinux_x86_64] # No OpenBlas, no test | ||
- [ubuntu-20.04, musllinux_i686] | ||
- [ubuntu-20.04, musllinux_aarch64] | ||
- [macos-12, macosx_x86_64] | ||
- [macos-14, macosx_arm64] | ||
- [windows-2019, win_amd64] | ||
|
@@ -31,7 +33,19 @@ jobs: | |
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Build wheels | ||
- name: Set up QEMU # Required for aarch64 builds | ||
if: ${{ contains(matrix.buildplat[1], 'aarch64') }} | ||
uses: docker/setup-qemu-action@v3 | ||
with: | ||
platforms: all | ||
- name: Build wheels (aarch64) | ||
if: ${{ contains(matrix.buildplat[1], 'aarch64') }} | ||
uses: pypa/[email protected] | ||
env: | ||
CIBW_BUILD: ${{ matrix.python }}-${{ matrix.buildplat[1] }} | ||
CIBW_ARCHS_LINUX: aarch64 | ||
- name: Build wheels (not aarch64) | ||
if: ${{ !contains(matrix.buildplat[1], 'aarch64') }} | ||
uses: pypa/[email protected] | ||
env: | ||
CIBW_BUILD: ${{ matrix.python }}-${{ matrix.buildplat[1] }} | ||
|