Pin latest to a specific version for arm64-linux (#1065)

Fixes: #1040
This commit is contained in:
Sam Clegg
2022-07-01 15:26:24 -07:00
committed by GitHub
parent 8281708351
commit b0a51b36ee
2 changed files with 4 additions and 0 deletions

View File

@@ -2186,6 +2186,9 @@ def find_latest_hash():
def resolve_sdk_aliases(name, verbose=False):
releases_info = load_releases_info()
if name == 'latest' and LINUX and ARCH == 'aarch64':
print("warning: 'latest' on arm64-linux may be slightly behind other architectures")
name = 'latest-arm64-linux'
while name in releases_info['aliases']:
if verbose:
print("Resolving SDK alias '%s' to '%s'" % (name, releases_info['aliases'][name]))