From ef2d703504cf0039fe5dc82e21e20053cc827c10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 20 May 2025 13:54:21 +0200 Subject: [PATCH] Disable JIT on RHEL For now on, until we figure out a way of building the JIT with pre-built stencils, we disable the JIT on RHEL to avoid a dependency on a specific LLVM+clang version. https://discuss.python.org/t/building-the-jit-with-pre-built-stencils/91838 https://src.fedoraproject.org/rpms/python3.14/pull-request/40 https://github.com/fedora-eln/eln/issues/207 --- python3.14.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python3.14.spec b/python3.14.spec index e136fc4..4d37fc0 100644 --- a/python3.14.spec +++ b/python3.14.spec @@ -125,7 +125,7 @@ Provides: bundled(python3dist(zipp)) = 3.19.2 # We can only have this on Fedora 41+, where clang 19+ is available # And only on certain architectures: https://peps.python.org/pep-0744/#support # The freethreading build (when enabled) does not support JIT yet -%bcond jit %[(0%{?fedora} >= 41 || 0%{?rhel} >= 10) && ("%{_arch}" == "x86_64" || "%{_arch}" == "aarch64")] +%bcond jit %[(0%{?fedora} >= 41) && ("%{_arch}" == "x86_64" || "%{_arch}" == "aarch64")] %if %{with jit} # When built with JIT, it still needs to be enabled on runtime via PYTHON_JIT=1 %global jit_flag --enable-experimental-jit=yes-off