diff options
| author | Sam James <sam@gentoo.org> | 2025-10-11 08:50:34 +0100 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2025-10-11 08:50:34 +0100 |
| commit | f5d37c450823325ee43519dc710c21018f89f6ad (patch) | |
| tree | e73dbfc2309e6a3516d3ba6e76b7ed3106f35d21 /dev-lang/python/python-0.3.15.9999.ebuild | |
| parent | 512f6b916df58c4df24d84b1a46c1eea7a4e8cb2 (diff) | |
| download | gentoo-f5d37c450823325ee43519dc710c21018f89f6ad.tar.gz gentoo-f5d37c450823325ee43519dc710c21018f89f6ad.tar.bz2 gentoo-f5d37c450823325ee43519dc710c21018f89f6ad.zip | |
dev-lang/python: check for new enough GCC/Clang for USE=tail-call-interp
I've kept the p.use.stable.mask entry as users enabling it on stable would
still have to manually set CC=clang etc and it doesn't seem worth it. Hopefully
we can stable GCC 15 soonish anyway.
Closes: https://bugs.gentoo.org/963989
Thanks-to: Jerome C <me@jeromec.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-lang/python/python-0.3.15.9999.ebuild')
| -rw-r--r-- | dev-lang/python/python-0.3.15.9999.ebuild | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/dev-lang/python/python-0.3.15.9999.ebuild b/dev-lang/python/python-0.3.15.9999.ebuild index 246ae13dfe7a..126aefe73c6b 100644 --- a/dev-lang/python/python-0.3.15.9999.ebuild +++ b/dev-lang/python/python-0.3.15.9999.ebuild @@ -77,6 +77,12 @@ BDEPEND=" dev-build/autoconf-archive app-alternatives/awk virtual/pkgconfig + tail-call-interp? ( + || ( + >=sys-devel/gcc-15:* + >=llvm-core/clang-19:* + ) + ) " PDEPEND=" ensurepip? ( dev-python/ensurepip-pip ) @@ -117,6 +123,10 @@ pkg_setup() { done linux-info_pkg_setup fi + if use tail-call-interp; then + tc-check-min_ver gcc 15 + tc-check-min_ver clang 19 + fi fi } |
