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 archived dylibs on AIX #2442

Merged
merged 1 commit into from
Jan 20, 2025
Merged

Conversation

daltenty
Copy link
Contributor

In recent Rust versions, the dylib format for AIX has changed to reflect that shared libraries on AIX are normal archived, in the Big archive format.
See rust-lang/rust#132362.

However, Python wheels on the platforms still use un-archived shared objects, so this change updates module_writer to unarchive the archived dylib before we copy it over to the wheel.

In recent Rust versions, the dylib format for AIX
has changed to reflect that shared libraries on
AIX are normal archived, in the Big archive format.
See rust-lang/rust#132362.

However, Python wheels on the platforms still use
un-archived shared objects, so this change updates
module_writer to unarchive the archived dylib
before we copy it over to the wheel.
@messense messense merged commit a1e9d6f into PyO3:main Jan 20, 2025
38 checks passed
@daltenty daltenty deleted the daltenty/archived-dylib branch January 20, 2025 20:02
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.

2 participants