-
Notifications
You must be signed in to change notification settings - Fork 399
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
Compiling Cython code #830
Comments
Hi,
This is building against python for the host system, not the target system, which is not what you want. To build python for the target system, see or For cross-compling cython, we are considering a hackathon at the SciPy conference this summer to improve support in scikit-build-core. |
Thanks for the clarification. If I understood correctly installing python3 for the target machine can be achieved by modifying the main workflow but compiling cython (for android in my case) isn't available right now ? |
Is there any way to get the experimental branch running for testing purposes by any chance ? |
scikit-build-core |
I am trying to compile a python mobule (C code generated with cython) but I am facing an issue while compiling.
I have extended the Dockcross image as specified in the README:
The compilation command is the following:
However,
pyconfig.h
is actually present in the docker when verifying it manually. I also tried to addpython3-dev
which doesn't change anything since python-dev-is-python3. Also adding libraries mentioned across other issues related to this but didn't fix the issue.The text was updated successfully, but these errors were encountered: