mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
GH-120602: Support LLVM_VERSION_SUFFIX for JIT builds (GH-120604)
This commit is contained in:
parent
4bbb0273f2
commit
285f42c850
2 changed files with 3 additions and 1 deletions
|
|
@ -0,0 +1,2 @@
|
|||
Correctly handle LLVM installs with ``LLVM_VERSION_SUFFIX`` when building
|
||||
with ``--enable-experimental-jit``.
|
||||
|
|
@ -9,7 +9,7 @@
|
|||
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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue