mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-08 06:17:07 -08:00
dev-lang/python: Remove jit from 3.14.x
Signed-off-by: Michał Górny <mgorny@gentoo.org> Part-of: https://codeberg.org/gentoo/gentoo/pulls/2350
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -37,10 +35,9 @@ if [[ ${PV} != *_rc* ]]; then
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
|
||||
fi
|
||||
IUSE="
|
||||
bluetooth build debug +ensurepip examples gdbm jit libedit +ncurses pgo
|
||||
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}
|
||||
')
|
||||
)
|
||||
tail-call-interp? (
|
||||
|| (
|
||||
>=sys-devel/gcc-16:*
|
||||
@@ -132,19 +123,10 @@ pkg_pretend() {
|
||||
if use pgo || use test; then
|
||||
check-reqs_pkg_pretend
|
||||
fi
|
||||
|
||||
if use jit; then
|
||||
ewarn "USE=jit is considered experimental upstream. Using it"
|
||||
ewarn "could lead to unexpected breakage, including race conditions"
|
||||
ewarn "and crashes, respectively. Please do not file Gentoo bugs, unless"
|
||||
ewarn "you can reproduce the problem with dev-lang/python[-jit]. Instead,"
|
||||
ewarn "please consider reporting JIT problems upstream."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
if [[ ${MERGE_TYPE} != binary ]]; then
|
||||
use jit && llvm-r1_pkg_setup
|
||||
if use test || use pgo; then
|
||||
check-reqs_pkg_setup
|
||||
|
||||
@@ -419,7 +401,6 @@ src_configure() {
|
||||
--enable-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)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -37,10 +35,9 @@ if [[ ${PV} != *_rc* ]]; then
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86"
|
||||
fi
|
||||
IUSE="
|
||||
bluetooth build debug +ensurepip examples gdbm jit libedit +ncurses pgo
|
||||
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}
|
||||
')
|
||||
)
|
||||
tail-call-interp? (
|
||||
|| (
|
||||
>=sys-devel/gcc-16:*
|
||||
@@ -132,19 +123,10 @@ pkg_pretend() {
|
||||
if use pgo || use test; then
|
||||
check-reqs_pkg_pretend
|
||||
fi
|
||||
|
||||
if use jit; then
|
||||
ewarn "USE=jit is considered experimental upstream. Using it"
|
||||
ewarn "could lead to unexpected breakage, including race conditions"
|
||||
ewarn "and crashes, respectively. Please do not file Gentoo bugs, unless"
|
||||
ewarn "you can reproduce the problem with dev-lang/python[-jit]. Instead,"
|
||||
ewarn "please consider reporting JIT problems upstream."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
if [[ ${MERGE_TYPE} != binary ]]; then
|
||||
use jit && llvm-r1_pkg_setup
|
||||
if use test || use pgo; then
|
||||
check-reqs_pkg_setup
|
||||
|
||||
@@ -419,7 +401,6 @@ src_configure() {
|
||||
--enable-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)
|
||||
|
||||
@@ -3,11 +3,9 @@
|
||||
|
||||
EAPI="8"
|
||||
|
||||
LLVM_COMPAT=( 19 )
|
||||
LLVM_OPTIONAL=1
|
||||
WANT_LIBTOOL="none"
|
||||
|
||||
inherit autotools check-reqs flag-o-matic git-r3 linux-info llvm-r1
|
||||
inherit autotools check-reqs flag-o-matic git-r3 linux-info
|
||||
inherit multiprocessing pax-utils python-utils-r1 toolchain-funcs
|
||||
|
||||
PYVER=$(ver_cut 1-2)
|
||||
@@ -27,10 +25,9 @@ EGIT_BRANCH=${PYVER}
|
||||
LICENSE="PSF-2"
|
||||
SLOT="${PYVER}"
|
||||
IUSE="
|
||||
bluetooth build debug +ensurepip examples gdbm jit libedit +ncurses pgo
|
||||
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.
|
||||
@@ -80,12 +77,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}
|
||||
')
|
||||
)
|
||||
tail-call-interp? (
|
||||
|| (
|
||||
>=sys-devel/gcc-16:*
|
||||
@@ -118,19 +109,10 @@ pkg_pretend() {
|
||||
if use pgo || use test; then
|
||||
check-reqs_pkg_pretend
|
||||
fi
|
||||
|
||||
if use jit; then
|
||||
ewarn "USE=jit is considered experimental upstream. Using it"
|
||||
ewarn "could lead to unexpected breakage, including race conditions"
|
||||
ewarn "and crashes, respectively. Please do not file Gentoo bugs, unless"
|
||||
ewarn "you can reproduce the problem with dev-lang/python[-jit]. Instead,"
|
||||
ewarn "please consider reporting JIT problems upstream."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
if [[ ${MERGE_TYPE} != binary ]]; then
|
||||
use jit && llvm-r1_pkg_setup
|
||||
if use test || use pgo; then
|
||||
check-reqs_pkg_setup
|
||||
|
||||
@@ -403,7 +385,6 @@ src_configure() {
|
||||
--enable-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)
|
||||
|
||||
Reference in New Issue
Block a user