Skip to content
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

Add support for cross compiling PyPy wheels #687

Merged
merged 2 commits into from Nov 21, 2021
Merged

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

steps:
- uses: actions/checkout@v2
- name: Build Wheels
run: |
echo 'curl -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable --profile minimal
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