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 from 533d5f1 to 4b1b928 Compare April 23, 2025 18:12
@geofft geofft force-pushed the interp-static-libpython branch from 4b1b928 to a5b9b77 Compare April 23, 2025 21:00
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