Skip to content

Commit c5eb1f8

Browse files
Trottrvagg
authored andcommitted
tools: update tooling to work with new macOS CLI …
Using High Sierra and `xcode-select --install` without installing full Xcode, our build tooling breaks due to faulty regular expressions. Update the `configure` script in our project root directory to handle multi-digit version numbers. `tools/gyp` and `deps/npm/node_modules/node-gyp` still need to be updated for a complete fix. PR-URL: #21173 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 2ec7dd4 commit c5eb1f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ def get_llvm_version(cc):
645645

646646
def get_xcode_version(cc):
647647
return get_version_helper(
648-
cc, r"(^Apple LLVM version) ([5-9]\.[0-9]+)")
648+
cc, r"(^Apple LLVM version) ([0-9]+\.[0-9]+)")
649649

650650
def get_gas_version(cc):
651651
try:

0 commit comments

Comments
 (0)