aboutsummaryrefslogtreecommitdiffstats
path: root/coin/provisioning/qtci-windows-10-x86_64/25-llvm-mingw.ps1
diff options
context:
space:
mode:
Diffstat (limited to 'coin/provisioning/qtci-windows-10-x86_64/25-llvm-mingw.ps1')
-rw-r--r--coin/provisioning/qtci-windows-10-x86_64/25-llvm-mingw.ps119
1 files changed, 19 insertions, 0 deletions
diff --git a/coin/provisioning/qtci-windows-10-x86_64/25-llvm-mingw.ps1 b/coin/provisioning/qtci-windows-10-x86_64/25-llvm-mingw.ps1
new file mode 100644
index 00000000..adc2c506
--- /dev/null
+++ b/coin/provisioning/qtci-windows-10-x86_64/25-llvm-mingw.ps1
@@ -0,0 +1,19 @@
+# Copyright (C) 2021 The Qt Company Ltd.
+# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+. "$PSScriptRoot\..\common\windows\helpers.ps1"
+
+# This script installs LLVM-Mingw by mstorsjo
+
+$zip = Get-DownloadLocation "llvm-mingw-20220906-ucrt-x86_64.zip"
+$url_cache = "http://ci-files01-hki.ci.qt.io/input/windows/llvm-mingw-20220906-ucrt-x86_64.zip"
+$url_official = "https://github.com/mstorsjo/llvm-mingw/releases/download/20220906/llvm-mingw-20220906-ucrt-x86_64.zip"
+
+Download $url_official $url_cache $zip
+Verify-Checksum $zip "51ff525eefa4f5db905cc7b4c8b56079c3baed65"
+Extract-7Zip $zip C:\
+
+Rename-Item C:\llvm-mingw-20220906-ucrt-x86_64 C:\llvm-mingw
+
+Write-Output "llvm-mingw = 15.0.0" >> ~/versions.txt
+Remove-Item -Path $zip