-
Notifications
You must be signed in to change notification settings - Fork 113
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
Cross-platform build example #304
Comments
@popatam Thanks for putting together the example, it was super helpful for me when using gopy to build wheels for multiple platforms! I refined the workflow you had to be able to build on more Python versions for Mac, as well as armv7l (Raspberry Pi) and Windows (though Windows required me to put in a patch on top of gopy 0.4.5) - workflow example here. Main finding I had when building on Mac was that the Python versions published on python.org consistently failed to link properly. The Python installs that did work were provided by homebrew. Also, for Windows, the |
First off, thanks to both of you for writing these workflows, they make bundling bindings into wheels much easier. @bjia56 I've been trying to get your setup to work with the bindings I'm currently writing. I've got jobs for Linux x64 and aarch64 working, but I can't get Linux armv7l and Windows x64 to pass through Also, there is a MacOS x64 job which fails at importing a library, but this might be fixable with |
Hi @tfuxu, some thoughts from my side:
fwiw, I haven't tested any of this on gopy 0.4.7 - I have hardcoded my package build to use 0.4.5 |
Alright thanks, I'll try this. Also, originally I tried using Python from |
That might be the same issue as Windows, so I'd recommend trying ensurepip on all platforms |
|
Hi!
Since links from docs are not available, I made some examples for cross-platform wheel build with ci and local https://github.com/popatam/gopy_build_wheel_example (without win yet)
The text was updated successfully, but these errors were encountered: