Skip to content

Commit b0a51b3

Browse files
authored
Pin latest to a specific version for arm64-linux (#1065)
Fixes: #1040
1 parent 8281708 commit b0a51b3

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

emscripten-releases-tags.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"aliases": {
33
"latest": "3.1.15",
44
"latest-sdk": "latest",
5+
"latest-arm64-linux": "3.1.9",
56
"latest-64bit": "latest",
67
"sdk-latest-64bit": "latest",
78
"latest-upstream": "latest",

emsdk.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2186,6 +2186,9 @@ def find_latest_hash():
21862186

21872187
def resolve_sdk_aliases(name, verbose=False):
21882188
releases_info = load_releases_info()
2189+
if name == 'latest' and LINUX and ARCH == 'aarch64':
2190+
print("warning: 'latest' on arm64-linux may be slightly behind other architectures")
2191+
name = 'latest-arm64-linux'
21892192
while name in releases_info['aliases']:
21902193
if verbose:
21912194
print("Resolving SDK alias '%s' to '%s'" % (name, releases_info['aliases'][name]))

0 commit comments

Comments
 (0)