Skip to content

Statically link libpython into interpreter (but keep building libpython3.x.so) #592

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

geofft
Copy link
Collaborator

@geofft geofft commented Apr 19, 2025

Opening PR just to see how far CI gets. I've done some very minimal testing locally (in a CPython tree, not using the p-b-s infrastructure) and it seems to do what I want.

We can probably make some changes to patchelf as a result.

The added patch here is geofft/cpython branch static-interpreter. I'll open a PR to CPython and link it once CI looks good.

@geofft geofft added the platform:linux Specific to the Linux platform label Apr 19, 2025
@geofft geofft force-pushed the interp-static-libpython branch 3 times, most recently from a5b9b77 to d8838a7 Compare April 28, 2025 18:35
@geofft geofft force-pushed the interp-static-libpython branch from d8838a7 to 2af08c0 Compare April 28, 2025 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform:linux Specific to the Linux platform
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant