We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5cabd0 commit d5b1298Copy full SHA for d5b1298
scripts/setup-llvm-mingw64.sh
@@ -10,6 +10,12 @@ if [ -z "$LLVM_MINGW64_SRC" ]; then
10
exit 1
11
fi
12
13
+if [ -z "$LLVM_MINGW_UBUNTU_REL" ]; then
14
+ echo "Error: LLVM_MINGW_UBUNTU_REL is undefined"
15
+ env
16
+ exit 1
17
+fi
18
+
19
if [ -z "$LLVM_MINGW64_VER" ]; then
20
echo "Error: LLVM_MINGW64_VER is undefined"
21
env
@@ -31,7 +37,7 @@ x86_64 | amd64)
31
37
;;
32
38
esac
33
39
34
-pkg_dir="llvm-mingw-$LLVM_MINGW64_VER-ucrt-ubuntu-20.04-$m_arch"
40
+pkg_dir="llvm-mingw-$LLVM_MINGW64_VER-ucrt-ubuntu-$LLVM_MINGW_UBUNTU_REL-$m_arch"
35
41
pkg_file="$pkg_dir.tar.xz"
36
42
src_url="$LLVM_MINGW64_SRC/$LLVM_MINGW64_VER/$pkg_file"
43
echo ":: Downloading $src_url ..."
0 commit comments