Disable JIT compilation on EPEL 10.0
clang 18 is not available there.
This commit is contained in:
parent
a362f2a9e1
commit
900ee2da17
1 changed files with 2 additions and 3 deletions
|
|
@ -78,10 +78,9 @@ License: Python-2.0.1
|
|||
|
||||
# PEP 744: JIT Compilation
|
||||
# Whether to build with the experimental JIT compiler
|
||||
# We can only have this on Fedora 40+, where clang 18+ is available
|
||||
# And only on certain architectures: https://peps.python.org/pep-0744/#support
|
||||
# On EPEL 10.0 clang 18 is not available, hence it's disabled
|
||||
# The freethreading build (when enabled) does not support JIT yet
|
||||
%bcond jit %[(0%{?fedora} >= 40 || 0%{?epel} >= 10) && ("%{_arch}" == "x86_64" || "%{_arch}" == "aarch64")]
|
||||
%bcond jit 0
|
||||
%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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue