aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXarblu <xarblu@protonmail.com>2024-06-16 23:05:39 +0200
committerMichał Górny <mgorny@gentoo.org>2024-06-18 11:28:02 +0200
commit14a183054f0cccce42e67a3fd038dd3498848437 (patch)
treeecc845316579ceed4a3e0801bb5b2bc87d6e8239
parentSupport disabling system site-packages via GENTOO_BUILD var (diff)
downloadcpython-14a183054f0cccce42e67a3fd038dd3498848437.tar.gz
cpython-14a183054f0cccce42e67a3fd038dd3498848437.tar.bz2
cpython-14a183054f0cccce42e67a3fd038dd3498848437.zip
gh-120602: Support LLVM_VERSION_SUFFIXgentoo-3.13.0b2_p7
Pull-Request: https://github.com/python/cpython/pull/120604 Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--Tools/jit/_llvm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/jit/_llvm.py b/Tools/jit/_llvm.py
index 45bd69ff861..606f280a14d 100644
--- a/Tools/jit/_llvm.py
+++ b/Tools/jit/_llvm.py
@@ -9,7 +9,7 @@ import subprocess
import typing
_LLVM_VERSION = 18
-_LLVM_VERSION_PATTERN = re.compile(rf"version\s+{_LLVM_VERSION}\.\d+\.\d+\s+")
+_LLVM_VERSION_PATTERN = re.compile(rf"version\s+{_LLVM_VERSION}\.\d+\.\d+\S*\s+")
_P = typing.ParamSpec("_P")
_R = typing.TypeVar("_R")