irrlicht/scripts/ci-get-mingw.sh

10 lines
351 B
Bash
Raw Normal View History

2023-12-13 12:05:49 +01:00
#!/bin/bash
set -e
topdir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
2024-01-30 13:37:20 +01:00
name=llvm-mingw-20231128-ucrt-ubuntu-20.04-x86_64.tar.xz
wget "https://github.com/mstorsjo/llvm-mingw/releases/download/20231128/$name" -O "$name"
2023-12-13 12:05:49 +01:00
sha256sum -w -c <(grep -F "$name" "$topdir/sha256sums.txt")
2024-01-30 13:37:20 +01:00
sudo tar -xaf "$name" -C /usr --strip-components=1
2023-12-13 12:05:49 +01:00
rm -f "$name"