-
I'm having issues with compiling for Apple Silicon using cibuildwheel 2.7.0 (and all earlier versions I have tried). My GitHub action config is build_wheels:
name: Build wheels on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macOS-latest, windows-latest]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- name: Build wheels
uses: pypa/[email protected]
env:
CIBW_BUILD: cp37-* cp38-* cp39-* cp310-*
CIBW_BEFORE_BUILD: rm -rf build/
CIBW_ARCHS_WIN: auto
CIBW_ARCHS_MACOS: x86_64 arm64
# CIBW_ARCHS_MACOS: x86_64 universal2 # same issues
CIBW_ARCHS_LINUX: auto The build seems to work fine:
and produce
However, when installing and using a package, M1/M2 users report the following error:
Any idea what's going wrong here? |
Beta Was this translation helpful? Give feedback.
Answered by
joerick
Jun 19, 2022
Replies: 1 comment 2 replies
-
Can you link up your project code? |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
nschloe
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can you link up your project code?