msys2-dependencies.sh 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. liblz4-devel \
  15. libutil-linux \
  16. libutil-linux-devel \
  17. libyaml-devel \
  18. libzstd-devel \
  19. mingw64/mingw-w64-x86_64-brotli \
  20. mingw64/mingw-w64-x86_64-go \
  21. mingw64/mingw-w64-x86_64-libuv \
  22. mingw64/mingw-w64-x86_64-lz4 \
  23. mingw64/mingw-w64-x86_64-nsis \
  24. mingw64/mingw-w64-x86_64-openssl \
  25. mingw64/mingw-w64-x86_64-pcre2 \
  26. mingw64/mingw-w64-x86_64-protobuf \
  27. mingw64/mingw-w64-x86_64-zlib \
  28. mingw-w64-ucrt-x86_64-toolchain \
  29. mingw-w64-x86_64-toolchain \
  30. msys2-devel \
  31. msys/brotli-devel \
  32. msys/libuv-devel \
  33. msys/pcre2-devel \
  34. msys/zlib-devel \
  35. openssl-devel \
  36. protobuf-devel \
  37. python \
  38. ucrt64/mingw-w64-ucrt-x86_64-brotli \
  39. ucrt64/mingw-w64-ucrt-x86_64-go \
  40. ucrt64/mingw-w64-ucrt-x86_64-libuv \
  41. ucrt64/mingw-w64-ucrt-x86_64-lz4 \
  42. ucrt64/mingw-w64-ucrt-x86_64-openssl \
  43. ucrt64/mingw-w64-ucrt-x86_64-pcre2 \
  44. ucrt64/mingw-w64-ucrt-x86_64-protobuf \
  45. ucrt64/mingw-w64-ucrt-x86_64-zlib
  46. ${GITHUB_ACTIONS+echo "::endgroup::"}