Commit b9762688 authored by Ben Gamari's avatar Ben Gamari 🐢
Browse files

Bump toolchain

parent d6d7fa47
Pipeline #20181 passed with stages
in 7 minutes and 38 seconds
......@@ -18,19 +18,19 @@ JAILBREAK = Path('ghc-jailbreak')
# Known architectures (upstream names)
ARCHS = ['x86_64', 'i686', 'sources'] # type: List[Arch]
def package(name: str, archs: List[Arch] = ARCHS, ext: str = 'xz') -> Dict[Arch, Url]:
def package(name: str, archs: List[Arch] = ARCHS, ext: str = 'zst') -> Dict[Arch, Url]:
# N.B. ext is to accomodate transition from .xz to .zst archives.
URLS = {
'x86_64': f'/x86_64/mingw-w64-x86_64-{name}-any.pkg.tar.xz',
'i686': f'/i686/mingw-w64-i686-{name}-any.pkg.tar.xz',
'x86_64': f'/x86_64/mingw-w64-x86_64-{name}-any.pkg.tar.{ext}',
'i686': f'/i686/mingw-w64-i686-{name}-any.pkg.tar.{ext}',
'sources': f'/sources/mingw-w64-{name}.src.tar.gz',
}
return { arch: URLS[arch] for arch in archs }
# Version numbers
crt_ver = '8.0.0.5685.ef310786'
winpthreads_ver = '8.0.0.5680.0df6b89f'
gcc_ver = '9.3.0'
crt_ver = '8.0.0.5905.066f1b3c'
winpthreads_ver = '8.0.0.5904.1278c953'
gcc_ver = '10.1.0'
# type: List[Dict[Arch, Url]]
packages = [
......@@ -38,16 +38,17 @@ packages = [
package(f'headers-git-{crt_ver}-1'),
package(f'winpthreads-git-{winpthreads_ver}-1'),
package(f'libwinpthread-git-{winpthreads_ver}-1', archs=['i686', 'x86_64']),
package('zlib-1.2.8-9'),
package('isl-0.22.1-1'),
package('mpfr-4.0.2-2'),
package('gmp-6.2.0-1'),
package('binutils-2.34-1'),
package('libidn2-2.3.0-1'),
package(f'gcc-{gcc_ver}-1'),
package('mpc-1.1.0-1'),
package('windows-default-manifest-6.4-3'),
package(f'gcc-libs-{gcc_ver}-1', archs=['i686', 'x86_64']),
package('zlib-1.2.11-7', ext='xz'),
package('isl-0.22.1-1', ext='xz'),
package('mpfr-4.0.2-2', ext='xz'),
package('gmp-6.2.0-1', ext='xz'),
package('zstd-1.4.5-1'),
package('binutils-2.34-2'),
package('libidn2-2.3.0-1', ext='xz'),
package(f'gcc-{gcc_ver}-2'),
package('mpc-1.1.0-1', ext='xz'),
package('windows-default-manifest-6.4-3', ext='xz'),
package(f'gcc-libs-{gcc_ver}-2', archs=['i686', 'x86_64']),
]
def download(url: str, dest: Path):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment