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

Replacing autotools with meson #131578

Closed
sp1ritCS opened this issue Mar 22, 2025 · 1 comment
Closed

Replacing autotools with meson #131578

sp1ritCS opened this issue Mar 22, 2025 · 1 comment
Labels
build The build process and cross-build

Comments

@sp1ritCS
Copy link

Hey, I've written a meson build script for cpython and was wondering if there is any interest in upstreaming this. Figured I ask here first before going to the trouble of writing a PEP for it.

The changeset can be seen here: sp1ritCS@meson~0, while its not fully ready (some evaluations missing, no pyc generation for Lib, getpath.py not coping with the freestanding build dir, ...), it builds on my machine (Linux) and with a bit hacking (libffi&openssl subprojects need gnu std) its able to build on Android too. Besides the mile-long evaluation section (some of these might be unused and could be pruned, but I mostly tried to follow what configure was doing) I'm fairly happy with it.

@hugovk hugovk added the build The build process and cross-build label Mar 22, 2025
@hugovk
Copy link
Member

hugovk commented Mar 22, 2025

Hello, thanks for sharing your work! We have a discussion thread about possibly changing the build system, and Meson is a candidate.

Would you like to share your findings in the thread?

https://discuss.python.org/t/what-do-you-want-to-see-in-tomorrow-s-cpython-build-system/28197

Let's continue there and close this issue for now, until a decision is made. Thanks!

@hugovk hugovk closed this as not planned Won't fix, can't repro, duplicate, stale Mar 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build The build process and cross-build
Projects
None yet
Development

No branches or pull requests

2 participants