From 7d221e93950a2f499f3f5b9766be2874530498b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sat, 7 Jun 2025 09:52:45 +0200 Subject: dev-lang/python: Remove USE=jit from freethreading versions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit So apparently USE=jit cannot be enabled along with freethreading: ``` checking for --enable-experimental-jit... -D_Py_TIER2=1 -D_Py_JIT configure: error: --enable-experimental-jit cannot be used with --disable-gil. ``` Signed-off-by: Michał Górny Part-of: https://github.com/gentoo/gentoo/pull/42479 Closes: https://github.com/gentoo/gentoo/pull/42479 Signed-off-by: Michał Górny --- dev-lang/python/python-0.3.14.0_beta2_p1.ebuild | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) (limited to 'dev-lang/python/python-0.3.14.0_beta2_p1.ebuild') diff --git a/dev-lang/python/python-0.3.14.0_beta2_p1.ebuild b/dev-lang/python/python-0.3.14.0_beta2_p1.ebuild index bddc1e3c60f4..c5ef5b138ba7 100644 --- a/dev-lang/python/python-0.3.14.0_beta2_p1.ebuild +++ b/dev-lang/python/python-0.3.14.0_beta2_p1.ebuild @@ -3,12 +3,10 @@ EAPI="8" -LLVM_COMPAT=( 19 ) -LLVM_OPTIONAL=1 VERIFY_SIG_METHOD=sigstore WANT_LIBTOOL="none" -inherit autotools check-reqs flag-o-matic linux-info llvm-r1 +inherit autotools check-reqs flag-o-matic linux-info inherit multiprocessing pax-utils python-utils-r1 toolchain-funcs inherit verify-sig @@ -36,10 +34,9 @@ LICENSE="PSF-2" SLOT="${PYVER}" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" IUSE=" - bluetooth build debug +ensurepip examples gdbm jit + bluetooth build debug +ensurepip examples gdbm libedit +ncurses pgo +readline +sqlite +ssl tail-call-interp test tk valgrind " -REQUIRED_USE="jit? ( ${LLVM_REQUIRED_USE} )" RESTRICT="!test? ( test )" # Do not add a dependency on dev-lang/python to this ebuild. @@ -90,12 +87,6 @@ BDEPEND=" dev-build/autoconf-archive app-alternatives/awk virtual/pkgconfig - jit? ( - $(llvm_gen_dep ' - llvm-core/clang:${LLVM_SLOT} - llvm-core/llvm:${LLVM_SLOT} - ') - ) " RDEPEND+=" !build? ( app-misc/mime-types ) @@ -136,7 +127,6 @@ pkg_pretend() { pkg_setup() { if [[ ${MERGE_TYPE} != binary ]]; then - use jit && llvm-r1_pkg_setup if use test || use pgo; then check-reqs_pkg_setup @@ -417,7 +407,6 @@ src_configure() { --disable-gil $(use_with debug assertions) - $(use_enable jit experimental-jit) $(use_enable pgo optimizations) $(use_with readline readline "$(usex libedit editline readline)") $(use_with tail-call-interp) -- cgit v1.2.3