How to cross-compile dylib on macos? #1907
Replies: 4 comments
-
|
Related issue: #1537 It's weird because I'm already using |
Beta Was this translation helpful? Give feedback.
-
|
|
Beta Was this translation helpful? Give feedback.
-
|
The problem is that I get |
Beta Was this translation helpful? Give feedback.
-
|
If you're running cibuildwheel with |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
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
archworks only ifplatform.machine()returns the correct value. However I think that cibuildwheel uses ax86_64interpreter even for cross-compilation builds.Is there a way for me to detect from
setup.pythat 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
Beta Was this translation helpful? Give feedback.
All reactions