mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
win,build: build N-API addons in parallel
Ref: https://github.com/nodejs/node/pull/21403 PR-URL: https://github.com/nodejs/node/pull/22582 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
This commit is contained in:
committed by
Anna Henningsen
parent
4b47d2907d
commit
c57ed415f5
10
vcbuild.bat
10
vcbuild.bat
@@ -497,11 +497,11 @@ for /d %%F in (test\addons-napi\??_*) do (
|
||||
rd /s /q %%F
|
||||
)
|
||||
:: building addons-napi
|
||||
for /d %%F in (test\addons-napi\*) do (
|
||||
%node_gyp_exe% rebuild ^
|
||||
--directory="%%F" ^
|
||||
--nodedir="%cd%"
|
||||
)
|
||||
setlocal
|
||||
set npm_config_nodedir=%~dp0
|
||||
"%node_exe%" "%~dp0tools\build-addons.js" "%~dp0deps\npm\node_modules\node-gyp\bin\node-gyp.js" "%~dp0test\addons-napi"
|
||||
if errorlevel 1 exit /b 1
|
||||
endlocal
|
||||
endlocal
|
||||
goto run-tests
|
||||
|
||||
|
||||
Reference in New Issue
Block a user