Skip to content

Commit

Permalink
Add linux aarch64 wheel build support (#386)
Browse files Browse the repository at this point in the history
Signed-off-by: odidev <odidev@puresoftware.com>
  • Loading branch information
odidev committed Sep 3, 2021
1 parent 02efbcf commit 03b35e3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ jobs:
uses: pypa/cibuildwheel@v2.0.0
env:
CIBW_ARCHS: ${{ matrix.archs }}
CIBW_SKIP: pp* cp36-manylinux_aarch64 cp37-manylinux_aarch64 cp38-manylinux_aarch64
CIBW_SKIP: pp*
CIBW_ENVIRONMENT_LINUX:
GEOS_VERSION=${{ env.GEOS_VERSION }}
GEOS_INSTALL=/host${{ github.workspace }}/geos-${{ env.GEOS_VERSION }}
Expand Down
9 changes: 6 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@
requires = [
"setuptools",
"wheel",
"numpy==1.13.3; python_version=='3.6'",
"numpy==1.14.5; python_version=='3.7'",
"numpy==1.17.3; python_version=='3.8'",
"numpy==1.13.3; python_version=='3.6' and platform_machine != 'aarch64'",
"numpy==1.19.3; python_version=='3.6' and platform_machine == 'aarch64'",
"numpy==1.14.5; python_version=='3.7' and platform_machine != 'aarch64'",
"numpy==1.19.3; python_version=='3.7' and platform_machine == 'aarch64'",
"numpy==1.17.3; python_version=='3.8' and platform_machine != 'aarch64'",
"numpy==1.19.3; python_version=='3.8' and platform_machine == 'aarch64'",
"numpy==1.19.3; python_version=='3.9'",
# do not pin numpy on future versions of python to avoid incompatible numpy and python versions
"numpy; python_version>='3.10'",
Expand Down

0 comments on commit 03b35e3

Please sign in to comment.