Files
qt5/coin/provisioning/qtci-windows-10_22H2-x86_64/25-llvm-mingw.ps1
Tony Sarajärvi f7fb9e99f7 Update llvm-mingw to 17.0.3
Change-Id: I2a44fd8d5dd75771539926a55c5da784267d595f
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Matti Paaso <matti.paaso@qt.io>
2023-11-05 09:05:38 +00:00

21 lines
849 B
PowerShell

# Copyright (C) 2022 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
# https://github.com/mstorsjo/llvm-mingw/releases/tag/20220323
$zip = Get-DownloadLocation "llvm-mingw-20231017-ucrt-x86_64.zip"
$url_cache = "http://ci-files01-hki.ci.qt.io/input/windows/llvm-mingw-20231017-ucrt-x86_64.zip"
$url_official = "https://github.com/mstorsjo/llvm-mingw/releases/download/20231017/llvm-mingw-20231017-ucrt-x86_64.zip"
Download $url_official $url_cache $zip
Verify-Checksum $zip "1a39032b5add2f06fe0dfa56d0279b313b974da3"
Extract-7Zip $zip C:\
Rename-Item C:\llvm-mingw-20231017-ucrt-x86_64 C:\llvm-mingw
Write-Output "llvm-mingw = 17.0.3" >> ~/versions.txt
Remove-Item -Path $zip