-
Notifications
You must be signed in to change notification settings - Fork 10
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
Making cross-platform wheels #40
Comments
Thanks for opening this up @rth! I think there are a couple of big issues with cross-building wheels.
If you could rely on users having some of these tools on their own platforms, you might be able to get away with running some of these rewrite tools at install time or on-first-use time. |
conda-build has similar needs, and they use LIEF, which is cross-platform, for some binary rewriting tasks. (although apparently both LIEF and patchelf are buggy in different ways: https://github.com/conda/conda-build/blob/1bbfc0791bbb86cf719ff7a98313904dcd839805/conda_build/post.py#L424) |
yep, moving to lief is a good step |
As mentioned by @scopatz in #38,
and
Thanks for the explanations @scopatz !
I think in the use case of making wheels for a package to upload them on PyPi, it would have been really nice if was possible to do that from a single platform. Otherwise having to setup CI would remove part of advantage of conda-press.
Could you mention blockers for that in this issue (assuming that there would be an option to disable stripping of symbols once that's added)?
If I understand correctly one issue is that
patchelf
doesn't exist on MacOS whileinstall_name_tool
doesn't exist on Linux?In this particular case, some people have managed to use patchelf on MacOS and the source code of install_name_tool can be found here. I wonder if that could be built on Linux (or if there is another alternative that would work with Mach-O files).
The text was updated successfully, but these errors were encountered: