Fix arm64 wheel
93542c397c/cibuildwheel/macos.py (L247-L260)
We shall really migrate to cibuildwheel
This commit is contained in:
parent
9f89428abf
commit
4fa34d43ef
4
.github/workflows/PyPI-publishing.yml
vendored
4
.github/workflows/PyPI-publishing.yml
vendored
@ -139,8 +139,10 @@ jobs:
|
|||||||
docker run --rm -v `pwd`:/work -w /work python:3.7-alpine sh /work/bindings/python/musl_wheel.sh
|
docker run --rm -v `pwd`:/work -w /work python:3.7-alpine sh /work/bindings/python/musl_wheel.sh
|
||||||
elif [ ${{ matrix.config.name }} == 'sdist' ]; then
|
elif [ ${{ matrix.config.name }} == 'sdist' ]; then
|
||||||
cd bindings/python && python setup.py sdist
|
cd bindings/python && python setup.py sdist
|
||||||
|
elif [ ${{ matrix.config.name }} == 'macos_arm64' ]; then
|
||||||
|
cd bindings/python && _PYTHON_HOST_PLATFORM="macosx-11.0-arm64" ARCHFLAGS="-arch arm64" python setup.py bdist_wheel
|
||||||
else
|
else
|
||||||
cd bindings/python && ARCHFLAGS="-arch ${{ matrix.config.arch }}" python setup.py bdist_wheel
|
cd bindings/python && python setup.py bdist_wheel
|
||||||
fi
|
fi
|
||||||
- name: '📤 Upload artifact'
|
- name: '📤 Upload artifact'
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
|
Loading…
Reference in New Issue
Block a user