-
-
Notifications
You must be signed in to change notification settings - Fork 274
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
Get cross compiling from pyo3-build-config #718
Conversation
✔️ Deploy Preview for maturin-guide canceled. 🔨 Explore the source changes: 4d78c31 🔍 Inspect the deploy log: https://app.netlify.com/sites/maturin-guide/deploys/61b9535192b7e8000810c564 |
Thanks for taking care of this. FYI, you can also use my manylinux-cross docker images to test it locally. |
You're welcome!
Thanks, this will help a lot. |
Ah, I see what's happening. The
I can fix this and push to PyO3/pyo3#1966 but need to look where else |
ffb24f3
to
b9e2e9b
Compare
These |
Okay I think I understand this now. The problem is pyo3 expecting I pointed the test crate ( |
Somehow #728 stopped working just now. I've reverted it in main. |
Yeah that was weird - I will rebase. |
83482c1
to
49a54b0
Compare
Okay sorry for all the CI spam - I'm still getting a grasp on GitHub Actions. The current state of this PR is basically:
What I did now is modify the cross-compiling tests to use two crates: Let me know if this seems like a reasonable compromise/path forward. |
It's fine. |
49a54b0
to
f1462fe
Compare
Thanks - this seems ready for review then, with the only changes needed being those to update deps once PyO3/pyo3#1996 is merged/releases. |
I'm closing this as there have been quite some changes in both maturin and pyo3 since it was started. I spent a few minutes trying to rebase but think it's probably better to start over if this is wanted. There are several new public APIs in pyo3-build-config that somewhat overlap maturin. Are you open to reusing more pieces from there? If so I will start to play around and/or open a discussion to see what that might look like. |
I do want to at least reuse the sysconfigdata finding and parsing code but it's not urgent. And there is a problem with |
This is just a proof-of-concept for now to test PyO3/pyo3#1996