GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — win, build: fix build time on Windows · nodejs/node@ffe517b

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • vcbuild.bat
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎vcbuild.bat‎

Copy file name to clipboardExpand all lines: vcbuild.bat
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,10 @@ if "%target%"=="Build" (
373373
)
374374
if "%target%"=="node" if exist "%config%\cctest.exe" del "%config%\cctest.exe"
375375
if defined msbuild_args set "extra_msbuild_args=%extra_msbuild_args% %msbuild_args%"
376+
@rem Setup env variables to use multiprocessor build
377+
set UseMultiToolTask=True
378+
set EnforceProcessCountAcrossBuilds=True
379+
set MultiProcMaxCount=%NUMBER_OF_PROCESSORS%
376380
msbuild node.sln %msbcpu% /t:%target% /p:Configuration=%config% /p:Platform=%msbplatform% /clp:NoItemAndPropertyList;Verbosity=minimal /nologo %extra_msbuild_args%
377381
if errorlevel 1 (
378382
if not defined project_generated echo Building Node with reused solution failed. To regenerate project files use "vcbuild projgen"

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.