Skip to content

Commit

Permalink
Also build manylinux wheels for aarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
nabla-c0d3 committed Nov 27, 2021
1 parent 302dee7 commit c529a61
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ jobs:
- name: Install cibuildwheel
run: python -m pip install cibuildwheel==1.10.0

# Needed for Linux aarch64 builds
- name: Set up QEMU
if: runner.os == 'Linux'
uses: docker/setup-qemu-action@v1
with:
platforms: all

- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
env:
Expand All @@ -31,8 +38,10 @@ jobs:
# Build wheels for Apple Silicon
CIBW_ARCHS_MACOS: "x86_64 universal2 arm64"
# Build manylinux2014 wheels
CIBW_ARCHS_LINUX: auto aarch64
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
CIBW_MANYLINUX_I686_IMAGE: manylinux2014
CIBW_MANYLINUX_AARCH64_IMAGE: manylinux2014
# The C libraries (OpenSSL and Zlib) only need to be built once per OS
# as they are not tied to a specific Python version
CIBW_BEFORE_ALL: "python -m pip install invoke && invoke build.deps"
Expand Down

0 comments on commit c529a61

Please sign in to comment.