Skip to content

Commit

Permalink
Add support for arm64 wheel
Browse files Browse the repository at this point in the history
  • Loading branch information
odidev committed Oct 6, 2020
1 parent 4d0e0cf commit 9c771e3
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .manylinux-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ for PYBIN in /opt/python/*/bin; do
[[ "${PYBIN}" == *"cp38"* ]]; then
"${PYBIN}/pip" install -e /io/
"${PYBIN}/pip" wheel /io/ -w wheelhouse/
if [ `uname -m` == 'aarch64' ]; then
cd /io/
"${PYBIN}/pip" install tox
"${PYBIN}/tox" -e py
cd ..
fi
rm -rf /io/build /io/*.egg-info
fi
done
Expand Down
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,14 @@ jobs:
install: docker pull $DOCKER_IMAGE
script: bash .manylinux.sh

- name: aarch64 wheels
group: edge
arch: arm64
virt: lxd
env: DOCKER_IMAGE=quay.io/pypa/manylinux2014_aarch64
install: docker pull $DOCKER_IMAGE
script: bash .manylinux.sh

# It's important to use 'macpython' builds to get the least
# restrictive wheel tag. It's also important to avoid
# 'homebrew 3' because it floats instead of being a specific version.
Expand Down

0 comments on commit 9c771e3

Please sign in to comment.