File tree Expand file tree Collapse file tree 2 files changed +32
-0
lines changed
Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -1722,6 +1722,20 @@ <h4 id="building-for-musl">Building for musl</h4>
17221722--with-devkit=$DEVKIT \
17231723--with-sysroot=$SYSROOT</ code > </ pre >
17241724< p > and run < code > make</ code > normally.</ p >
1725+ < h4 id ="building-for-windows-aarch64 "> Building for Windows AArch64</ h4 >
1726+ < p > The Visual Studio Build Tools can be used for building the JDK
1727+ without a full Visual Studio installation. To set up the Visual Studio
1728+ 2022 Build Tools on a Windows AArch64 machine for a native build, launch
1729+ the installer as follows in a Windows command prompt:</ p >
1730+ < pre > < code > vs_buildtools.exe --quiet --wait --norestart --nocache ^
1731+ --installPath "%ProgramFiles(x86)%\Microsoft Visual Studio\2022\BuildTools" ^
1732+ --add Microsoft.VisualStudio.Component.VC.CoreBuildTools ^
1733+ --add Microsoft.VisualStudio.Component.VC.Tools.ARM64 ^
1734+ --add Microsoft.VisualStudio.Component.Windows11SDK.22621</ code > </ pre >
1735+ < p > To generate Windows AArch64 builds using Cygwin on a Windows x64
1736+ machine, you must set the proper target platform by adding
1737+ < code > --openjdk-target=aarch64-unknown-cygwin</ code > to your configure
1738+ command line.</ p >
17251739< h2 id ="build-performance "> Build Performance</ h2 >
17261740< p > Building the JDK requires a lot of horsepower. Some of the build
17271741tools can be adjusted to utilize more or less of resources such as
Original file line number Diff line number Diff line change @@ -1457,6 +1457,24 @@ sh ./configure --with-jvm-variants=server \
14571457
14581458and run ` make ` normally.
14591459
1460+ #### Building for Windows AArch64
1461+ The Visual Studio Build Tools can be used for building the JDK without a full
1462+ Visual Studio installation. To set up the Visual Studio 2022 Build Tools on a
1463+ Windows AArch64 machine for a native build, launch the installer as follows
1464+ in a Windows command prompt:
1465+
1466+ ```
1467+ vs_buildtools.exe --quiet --wait --norestart --nocache ^
1468+ --installPath "%ProgramFiles(x86)%\Microsoft Visual Studio\2022\BuildTools" ^
1469+ --add Microsoft.VisualStudio.Component.VC.CoreBuildTools ^
1470+ --add Microsoft.VisualStudio.Component.VC.Tools.ARM64 ^
1471+ --add Microsoft.VisualStudio.Component.Windows11SDK.22621
1472+ ```
1473+
1474+ To generate Windows AArch64 builds using Cygwin on a Windows x64 machine,
1475+ you must set the proper target platform by adding
1476+ ` --openjdk-target=aarch64-unknown-cygwin ` to your configure command line.
1477+
14601478## Build Performance
14611479
14621480Building the JDK requires a lot of horsepower. Some of the build tools can be
You can’t perform that action at this time.
0 commit comments