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: https://github.com/nodejs/node/pull/21173 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
parent
a9e70d7d0b
commit
400df22c6b
2
configure
vendored
2
configure
vendored
@ -667,7 +667,7 @@ def get_llvm_version(cc):
|
|||||||
|
|
||||||
def get_xcode_version(cc):
|
def get_xcode_version(cc):
|
||||||
return get_version_helper(
|
return get_version_helper(
|
||||||
cc, r"(^Apple LLVM version) ([5-9]\.[0-9]+)")
|
cc, r"(^Apple LLVM version) ([0-9]+\.[0-9]+)")
|
||||||
|
|
||||||
def get_gas_version(cc):
|
def get_gas_version(cc):
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user