diff options
author | Michaël Zasso <targos@protonmail.com> | 2021-05-31 21:08:26 +0300 |
---|---|---|
committer | Antoine du Hamel <duhamelantoine1995@gmail.com> | 2021-06-01 01:26:28 +0300 |
commit | 3457130eb623dff8c40315401485fc368aad5bc1 (patch) | |
tree | b13966303096512b2cc8695067bfdc5257cd1cdc /vcbuild.bat | |
parent | 58bd04632402f24b4db3b11991df05ee7dba0602 (diff) |
build: work around bug in MSBuild v16.10.0
This allows to build Node.js at the (temporary) cost of longer build
times.
Refs: https://github.com/nodejs/node/issues/38872
Refs: https://github.com/dotnet/msbuild/releases/tag/v16.10.0
Refs: https://github.com/dotnet/msbuild/pull/6465
Refs: https://github.com/dotnet/msbuild/issues/6373
PR-URL: https://github.com/nodejs/node/pull/38873
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
Diffstat (limited to 'vcbuild.bat')
-rw-r--r-- | vcbuild.bat | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vcbuild.bat b/vcbuild.bat index 47e2f3b8337..81a8efb62e5 100644 --- a/vcbuild.bat +++ b/vcbuild.bat @@ -334,6 +334,8 @@ if "%target%"=="Build" ( if defined cctest set target="Build" ) if "%target%"=="node" if exist "%config%\cctest.exe" del "%config%\cctest.exe" +@rem TODO(targos): Remove next line after MSBuild 16.10.1 is released. +if "%target%"=="node" set target="Build" if defined msbuild_args set "extra_msbuild_args=%extra_msbuild_args% %msbuild_args%" @rem Setup env variables to use multiprocessor build set UseMultiToolTask=True |