From f2a7490652e4af1eb5de47f2933bbf900007941b Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 10 Oct 2021 20:11:36 +0200 Subject: [PATCH] architecture --- architecture.py | 6 ++++-- arguments.py | 2 +- msys.py | 1 - 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/architecture.py b/architecture.py index 6549e1c..25c74f0 100644 --- a/architecture.py +++ b/architecture.py @@ -4,9 +4,11 @@ import arguments import distribution import subsystem +MAIN = 'x86_64' + ARCHITECTURES = { - 'x86_64': (64, [subsystem.MAIN, 'clang64', 'mingw64', 'ucrt64']), - 'i686': (32, [subsystem.MAIN, 'clang32', 'mingw32']), + MAIN: (64, [subsystem.MAIN, 'clang64', 'mingw64', 'ucrt64']), + 'i686': (32, [subsystem.MAIN, 'clang32', 'mingw32']), } diff --git a/arguments.py b/arguments.py index e1d4230..8f41486 100644 --- a/arguments.py +++ b/arguments.py @@ -76,7 +76,7 @@ compression applying to archive action='info', remote=msys.REPOSITORY, - architectures=[msys.ARCHITECTURE], + architectures=[architecture.MAIN], subsystems=[subsystem.MAIN, 'mingw'], filesystem='fs', diff --git a/msys.py b/msys.py index 76749bb..8ebbe8c 100644 --- a/msys.py +++ b/msys.py @@ -1,5 +1,4 @@ ARCHIVE = '.tar.xz' -ARCHITECTURE = 'x86_64' CATALOG = '.files' CHARSET = 'u8' REPOSITORY = 'https://repo.msys2.org'