diff options
author | Michaël Zasso <targos@protonmail.com> | 2021-05-31 21:08:26 +0300 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2021-06-11 10:30:22 +0300 |
commit | 52fd42ec46eac3f077539b3ea36f157562fe2726 (patch) | |
tree | 90d22a3e98f5f8048d346f181b2ea38fdfbc8d5f /vcbuild.bat | |
parent | de44e905239feebe98f527078dc4687790f865cc (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 dcb40933559..4fd51ff8a8b 100644 --- a/vcbuild.bat +++ b/vcbuild.bat @@ -372,6 +372,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 |