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

Handle cross compile within manylinux #7150

Merged
merged 1 commit into from
Mar 6, 2024

Conversation

smoy
Copy link
Contributor

@smoy smoy commented Mar 6, 2024

I reproduce the issue in python build process that manylinux does not understand cross compiling.

Current manylinux build method is on Centos 7, so we need to download ARM GNU toolchain. Once the toolchain is installed, we can point CC and CXX to the cross compiling toolchain for cross-compiling.

I am not familiar with Azure Devops pipeline, i try my best to install wget, download ARM GNU toolchain, and then update the path for subsequent task to have updated path to point to toolchain.

Note: I don't have any good idea how to run the cross-compiled binary to handle the test. since it's already insider docker (running docker within docker is a headache. the centos 7 distro doesn't really have a corresponding qemu-user-static. building that from source will balloon the build time)

@NikolajBjorner NikolajBjorner merged commit 017367d into Z3Prover:master Mar 6, 2024
12 checks passed
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.

None yet

2 participants