Skip to content
Merged
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
15 changes: 9 additions & 6 deletions abf.py
Original file line number Diff line number Diff line change
Expand Up @@ -1412,20 +1412,23 @@ def auto_resolve():
exit(1)
arches.append(a)
else:
try_arches = ['i586','i686','x86_64']
try_arches = ['x86_64', 'aarch64']

# rosa2014.1, rosa2016.1 etc. (Rosa Fresh), but not e.g. rosa-server75 (Rosa-RHEL)
if str(build_repositories[0]).find("rosa2019.0") >= 0 or str(build_repositories[0]).find("rosa2016.1") >= 0:
try_arches = ['i586', 'x86_64']
try_arches = ['x86_64','i586']

if str(build_repositories[0]).find("rosa2019.05") >= 0:
try_arches = ['i686', 'x86_64']
try_arches = ['x86_64', 'i686']

if str(build_repositories[0]).find("rosa2021.1") >= 0 or str(build_repositories[0]).find("rosa13") >= 0:
try_arches = ['i686', 'x86_64', 'aarch64', 'riscv64', 'loongarch64']
if str(build_repositories[0]).find("rosa2021.1") >= 0:
try_arches = ['x86_64', 'aarch64', 'i686']

if str(build_repositories[0]).find("rosa2023.1") >= 0 or str(build_repositories[0]).find("rosa13") >= 0:
try_arches = ['x86_64', 'aarch64', 'i686', 'riscv64', 'loongarch64']

if str(build_repositories[0]).find("rosa2021.15") >= 0:
try_arches = ['i686', 'x86_64', 'aarch64']
try_arches = ['x86_64', 'aarch64', 'i686']

if str(build_repositories[0]).find("openmandriva") >= 0 or str(build_repositories[0]).find("4.2") >= 0:
try_arches = ['x86_64', 'znver1', 'aarch64']
Expand Down