Skip to content

Commit

Permalink
add support for manylinux armv7 wheels
Browse files Browse the repository at this point in the history
bump cibuildwheel to a version with the experimental armv7 support

this image is ubuntu-based, so use an apt command to install glib and java
  • Loading branch information
nosracd committed Jan 14, 2025
1 parent e578406 commit 912d3c7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
platforms: all

- name: Build wheels
uses: pypa/cibuildwheel@v2.21.3
uses: pypa/cibuildwheel@v2.22.0
env:
MACOSX_DEPLOYMENT_TARGET: ${{ matrix.macos_deployment_target }}
CIBW_ARCHS: ${{ matrix.arch }}
Expand Down
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,8 @@ before-all = "yum install java-1.8.0-openjdk-devel -y"
[[tool.cibuildwheel.overrides]]
select = "*-musllinux*"
before-all = ""

# Experimental armv7l manylinux image is Ubuntu-based
[[tool.cibuildwheel.overrides]]
select = "*-manylinux_armv7l*"
before-all = "apt update && apt install libglib2.0-dev openjdk-8-jdk -y"

0 comments on commit 912d3c7

Please sign in to comment.