Skip to content

Add support for cross compiling PyPy wheels#687

Merged
messense merged 2 commits intoPyO3:mainfrom
messense:pypy-cross
Nov 21, 2021
Merged

Add support for cross compiling PyPy wheels#687
messense merged 2 commits intoPyO3:mainfrom
messense:pypy-cross

Conversation

@messense
Copy link
Member

Closes #681

@netlify
Copy link

netlify bot commented Nov 17, 2021

✔️ Deploy Preview for maturin-guide canceled.

🔨 Explore the source changes: 2278c17

🔍 Inspect the deploy log: https://app.netlify.com/sites/maturin-guide/deploys/61949a9fd06124000786fdea

source ~/.cargo/env
rustup target add ${{ matrix.platform.target }}
export PYO3_CROSS_LIB_DIR=/opt/python/${{ matrix.platform.abi }}/lib
export PYO3_CROSS_LIB_DIR=/opt/python/${{ matrix.platform.abi }}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@davidhewitt For #681 I'd like to change pyo3 to support PYO3_CROSS_LIB_DIR without the lib part, what do you think?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cc @aganders3 in case you are interested in for PyO3/pyo3#1996

@messense messense marked this pull request as ready for review November 19, 2021 10:27
@messense
Copy link
Member Author

I'm gonna merge this with the HACK for now and deal with that in pyo3 once PyO3/pyo3#1996 merges.

@messense messense merged commit 3d5f109 into PyO3:main Nov 21, 2021
@messense messense deleted the pypy-cross branch November 21, 2021 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support for cross compiling PyPy wheels

1 participant