msys2-dependencies.sh 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. #!/bin/bash
  2. #
  3. # Install the dependencies we need to build Netdata on MSYS2
  4. . /etc/profile
  5. set -euo pipefail
  6. ${GITHUB_ACTIONS+echo "::group::Updating MSYS2"}
  7. pacman -Syuu --noconfirm
  8. ${GITHUB_ACTIONS+echo "::endgroup::"}
  9. ${GITHUB_ACTIONS+echo "::group::Installing dependencies"}
  10. pacman -S --noconfirm --needed \
  11. base-devel \
  12. cmake \
  13. git \
  14. ninja \
  15. python \
  16. liblz4-devel \
  17. libutil-linux \
  18. libutil-linux-devel \
  19. libyaml-devel \
  20. libzstd-devel \
  21. msys2-devel \
  22. msys/brotli-devel \
  23. msys/libuv-devel \
  24. msys/pcre2-devel \
  25. msys/zlib-devel \
  26. msys/libcurl-devel \
  27. openssl-devel \
  28. protobuf-devel \
  29. mingw-w64-x86_64-toolchain \
  30. mingw-w64-ucrt-x86_64-toolchain \
  31. mingw64/mingw-w64-x86_64-brotli \
  32. mingw64/mingw-w64-x86_64-go \
  33. mingw64/mingw-w64-x86_64-libuv \
  34. mingw64/mingw-w64-x86_64-lz4 \
  35. mingw64/mingw-w64-x86_64-nsis \
  36. mingw64/mingw-w64-x86_64-openssl \
  37. mingw64/mingw-w64-x86_64-pcre2 \
  38. mingw64/mingw-w64-x86_64-protobuf \
  39. mingw64/mingw-w64-x86_64-zlib \
  40. ucrt64/mingw-w64-ucrt-x86_64-brotli \
  41. ucrt64/mingw-w64-ucrt-x86_64-go \
  42. ucrt64/mingw-w64-ucrt-x86_64-libuv \
  43. ucrt64/mingw-w64-ucrt-x86_64-lz4 \
  44. ucrt64/mingw-w64-ucrt-x86_64-openssl \
  45. ucrt64/mingw-w64-ucrt-x86_64-pcre2 \
  46. ucrt64/mingw-w64-ucrt-x86_64-protobuf \
  47. ucrt64/mingw-w64-ucrt-x86_64-zlib
  48. ${GITHUB_ACTIONS+echo "::endgroup::"}