summaryrefslogtreecommitdiffstats
path: root/packaging/windows/msys2-dependencies.sh
blob: 95a1952df8820c167aa43192af8e956e7fb709b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#!/bin/bash
#
# Install the dependencies we need to build Netdata on MSYS2

. /etc/profile

set -euo pipefail

${GITHUB_ACTIONS+echo "::group::Updating MSYS2"}
pacman -Syuu --noconfirm
${GITHUB_ACTIONS+echo "::endgroup::"}

${GITHUB_ACTIONS+echo "::group::Installing dependencies"}
pacman -S --noconfirm --needed \
    base-devel \
    cmake \
    git \
    liblz4-devel \
    libutil-linux \
    libutil-linux-devel \
    libyaml-devel \
    libzstd-devel \
    mingw64/mingw-w64-x86_64-brotli \
    mingw64/mingw-w64-x86_64-go \
    mingw64/mingw-w64-x86_64-libuv \
    mingw64/mingw-w64-x86_64-lz4 \
    mingw64/mingw-w64-x86_64-nsis \
    mingw64/mingw-w64-x86_64-openssl \
    mingw64/mingw-w64-x86_64-pcre2 \
    mingw64/mingw-w64-x86_64-protobuf \
    mingw64/mingw-w64-x86_64-zlib \
    mingw-w64-ucrt-x86_64-toolchain \
    mingw-w64-x86_64-toolchain \
    msys2-devel \
    msys/brotli-devel \
    msys/libuv-devel \
    msys/pcre2-devel \
    msys/zlib-devel \
    openssl-devel \
    protobuf-devel \
    python \
    ucrt64/mingw-w64-ucrt-x86_64-brotli \
    ucrt64/mingw-w64-ucrt-x86_64-go \
    ucrt64/mingw-w64-ucrt-x86_64-libuv \
    ucrt64/mingw-w64-ucrt-x86_64-lz4 \
    ucrt64/mingw-w64-ucrt-x86_64-openssl \
    ucrt64/mingw-w64-ucrt-x86_64-pcre2 \
    ucrt64/mingw-w64-ucrt-x86_64-protobuf \
    ucrt64/mingw-w64-ucrt-x86_64-zlib
${GITHUB_ACTIONS+echo "::endgroup::"}