mirror of
git://code.qt.io/qt/qt5.git
synced 2026-02-01 19:36:04 +08:00
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user