repos: Load more repositories, uniformely

We are interested in x86_64 (as base), mipsel, riscv64 and
loongarch64 (named la64 in the interactive prompt
for brievity).
This commit is contained in:
Ivan A. Melnikov 2023-08-01 18:09:14 +04:00
parent 14a501684e
commit d0197d8475

View File

@ -548,7 +548,19 @@ if __name__ == '__main__':
from repos_cmp.utils import interactive_setup
from pydoc import pager # noqa
CONFIG = interactive_setup()
riscv64 = Repository.load_from_config('sisyphus_riscv64', CONFIG)
x86_64 = Repository.load_from_config('sisyphus', CONFIG)
x86_64.bits = 64
mipsel = Repository.load_from_config('sisyphus_mipsel', CONFIG)
try:
riscv64 = Repository.load_from_config('sisyphus_riscv64', CONFIG)
except Exception:
pass
try:
x86_64 = Repository.load_from_config('sisyphus', CONFIG)
except Exception:
pass
try:
mipsel = Repository.load_from_config('sisyphus_mipsel', CONFIG)
except Exception:
pass
try:
la64 = Repository.load_from_config('loongarch64', CONFIG)
except Exception:
pass