Skip to content

Commit 1e60d83

Browse files
committed
source mingw32 from bintray
Sourceforge often fails to download or gets severly capped when appveyor attempts to download.
1 parent 8fbaaf7 commit 1e60d83

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

appveyor.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,11 @@ install:
2525
if(!(gem which minitest 2>$nul)) { gem install minitest --no-ri --no-rdoc }
2626
if ($env:Compiler -eq "mingw" -AND -Not (Test-Path "C:\mingw64")) {
2727
# Install MinGW.
28-
$url = "http://sourceforge.net/projects/mingw-w64/files/"
29-
$url += "Toolchains%20targetting%20Win64/Personal%20Builds/"
30-
$url += "mingw-builds/4.9.2/threads-win32/seh/"
31-
$url += "x86_64-4.9.2-release-win32-seh-rt_v3-rev0.7z/download"
32-
Invoke-WebRequest -UserAgent wget -Uri $url -OutFile x86_64-4.9.2-release-win32-seh-rt_v3-rev0.7z
33-
&7z x -oC:\ x86_64-4.9.2-release-win32-seh-rt_v3-rev0.7z > $null
28+
$file = "x86_64-4.9.2-release-win32-seh-rt_v4-rev3.7z"
29+
$url = "https://bintray.com/artifact/download/drewwells/generic/"
30+
$url += $file
31+
Invoke-WebRequest -UserAgent wget -Uri $url -OutFile $file
32+
&7z x -oC:\ $file > $null
3433
}
3534
- set PATH=C:\mingw64\bin;%PATH%
3635
- set CC=gcc

0 commit comments

Comments
 (0)