10000 GH-120602: Support LLVM_VERSION_SUFFIX for JIT builds (GH-120604) · estyxx/cpython@05290cc · GitHub
[go: up one dir, main page]

Skip to content

Commit 05290cc

Browse files
xarbluestyxx
authored andcommitted
pythonGH-120602: Support LLVM_VERSION_SUFFIX for JIT builds (pythonGH-120604)
1 parent 071547a commit 05290cc

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Correctly handle LLVM installs with ``LLVM_VERSION_SUFFIX`` when building
2+
with ``--enable-experimental-jit``.

Tools/jit/_llvm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import typing
1010

1111
_LLVM_VERSION = 18
12-
_LLVM_VERSION_PATTERN = re.compile(rf"version\s+{_LLVM_VERSION}\.\d+\.\d+\s+")
12+
_LLVM_VERSION_PATTERN = re.compile(rf"version\s+{_LLVM_VERSION}\.\d+\.\d+\S*\s+")
1313

1414
_P = typing.ParamSpec("_P")
1515
_R = typing.TypeVar("_R")

0 commit comments

Comments
 (0)
0