diff options
author | Richard Lau <riclau@uk.ibm.com> | 2019-03-17 10:21:08 -0400 |
---|---|---|
committer | Richard Lau <riclau@uk.ibm.com> | 2019-03-22 00:50:08 -0400 |
commit | 41ba699973388f7ff7464e1606457c630a8189f9 (patch) | |
tree | 994787520fa8e122fe2a7a2e90a908e1753adb44 /configure.py | |
parent | 0b516fac79aada4c3b6cc7fdc446573ead395ff3 (diff) | |
download | node-new-41ba699973388f7ff7464e1606457c630a8189f9.tar.gz |
build: update configure for Node.js 12
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 <targos@protonmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'configure.py')
-rwxr-xr-x | configure.py | 6 |
1 files changed, 2 insertions, 4 deletions
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: |