gentoo/dev-lang/python/metadata.xml
Sam James fa88733885
dev-lang/python: add USE=tail-call-interp for new tail call interpreter in 3.14.x
This is a new feature in Python 3.14.x that gives performance speedups
but requires new GCC and Clang and may sometimes regress performance.

It's not yet enabled by default upstream.

Signed-off-by: Sam James <sam@gentoo.org>
2025-05-10 13:53:22 +01:00

49 lines
1.6 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<use>
<flag name="bluetooth">
Build Bluetooth protocol support in socket module
</flag>
<flag name="ensurepip">
Install the ensurepip module that uses bundled wheels
to bootstrap pip and setuptools (if disabled, it will
be only possible to use venv `--without-pip`)
</flag>
<flag name="jit">
Enable experimental Just-In-Time compilation support.
</flag>
<flag name="libedit">
Link readline extension against <pkg>dev-libs/libedit</pkg>
instead of <pkg>sys-libs/readline</pkg>
</flag>
<flag name="pgo">
Optimize the build using Profile Guided Optimization (PGO)
by running Python's test suite and collecting statistics
based on its performance. This will take longer to build.
</flag>
<flag name="tail-call-interp">
Enable the tail call interpreter. May lead to better
performance but is still new and dependent on latest
toolchain versions (Clang 19, GCC 15).
</flag>
<flag name="valgrind">
Disable pymalloc when running under
<pkg>dev-debug/valgrind</pkg> is detected (may incur minor
performance penalty even when valgrind is not used)
</flag>
<flag name="wininst">
Install Windows executables required to create an executable
installer for MS Windows
</flag>
</use>
<upstream>
<remote-id type="cpe">cpe:/a:python:python</remote-id>
<remote-id type="github">python/cpython</remote-id>
</upstream>
</pkgmetadata>