diff options
| author | David Lönnhager <david.l@mullvad.net> | 2024-11-14 10:21:32 +0100 |
|---|---|---|
| committer | David Lönnhager <david.l@mullvad.net> | 2024-11-19 08:52:14 +0100 |
| commit | 21560a30193414d884bb9e31bff3299c7e3682ff (patch) | |
| tree | 55745938429cdba9bad9039887afac4472d0ca2f | |
| parent | b6592834b34e28fee971aa7ace02d67894b0ae0a (diff) | |
| download | mullvadvpn-21560a30193414d884bb9e31bff3299c7e3682ff.tar.xz mullvadvpn-21560a30193414d884bb9e31bff3299c7e3682ff.zip | |
Add instructions for building on ARM64 Windows
| -rw-r--r-- | BuildInstructions.md | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/BuildInstructions.md b/BuildInstructions.md index 560ce9ce90..7d84711636 100644 --- a/BuildInstructions.md +++ b/BuildInstructions.md @@ -95,10 +95,13 @@ The host has to have the following installed: - `msbuild.exe` available in `%PATH%`. If you installed Visual Studio Community edition, the binary can be found under: + ``` - C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64 + C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\<arch> ``` + Where `<arch>` refers to the host architecture, either `amd64` or `arm64`. + - `bash` installed as well as a few base unix utilities, including `sed` and `tail`. You are recommended to use [Git for Windows]. @@ -125,6 +128,21 @@ for ARM64 on x64. This requires: rustup target add aarch64-pc-windows-msvc ``` +### Compiling *on* Windows Arm + +In addition to the above requirements: + +- `x86_64-pc-windows-msvc` is required to build `talpid-openvpn-plugin`: + + ```bash + rustup target add x86_64-pc-windows-msvc + ``` + +- `clang` is required (can be found in the Visual Studio installer) in `PATH`. + + `INCLUDE` also needs to include the correct headers for clang. This can be found by running + `vcvarsall.bat arm64` and typing `set INCLUDE`. + ## macOS The host has to have the following installed: |
