mirror of
https://github.com/python/cpython.git
synced 2026-05-06 04:37:33 -04:00
GH-146475: Block Apple Clang for building JIT stencils (#149188)
(cherry picked from commit c0e0640039)
This commit is contained in:
committed by
GitHub
parent
46165b116b
commit
d82d5c2ddb
@@ -0,0 +1,2 @@
|
||||
Block Apple Clang from being used to build the JIT as it ships without
|
||||
required LLVM tools.
|
||||
+3
-1
@@ -9,7 +9,9 @@ import subprocess
|
||||
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")
|
||||
|
||||
Reference in New Issue
Block a user