From 26cfaf4c1803d3d95c875865a1c671b914a16f4b Mon Sep 17 00:00:00 2001 From: Jon Kunkee Date: Wed, 2 Jan 2019 16:44:23 -0800 Subject: [PATCH] win,build: update Windows build documentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/25995 Reviewed-By: João Reis --- BUILDING.md | 12 +++++++++++- tools/bootstrap/README.md | 2 +- tools/bootstrap/windows_boxstarter | 2 +- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/BUILDING.md b/BUILDING.md index 0a3d89783389a2..2021609288b74b 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -407,9 +407,19 @@ Prerequisites: and tools which can be included in the global `PATH`. * The [NetWide Assembler](http://www.nasm.us/), for OpenSSL assembler modules. If not installed in the default location, it needs to be manually added - to `PATH`. A build with the `openssl-no-asm` option does not need this. + to `PATH`. A build with the `openssl-no-asm` option does not need this, nor + does a build targeting ARM64 Windows. * **Optional** (to build the MSI): the [WiX Toolset v3.11](http://wixtoolset.org/releases/) and the [Wix Toolset Visual Studio 2017 Extension](https://marketplace.visualstudio.com/items?itemName=RobMensching.WixToolsetVisualStudio2017Extension). +* **Optional** Requirements for compiling for Windows 10 on ARM (ARM64): + * ARM64 Windows build machine + * Due to a GYP limitation, this is required to run compiled code + generation tools (like V8's builtins and mksnapshot tools) + * Visual Studio 15.9.0 or newer + * Visual Studio optional components + * Visual C++ compilers and libraries for ARM64 + * Visual C++ ATL for ARM64 + * Windows 10 SDK 10.0.17763.0 or newer If the path to your build directory contains a space or a non-ASCII character, the build will likely fail. diff --git a/tools/bootstrap/README.md b/tools/bootstrap/README.md index 68beb2f64653f9..069f021a0f9603 100644 --- a/tools/bootstrap/README.md +++ b/tools/bootstrap/README.md @@ -23,7 +23,7 @@ get-boxstarter -Force Install-BoxstarterPackage https://raw.githubusercontent.com/nodejs/node/master/tools/bootstrap/windows_boxstarter -DisableReboots ``` -Entire installation will take up about 8 GB of disk space. +Entire installation will take up about 10 GB of disk space. ## Linux diff --git a/tools/bootstrap/windows_boxstarter b/tools/bootstrap/windows_boxstarter index dd2281fa11c38a..7d682f1fb3707b 100644 --- a/tools/bootstrap/windows_boxstarter +++ b/tools/bootstrap/windows_boxstarter @@ -18,7 +18,7 @@ choco install python2 -y # Installs VS 2017 Build Tools choco install visualstudio2017buildtools -y -choco install visualstudio2017-workload-vctools -y +choco install visualstudio2017-workload-vctools -y --params="--add Microsoft.VisualStudio.Component.VC.Tools.ARM64 --add Microsoft.VisualStudio.Component.VC.ATL.ARM64" # NASM choco install nasm -y