forked from pool/python313
Accepting request 1250070 from home:dgarcia:branches:devel:languages:python:Factory
- Do not build with experimental_jit when primary_python OBS-URL: https://build.opensuse.org/request/show/1250070 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python313?expand=0&rev=79
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 4 11:30:07 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
- Do not build with experimental_jit when primary_python
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Feb 5 09:13:26 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
|
Wed Feb 5 09:13:26 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
|
||||||
|
|
||||||
|
|||||||
@@ -60,19 +60,6 @@
|
|||||||
%bcond_with profileopt
|
%bcond_with profileopt
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# No experimental_jit in SLES, there's no clang >=18
|
|
||||||
%if 0%{?suse_version} <= 1600
|
|
||||||
%bcond_with experimental_jit
|
|
||||||
%else
|
|
||||||
# Currently supported architectures
|
|
||||||
# https://peps.python.org/pep-0744/#support
|
|
||||||
%ifarch x86_64 %{x86_64} aarch64
|
|
||||||
%bcond_without experimental_jit
|
|
||||||
%else
|
|
||||||
%bcond_with experimental_jit
|
|
||||||
%endif
|
|
||||||
%endif
|
|
||||||
|
|
||||||
# Only for Tumbleweed
|
# Only for Tumbleweed
|
||||||
# https://en.opensuse.org/openSUSE:Python:Externally_managed
|
# https://en.opensuse.org/openSUSE:Python:Externally_managed
|
||||||
%if 0%{?suse_version} > 1600
|
%if 0%{?suse_version} > 1600
|
||||||
@@ -93,6 +80,24 @@
|
|||||||
%define primary_interpreter 0
|
%define primary_interpreter 0
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
# No experimental_jit in SLES, there's no clang >=18
|
||||||
|
%if 0%{?suse_version} <= 1600
|
||||||
|
%bcond_with experimental_jit
|
||||||
|
# Disable experimental_jit for primary python.
|
||||||
|
# llvm is not part of ring0 and experimental_jit requires clang >= 18
|
||||||
|
%elif !%{primary_interpreter}
|
||||||
|
# Currently supported architectures
|
||||||
|
# https://peps.python.org/pep-0744/#support
|
||||||
|
%ifarch x86_64 %{x86_64} aarch64
|
||||||
|
%bcond_without experimental_jit
|
||||||
|
%else
|
||||||
|
%bcond_with experimental_jit
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%else
|
||||||
|
%bcond_with experimental_jit
|
||||||
|
%endif
|
||||||
|
|
||||||
# %%if 0%%{?sle_version} && 0%%{?suse_version} < 1550
|
# %%if 0%%{?sle_version} && 0%%{?suse_version} < 1550
|
||||||
# Obsoleting previous "latest" Python versions
|
# Obsoleting previous "latest" Python versions
|
||||||
# Next versions will get more lines like for older versions
|
# Next versions will get more lines like for older versions
|
||||||
|
|||||||
Reference in New Issue
Block a user