Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
GH-146475: Block Apple Clang for building JIT stencils (#149188)
(cherry picked from commit c0e0640)
  • Loading branch information
savannahostrowski committed May 4, 2026
commit 36d7f306857c2803dadea5a019c5b1df588a1c6c
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Block Apple Clang from being used to build the JIT as it ships without
required LLVM tools.
4 changes: 3 additions & 1 deletion Tools/jit/_llvm.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
import typing

_LLVM_VERSION = 18
_LLVM_VERSION_PATTERN = re.compile(rf"version\s+{_LLVM_VERSION}\.\d+\.\d+\S*\s+")
_LLVM_VERSION_PATTERN = re.compile(
rf"(?<!Apple )(LLVM|clang) version\s+{_LLVM_VERSION}\.\d+\.\d+\S*\s+"
)

_P = typing.ParamSpec("_P")
_R = typing.TypeVar("_R")
Expand Down
Loading