@@ -73,6 +73,7 @@ if /i "%1"=="clean" set target=Clean&goto arg-ok
73
73
if /i " %1 " == " ia32" set target_arch = x86& goto arg-ok
74
74
if /i " %1 " == " x86" set target_arch = x86& goto arg-ok
75
75
if /i " %1 " == " x64" set target_arch = x64& goto arg-ok
76
+ if /i " %1 " == " arm64" set target_arch = arm64& goto arg-ok
76
77
if /i " %1 " == " vs2017" set target_env = vs2017& goto arg-ok
77
78
if /i " %1 " == " noprojgen" set noprojgen = 1& goto arg-ok
78
79
if /i " %1 " == " projgen" set projgen = 1& goto arg-ok
@@ -203,7 +204,8 @@ if "%target%"=="Clean" rmdir /S /Q %~dp0deps\icu
203
204
call tools\msvs\find_python.cmd
204
205
if errorlevel 1 goto :exit
205
206
206
- if not defined openssl_no_asm call tools\msvs\find_nasm.cmd
207
+ REM NASM is only needed on IA32 and x86_64.
208
+ if not defined openssl_no_asm if " %target_arch% " NEQ " arm64" call tools\msvs\find_nasm.cmd
207
209
if errorlevel 1 echo Could not find NASM, install it or build with openssl-no-asm. See BUILDING.md.
208
210
209
211
call :getnodeversion || exit /b 1
@@ -314,6 +316,7 @@ set "msbcpu=/m:2"
314
316
if " %NUMBER_OF_PROCESSORS% " == " 1" set " msbcpu = /m:1"
315
317
set " msbplatform = Win32"
316
318
if " %target_arch% " == " x64" set " msbplatform = x64"
319
+ if " %target_arch% " == " arm64" set " msbplatform = ARM64"
317
320
if " %target% " == " Build" (
318
321
if defined no_cctest set target = rename_node_bin_win
319
322
if " %test_args% " == " " set target = rename_node_bin_win
0 commit comments