Provisioning: Change using GitHub package for MinGW 11.2.0

Change-Id: I094015202659cd5a5c3231e64a47bb1725e88327
Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
(cherry picked from commit 278516d142)
This commit is contained in:
Heikki Halmet
2021-11-16 12:56:27 +02:00
parent 283a46b54f
commit cc596a54e1
3 changed files with 14 additions and 3 deletions

View File

@@ -47,9 +47,10 @@ function InstallMinGW
$envvar = $envvar -replace '["."]'
$targetdir = "C:\$envvar"
$url_original = "https://github.com/cristianadam/mingw-builds/releases/download/v" + $version + "-" + $revision + "/" + $arch + "-" + $version + "-release-" + $threading + "-" + $ex_handling + "-" + $build_ver + "-" + $revision + ".7z"
$url_cache = "\\ci-files01-hki.intra.qt.io\provisioning\windows\" + $release + ".7z"
$mingwPackage = "C:\Windows\Temp\MinGW-$version.zip"
Download $url_cache $url_cache $mingwPackage
Download $url_original $url_cache $mingwPackage
Verify-Checksum $mingwPackage $sha1
Extract-7Zip $mingwPackage $TARGETDIR

View File

@@ -3,9 +3,9 @@
# This script will install 64-bit MinGW 11.2.0
# Note! MinGW version is 9.0.0 but the GCC version is 11.2 which is used with the naming of MinGW
$release = "mingw-w64-x86_64-11.2.0-release-posix-seh-rt_v9-rev1"
$release = "MinGW-w64-x86_64-11.2.0-release-posix-seh-rt_v9-rev1"
$sha1 = "5554791dc13468bf44e2e519c6691f2deecd000c"
$sha1 = "76bbfd135633d3d414e06cd7bf70cae94d2311db"
InstallMinGW $release $sha1

View File

@@ -0,0 +1,10 @@
. "$PSScriptRoot\..\common\windows\install-mingw.ps1"
# This script will install 64-bit MinGW 11.2.0
# Note! MinGW version is 9.0.0 but the GCC version is 11.2 which is used with the naming of MinGW
$release = "MinGW-w64-x86_64-11.2.0-release-posix-seh-rt_v9-rev1"
$sha1 = "76bbfd135633d3d414e06cd7bf70cae94d2311db"
InstallMinGW $release $sha1