mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
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>
This commit is contained in:
committed by
Antoine du Hamel
parent
58bd046324
commit
3457130eb6
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user