From 8a92b9dafa2f70e877dccf3a30ce2b483ed3f4ba Mon Sep 17 00:00:00 2001 From: "Zaiming (Stone) Shi" Date: Mon, 10 Jan 2022 09:46:34 +0100 Subject: [PATCH] docs: update Windows build instructions --- .github/workflows/build_packages.yaml | 2 +- Windows.md | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build_packages.yaml b/.github/workflows/build_packages.yaml index d72053f49..8a285b645 100644 --- a/.github/workflows/build_packages.yaml +++ b/.github/workflows/build_packages.yaml @@ -59,6 +59,7 @@ jobs: profile: # only CE for windows - emqx otp: + ## gleam-lang/setup-erlang does not yet support the installation of otp24 on windows - 23.2 steps: @@ -71,7 +72,6 @@ jobs: - uses: ilammy/msvc-dev-cmd@v1 - uses: gleam-lang/setup-erlang@v1.1.2 id: install_erlang - ## gleam-lang/setup-erlang does not yet support the installation of otp24 on windows with: otp-version: ${{ matrix.otp }} - name: build diff --git a/Windows.md b/Windows.md index 5e947a22e..09bc7e950 100644 --- a/Windows.md +++ b/Windows.md @@ -25,7 +25,7 @@ C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build Depending on your visual studio version and OS, the paths may differ. The first path is for rebar3 port compiler to find `cl.exe` and `link.exe` -The second path is for Powershell or CMD to setup environment variables. +The second path is for CMD to setup environment variables. ### Erlang/OTP @@ -73,6 +73,7 @@ Some of the unix world tools are required to build EMQ X. Including: * git * curl * make +* cmake * jq * zip / unzip @@ -81,14 +82,14 @@ We recommend using [scoop](https://scoop.sh/), or [Chocolatey](https://chocolate When using scoop: ``` -scoop install git curl make jq zip unzip +scoop install git curl make cmake jq zip unzip ``` ## Build EMQ X source code * Clone the repo: `git clone https://github.com/emqx/emqx.git` -* Start CMD or Powershell +* Start CMD console * Execute `vcvarsall.bat x86_amd64` to load environment variables