Skip to content

Commit

Permalink
Added support for Python wheels on Linux ARM.
Browse files Browse the repository at this point in the history
  • Loading branch information
agarny authored Jan 18, 2025
2 parents 556d14d + 97730a4 commit ba33498
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,15 +122,10 @@ jobs:
- name: 'Windows Python wheels (ARM)'
os: windows-2022
arch: amd64_arm64
- name: 'Linux Python wheels'
- name: 'Linux Python wheels (Intel)'
os: ubuntu-22.04
# Note: ideally, we would be able to build our Python wheels for both Intel and ARM, but although there
# is a manylinux_2_34 image for ARM (see
# https://quay.io/repository/pypa/manylinux_2_34_aarch64?tab=tags), it is not supported by
# cibuildwheel. The only way to build Python wheels for ARM is currently through emulation (see
# https://cibuildwheel.pypa.io/en/stable/faq/#emulation), but this doesn't work for us because it
# relies on an old version of Linux while we want one with at least glibc version 2.34. So, for now,
# we are only building our Python wheels for Intel.
- name: 'Linux Python wheels (ARM)'
os: ubuntu-22.04-arm
- name: 'macOS Python wheels (Intel)'
os: macos-13
- name: 'macOS Python wheels (ARM)'
Expand All @@ -153,6 +148,7 @@ jobs:
# CMakelists.txt.
# Note #2: for some reasons, we need to specify the minor version, hence using 13.0 instead of 13.
CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_34
CIBW_MANYLINUX_AARCH64_IMAGE: manylinux_2_34
CIBW_SKIP: 'cp36* cp37* cp38* *musllinux*'
- name: Upload Python wheel artifacts
if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
Expand Down

0 comments on commit ba33498

Please sign in to comment.