Remove redundant testing/downloading (#695)

We have mac linux and windows bots that run this script
on each of those platforms.  This script already runs
`install latest` so there is no need to re-download these
three different archives on each platform.
This commit is contained in:
Sam Clegg
2021-01-29 16:25:24 -08:00
committed by GitHub
parent 02edc9765b
commit 2c086de21e

View File

@@ -227,14 +227,3 @@ os.chdir(temp_dir)
run_emsdk('update')
print('second time')
run_emsdk('update')
print('verify downloads exist for all OSes')
latest_hash = TAGS['releases'][TAGS['latest']]
for osname, suffix in [
('linux', 'tbz2'),
('mac', 'tbz2'),
('win', 'zip')
]:
url = 'https://storage.googleapis.com/webassembly/emscripten-releases-builds/%s/%s/wasm-binaries.%s' % (osname, latest_hash, suffix)
print(' checking url: ' + url),
check_call('curl --fail --head --silent ' + url, stdout=subprocess.PIPE)