-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add macos universal2 wheel job #6252
Conversation
This commit adds a new wheel job for building universal2 wheels for macOS. The universal2 wheels will enable running on arm64 macOS systems. As we don't have any arm64 mac hardware available in CI systems yet these jobs are cross-compiling arm64 binaries from an x86_64 mac, we also can't test the arm64 binary component as part of the job because of this. This commit also takes the opportunity to update the cibuildwheel version used for CI to the latest release 1.10.0, since we need to use >=1.9.0 for arm on macOS support.
@nonhermitian can you test the |
Seems to work just fine: Architectures in the fat file: /Users/paul/mambaforge/envs/qiskit/lib/python3.9/site-packages/qiskit/transpiler/passes/routing/cython/stochastic_swap/swap_trial.cpython-39-darwin.so are: x86_64 arm64 |
The wheel builds all worked and @nonhermitian manually tested the universal2 binary on an arm64 mac. So this commit removes the test commit to force the wheel jobs from running on the PR so this is ready to be merged. This reverts commit a9bafdd.
Summary
This commit adds a new wheel job for building universal2 wheels for
macOS. The universal2 wheels will enable running on arm64 macOS systems.
As we don't have any arm64 mac hardware available in CI systems yet
these jobs are cross-compiling arm64 binaries from an x86_64 mac, we
also can't test the arm64 binary component as part of the job because of
this.
This commit also takes the opportunity to update the cibuildwheel
version used for CI to the latest release 1.10.0, since we need to
use >=1.9.0 for arm on macOS support.
Details and comments
Related to #1201