From 22a8b4c4acd38579dd6bd5c2fcb5b7c492161ea7 Mon Sep 17 00:00:00 2001 From: vidyasagarnimmagaddi <160703874+vidyasagarnimmagaddi@users.noreply.github.com> Date: Tue, 1 Oct 2024 21:26:59 +0530 Subject: [PATCH] updated baseurl to get the mingw32 and mingw64 releases (#10713) --- images/windows/scripts/build/Install-Mingw64.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/images/windows/scripts/build/Install-Mingw64.ps1 b/images/windows/scripts/build/Install-Mingw64.ps1 index 2d5279b0..deb0831f 100644 --- a/images/windows/scripts/build/Install-Mingw64.ps1 +++ b/images/windows/scripts/build/Install-Mingw64.ps1 @@ -5,14 +5,14 @@ if (Test-IsWin19) { # If Windows 2019, install version 8.1.0 form sourceforge - $baseUrl = "https://sourceforge.net/projects/mingw-w64/files" + $baseUrl = "https://download.qt.io/development_releases/prebuilt" $("mingw32", "mingw64") | ForEach-Object { if ($_ -eq "mingw32") { - $url = "$baseUrl/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/8.1.0/threads-posix/dwarf/i686-8.1.0-release-posix-dwarf-rt_v6-rev0.7z/download" + $url = "$baseUrl/mingw_32/i686-8.1.0-release-posix-dwarf-rt_v6-rev0.7z" $sha256sum = 'adb84b70094c0225dd30187ff995e311d19424b1eb8f60934c60e4903297f946' } elseif ($_ -eq "mingw64") { - $url = "$baseUrl/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/8.1.0/threads-posix/seh/x86_64-8.1.0-release-posix-seh-rt_v6-rev0.7z/download" + $url = "$baseUrl/mingw_64/x86_64-8.1.0-release-posix-seh-rt_v6-rev0.7z" $sha256sum = '853970527b5de4a55ec8ca4d3fd732c00ae1c69974cc930c82604396d43e79f8' } else { throw "Unknown architecture $_"