diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-06-11 12:56:44 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-06-18 11:28:50 +0200 |
commit | 56006cdd26b8d8eaa29b6467f6c0d12716e2741e (patch) | |
tree | 139e16e21f036b526ee1764daa060ef517aa1689 | |
parent | manager: manually use CreateProcess for launching UI process (diff) | |
download | wireguard-windows-56006cdd26b8d8eaa29b6467f6c0d12716e2741e.tar.xz wireguard-windows-56006cdd26b8d8eaa29b6467f6c0d12716e2741e.zip |
build: bump to go 1.17beta1
Also, enable arm64 embeddable tunnel service building.
Requested-by: Dmitry Smirnov <dmitry.smirnov@netprotect.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | build.bat | 2 | ||||
-rw-r--r-- | embeddable-dll-service/README.md | 2 | ||||
-rw-r--r-- | embeddable-dll-service/build.bat | 2 |
4 files changed, 4 insertions, 4 deletions
@@ -25,7 +25,7 @@ define download = if ! mv $$@.unverified $$@; then rm -f $$@.unverified; exit 1; fi endef -$(eval $(call download,go.tar.zst,https://download.wireguard.com/windows-toolchain/distfiles/go1.16.2-linux_amd64_2021-03-22.tar.zst,a12882673a0e29842a3ba5bfefd1a41dcb4fd0889e1957c98e33b9a3872190a9)) +$(eval $(call download,go.tar.zst,https://download.wireguard.com/windows-toolchain/distfiles/go1.17beta1-linux_amd64_2021-06-11.tar.zst,fc25a3eccfdd1ad42b2963c7736f4fdb9b0e995aca3ecae88a6114da07aff2ec)) $(eval $(call download,wintun.zip,https://www.wintun.net/builds/wintun-0.11.zip,a5e212dcfd11ba172f8c2d9ee34ae1a68e15d8115a05912d95b1209ce0695408)) .deps/go/prepared: .distfiles/go.tar.zst @@ -13,7 +13,7 @@ if exist .deps\prepared goto :render rmdir /s /q .deps 2> NUL mkdir .deps || goto :error cd .deps || goto :error - call :download go.zip https://download.wireguard.com/windows-toolchain/distfiles/go1.16.2-windows_amd64_2021-03-22.zip 4f31feaf91be300e3b75be78e6ebf0b99facbdacb6c1367c8c156617b8be0d35 || goto :error + call :download go.zip https://download.wireguard.com/windows-toolchain/distfiles/go1.17beta1-windows_amd64_2021-06-11.zip 09601956a35ee4c2fa199da301c4b210fd365a46d286a7160388a1cdc07b7a6d || goto :error rem Mirror of https://github.com/mstorsjo/llvm-mingw/releases/download/20201020/llvm-mingw-20201020-msvcrt-x86_64.zip call :download llvm-mingw-msvcrt.zip https://download.wireguard.com/windows-toolchain/distfiles/llvm-mingw-20201020-msvcrt-x86_64.zip 2e46593245090df96d15e360e092f0b62b97e93866e0162dca7f93b16722b844 || goto :error rem Mirror of https://imagemagick.org/download/binaries/ImageMagick-7.0.8-42-portable-Q16-x64.zip diff --git a/embeddable-dll-service/README.md b/embeddable-dll-service/README.md index 1b48f6ab..6184f00c 100644 --- a/embeddable-dll-service/README.md +++ b/embeddable-dll-service/README.md @@ -1,6 +1,6 @@ ## Embeddable WireGuard Tunnel Library -This allows embedding WireGuard as a service inside of another application. Build `tunnel.dll` by running `./build.bat` in this folder. The first time you run it, it will invoke `..\build.bat` simply for downloading dependencies. After, you should have `amd64/tunnel.dll` and `x86/tunnel.dll`. +This allows embedding WireGuard as a service inside of another application. Build `tunnel.dll` by running `./build.bat` in this folder. The first time you run it, it will invoke `..\build.bat` simply for downloading dependencies. After, you should have `amd64/tunnel.dll`, `x86/tunnel.dll`, and `arm64/tunnel.dll`. The basic setup to use `tunnel.dll` is: diff --git a/embeddable-dll-service/build.bat b/embeddable-dll-service/build.bat index 0d2cbdbb..0135b054 100644 --- a/embeddable-dll-service/build.bat +++ b/embeddable-dll-service/build.bat @@ -21,9 +21,9 @@ if exist ..\.deps\prepared goto :build set CGO_CFLAGS=-O3 -Wall -Wno-unused-function -Wno-switch -std=gnu11 -DWINVER=0x0601 call :build_plat x86 i686 386 || goto :error call :build_plat amd64 x86_64 amd64 || goto :error + call :build_plat arm64 aarch64 arm64 || goto :error rem Uncomment when cgo is implemented: rem call :build_plat arm armv7 arm || goto :error - rem call :build_plat arm64 aarch64 arm64 || goto :error :success echo [+] Success |