From 0a7f13e26b7c44d739d4efc1002f0889ecf93588 Mon Sep 17 00:00:00 2001 From: Nathan Blair Date: Fri, 12 Jun 2020 23:35:38 +0000 Subject: [PATCH] configure: account for CLANG_VENDOR when checking for llvm version Fixes: https://github.com/nodejs/node/issues/29536 PR-URL: https://github.com/nodejs/node/pull/33860 Reviewed-By: Anna Henningsen Reviewed-By: James M Snell --- configure.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.py b/configure.py index b06b1c55859f33..749692b9e2d69b 100755 --- a/configure.py +++ b/configure.py @@ -805,7 +805,7 @@ def get_nasm_version(asm): def get_llvm_version(cc): return get_version_helper( - cc, r"(^(?:FreeBSD )?clang version|based on LLVM) ([0-9]+\.[0-9]+)") + cc, r"(^(?:.+ )?clang version|based on LLVM) ([0-9]+\.[0-9]+)") def get_xcode_version(cc): return get_version_helper(