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
How to cross-compile dylib on macos? #1731
Comments
Related issue: #1537 It's weird because I'm already using |
|
The problem is that I get |
If you're running cibuildwheel with |
Description
On https://github.com/louisabraham/pydivsufsort/, my setup.py calls a bash file that builds a dylib file.
https://github.com/louisabraham/pydivsufsort/blob/33802969cbe1bcc3a29ea5c10bc281205794c3e4/setup.py#L39-L52
Calling
arch
works only ifplatform.machine()
returns the correct value. However I think that cibuildwheel uses ax86_64
interpreter even for cross-compilation builds.Is there a way for me to detect from
setup.py
that cibuildwheel is trying to cross-compile?Build log
No response
CI config
https://github.com/louisabraham/pydivsufsort/blob/33802969cbe1bcc3a29ea5c10bc281205794c3e4/.github/workflows/build-and-upload.yml
The text was updated successfully, but these errors were encountered: