0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-30 23:43:09 +01:00
nodejs/deps
Michaël Zasso efa63f3d05
build: add option to enable clang-cl on Windows
Most changes are gated by the `clang==1` condition to avoid breaking
MSVC builds.

Select C/C++ language standard with ClCompile options.
This avoids passing the `-std:c++20` flag while compiling C code.
Do it only under clang option to avoid breaking addons until node-gyp
supports the new LanguageStandard options.

Disable precompiled header configuration for now as it doesn't seem to
work with clang-cl.

Disable C++20 warnings emitted by the Visual Studio C++ STL.
They're very noisy and not our responsibility to fix.

Co-authored-by: Daniel Lemire <daniel@lemire.me>
Co-authored-by: Stefan Stojanovic <stefan.stojanovic@janeasystems.com>
PR-URL: https://github.com/nodejs/node/pull/52870
Reviewed-By: Daniel Lemire <daniel@lemire.me>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2024-05-13 19:05:05 +00:00
..
acorn
ada deps: update ada to 2.7.8 2024-04-20 18:23:31 -07:00
brotli
cares deps: update c-ares to 1.28.1 2024-04-04 13:10:39 +00:00
cjs-module-lexer
corepack deps: update corepack to 0.28.0 2024-04-23 00:48:14 +00:00
googletest deps: update googletest to 2d16ed0 2024-05-10 18:03:57 +00:00
histogram
icu-small deps: update icu to 75.1 2024-04-21 00:44:40 +00:00
llhttp http: do not allow OBS fold in headers by default 2024-04-03 11:38:30 -03:00
minimatch deps: update minimatch to 9.0.4 2024-04-16 09:45:05 +00:00
nghttp2 deps: update nghttp2 to 1.61.0 2024-04-16 21:22:12 +00:00
ngtcp2
npm deps: upgrade npm to 10.7.0 2024-05-01 06:53:22 +00:00
openssl build: harmonize Clang checks 2024-05-09 12:10:59 +00:00
postject
simdjson deps: update simdjson to 3.9.1 2024-05-09 18:21:42 +00:00
simdutf deps: update simdutf to 5.2.8 2024-05-12 19:12:58 +00:00
undici deps: update undici to 6.15.0 2024-05-02 17:21:22 +00:00
uv
uvwasi deps: update uvwasi to 0.0.21 2024-05-08 15:42:43 -04:00
v8 deps: V8: cherry-pick f6bef09b3b0a 2024-05-03 13:30:02 +00:00
zlib build: add option to enable clang-cl on Windows 2024-05-13 19:05:05 +00:00