Add prebuilt binaries of 3.1.7 for linux/arm64 (#1011)

This commit is contained in:
Sam Clegg 2022-03-22 23:02:05 +00:00 коммит произвёл GitHub
Родитель 70323522d6
Коммит 3e7e0ab8c3
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 6 добавлений и 1 удалений

Просмотреть файл

@ -42,7 +42,7 @@ emsdk_packages_url = 'https://storage.googleapis.com/webassembly/emscripten-rele
emscripten_releases_repo = 'https://chromium.googlesource.com/emscripten-releases'
emscripten_releases_download_url_template = "https://storage.googleapis.com/webassembly/emscripten-releases-builds/%s/%s/wasm-binaries.%s"
emscripten_releases_download_url_template = "https://storage.googleapis.com/webassembly/emscripten-releases-builds/%s/%s/wasm-binaries%s.%s"
# This was previously `master.zip` but we are transitioning to `main` and
# `HEAD.zip` works for both cases. In future we could switch this to
@ -2166,10 +2166,14 @@ def get_emscripten_releases_tot():
# The recent releases are the latest hashes in the git repo. There
# may not be a build for the most recent ones yet; find the last
# that does.
arch = ''
if ARCH == 'aarch64':
arch = '-arm64'
for release in recent_releases:
url = emscripten_releases_download_url_template % (
os_name(),
release,
arch,
'tbz2' if not WINDOWS else 'zip'
)
try:

Просмотреть файл

@ -108,6 +108,7 @@
"bitness": 64,
"arch": "aarch64",
"macos_url": "https://storage.googleapis.com/webassembly/emscripten-releases-builds/mac/%releases-tag%/wasm-binaries-arm64.tbz2",
"linux_url": "https://storage.googleapis.com/webassembly/emscripten-releases-builds/linux/%releases-tag%/wasm-binaries-arm64.tbz2",
"zipfile_prefix": "%releases-tag%-",
"install_path": "upstream",
"activated_path": "%installation_dir%/emscripten",