ci-get-mingw.sh 351 B

123456789
  1. #!/bin/bash
  2. set -e
  3. topdir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
  4. name=llvm-mingw-20231128-ucrt-ubuntu-20.04-x86_64.tar.xz
  5. wget "https://github.com/mstorsjo/llvm-mingw/releases/download/20231128/$name" -O "$name"
  6. sha256sum -w -c <(grep -F "$name" "$topdir/sha256sums.txt")
  7. sudo tar -xaf "$name" -C /usr --strip-components=1
  8. rm -f "$name"