Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch mingw links #12561

Merged
merged 1 commit into from
Oct 31, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ environment:
DLLS_URL: https://nim-lang.org/download/dlls.zip
DLLS_ARCHIVE: dlls.zip
MINGW_DIR: mingw64
MINGW_URL: https://nim-lang.org/download/mingw64-6.3.0.7z
MINGW_ARCHIVE: mingw64-6.3.0.7z
MINGW_URL: https://nim-lang.org/download/mingw64.7z
MINGW_ARCHIVE: mingw64.7z

matrix:
- NIM_TEST_PACKAGES: false
Expand Down
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ steps:

- bash: |
mkdir dist
curl -L https://nim-lang.org/download/mingw64-6.3.0.7z -o dist/mingw64.7z
curl -L https://nim-lang.org/download/mingw64.7z -o dist/mingw64.7z
curl -L https://nim-lang.org/download/dlls.zip -o dist/dlls.zip
7z x dist/mingw64.7z -odist
7z x dist/dlls.zip -obin
Expand Down
2 changes: 1 addition & 1 deletion tools/downloader.nim
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ proc download(pkg: string; c: Controls) {.async.} =

proc apply(a: Actions; c: Controls) {.async.} =
if a.mingw:
await download("mingw" & arch & "-6.3.0", c)
await download("mingw" & arch, c)
if a.aporia:
await download("aporia-0.4.0", c)

Expand Down
2 changes: 1 addition & 1 deletion tools/finish.nim
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import strutils, os, osproc, streams, browsers

const
arch = $(sizeof(int)*8)
mingw = "mingw$1-6.3.0.7z" % arch
mingw = "mingw$1.7z" % arch
url = r"https://nim-lang.org/download/" & mingw

var
Expand Down
2 changes: 1 addition & 1 deletion tools/urldownloader.nim
Original file line number Diff line number Diff line change
Expand Up @@ -427,5 +427,5 @@ when isMainModule:
else:
echo "Status [" & $status & "] message = [" & $message & "]"

downloadToFile("https://nim-lang.org/download/mingw64-6.3.0.7z",
downloadToFile("https://nim-lang.org/download/mingw64.7z",
"test.zip", {optUseCache}, progress)