From 41ba699973388f7ff7464e1606457c630a8189f9 Mon Sep 17 00:00:00 2001 From: Richard Lau Date: Sun, 17 Mar 2019 10:21:08 -0400 Subject: build: update configure for Node.js 12 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update supported level of gcc to 6.3.0 and clang to 8.0.0. Refs: https://github.com/nodejs/node/pull/26714 PR-URL: https://github.com/nodejs/node/pull/26719 Reviewed-By: Michaƫl Zasso Reviewed-By: Refael Ackermann Reviewed-By: Ruben Bridgewater --- configure.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'configure.py') diff --git a/configure.py b/configure.py index 1f12998b64..9539c1760c 100755 --- a/configure.py +++ b/configure.py @@ -740,10 +740,8 @@ def check_compiler(o): ok, is_clang, clang_version, gcc_version = try_check_compiler(CXX, 'c++') if not ok: warn('failed to autodetect C++ compiler version (CXX=%s)' % CXX) - elif sys.platform.startswith('aix') and gcc_version < (6, 3, 0): - warn('C++ compiler too old, need g++ 6.3.0 (CXX=%s)' % CXX) - elif clang_version < (3, 4, 2) if is_clang else gcc_version < (4, 9, 4): - warn('C++ compiler too old, need g++ 4.9.4 or clang++ 3.4.2 (CXX=%s)' % CXX) + elif clang_version < (8, 0, 0) if is_clang else gcc_version < (6, 3, 0): + warn('C++ compiler too old, need g++ 6.3.0 or clang++ 8.0.0 (CXX=%s)' % CXX) ok, is_clang, clang_version, gcc_version = try_check_compiler(CC, 'c') if not ok: -- cgit v1.2.3