Skip to content

Commit 6b714d5

Browse files
[3.13] GH-120602: Support LLVM_VERSION_SUFFIX for JIT builds (GH-120768)
(cherry picked from commit 285f42c) Co-authored-by: Xarblu <[email protected]>
1 parent e415d25 commit 6b714d5

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)