-
Notifications
You must be signed in to change notification settings - Fork 150
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 PPC64le policy architecture #59
Conversation
In order to make auditwheel work in PPC64le machines, the policy.json file and the way it is read were changed.
This probably needs further discussion, as PEP513 currently states that manylinux1 is only defined for the x86_64 and i686 architectures. |
I have created this PR, but I still have some questions regarding the json file: What are "CXXABI", "GLIBCXX" and "GCC" used for? Is it necessary? I run some tests on my machine and it worked. |
@rmcgibbo Hi. Yes, but what would be the blocks to use it on another architecture? The PPC64le is pretty new, and using the first port version should work, as worked. I have tested in SUSE, Fedora, Ubuntu and CentOS. |
https://mail.python.org/mailman/listinfo/wheel-builders is the appropriate mailing list. |
Ok. I will start a thread there. Any beginner tip to start a PEP or just start the discussion to run it on another architecture? |
Hello @lbianc!
These are the names of all the symbol versions defined in all the libraries in the lib_whitelist section of the policy.
Yes. You need to add every single symbol version that is defined in the libraries in the lib_whitelist in order to build the compatible policy. Right now, because only GLIBC version is defined, you will likely find that many wheels will fail auditwheel and your new policy. The way I generated this for the manylinux1 x86_64/i686 policy from the docker image can be found here: #43 (comment) |
@ehashman Currently I'm waiting the definition of manylinux_2 tag to add ppc64 information, so then develop the port. Thanks, it will be helpful. |
:xref: #88 |
Hi @lbianc, Thanks for your hard work on this PR. Since there's a merge conflict and this has been stale for a while (and it looks like the manylinux2010 [nee manylinux2] changes will supersede this), I'm going to close this PR for now. Feel free to reopen it in the future if you get a chance to address the comments above! |
In order to make auditwheel work in PPC64le machines, the policy.json file
and the way it is read were changed.