Skip to content

Commit

Permalink
Pin latest to a specific version for arm64-linux (#1065)
Browse files Browse the repository at this point in the history
Fixes: #1040
  • Loading branch information
sbc100 authored Jul 1, 2022
1 parent 8281708 commit b0a51b3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions emscripten-releases-tags.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"aliases": {
"latest": "3.1.15",
"latest-sdk": "latest",
"latest-arm64-linux": "3.1.9",
"latest-64bit": "latest",
"sdk-latest-64bit": "latest",
"latest-upstream": "latest",
Expand Down
3 changes: 3 additions & 0 deletions emsdk.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]))
Expand Down

0 comments on commit b0a51b3

Please sign in to comment.