mirror of
https://github.com/python/cpython.git
synced 2026-05-04 09:31:02 +00:00
GH-146475: Block Apple Clang for building JIT stencils (#149188)
(cherry picked from commit c0e0640039)
This commit is contained in:
parent
46165b116b
commit
d82d5c2ddb
2 changed files with 5 additions and 1 deletions
|
|
@ -0,0 +1,2 @@
|
|||
Block Apple Clang from being used to build the JIT as it ships without
|
||||
required LLVM tools.
|
||||
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue