Browse Source

doc: upgrade Clang requirement to 3.4.2

Clang 3.4.1 has a bug that prevents compilation of V8.
As of Node.js 8.0.0 we stopped floating a workaround for this issue.

PR-URL: https://github.com/nodejs/node/pull/12388
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
v6
Michaël Zasso 8 years ago
committed by James M Snell
parent
commit
b4f59a7460
  1. 4
      BUILDING.md
  2. 4
      configure

4
BUILDING.md

@ -62,7 +62,7 @@ Depending on host platform, the selection of toolchains may vary.
#### Unix #### Unix
* GCC 4.8.5 or newer * GCC 4.8.5 or newer
* Clang 3.4.1 or newer * Clang 3.4.2 or newer
#### Windows #### Windows
@ -77,7 +77,7 @@ Depending on host platform, the selection of toolchains may vary.
Prerequisites: Prerequisites:
* `gcc` and `g++` 4.8.5 or newer, or * `gcc` and `g++` 4.8.5 or newer, or
* `clang` and `clang++` 3.4.1 or newer * `clang` and `clang++` 3.4.2 or newer
* Python 2.6 or 2.7 * Python 2.6 or 2.7
* GNU Make 3.81 or newer * GNU Make 3.81 or newer

4
configure

@ -617,8 +617,8 @@ def check_compiler(o):
ok, is_clang, clang_version, gcc_version = try_check_compiler(CXX, 'c++') ok, is_clang, clang_version, gcc_version = try_check_compiler(CXX, 'c++')
if not ok: if not ok:
warn('failed to autodetect C++ compiler version (CXX=%s)' % CXX) warn('failed to autodetect C++ compiler version (CXX=%s)' % CXX)
elif clang_version < '3.4.0' if is_clang else gcc_version < '4.8.0': elif clang_version < '3.4.2' if is_clang else gcc_version < '4.8.0':
warn('C++ compiler too old, need g++ 4.8 or clang++ 3.4 (CXX=%s)' % CXX) warn('C++ compiler too old, need g++ 4.8 or clang++ 3.4.2 (CXX=%s)' % CXX)
ok, is_clang, clang_version, gcc_version = try_check_compiler(CC, 'c') ok, is_clang, clang_version, gcc_version = try_check_compiler(CC, 'c')
if not ok: if not ok:

Loading…
Cancel
Save