Prepare for emscripten-releases (#237)

Updated to our current initial plan here:

* Add emscripten-releases-tags.txt which is a JSON file with a map of tag name to git hash in the emscripten-releases repo. Right now this file is just checked in here; in the future we may make the emsdk update it from git tags with update-tags etc.
* That file contains a "latest" tag, which is fetched for when getting latest-releases-[upstream|fastcomp]. We may want that to eventually be updated based on the latest green stuff on the bots perhaps.
* Rename the current sdk-[upstream|fastcomp]-* etc. to sdk-waterfall-[upstream\|fastcomp]-*. Then we'll have sdk-releases-[upstream|fastcomp]-* etc. This is just an internal name change - emsdk install latest-upstream still works as before, and still uses the waterfall (so we don't break our github CI).
* Add support for emsdk install latest-releases-[upstream\|fastcomp]
* Add a test using the actual emscripten-releases builds
This commit is contained in:
Alon Zakai
2019-05-22 17:23:04 -07:00
committed by GitHub
parent 751355a267
commit e2434062a8
4 changed files with 124 additions and 27 deletions

View File

@@ -210,6 +210,32 @@
"activated_path": "%installation_dir%/emscripten",
"activated_cfg": "LLVM_ROOT='%installation_dir%/fastcomp/bin';BINARYEN_ROOT='%installation_dir%'"
},
{
"id": "releases",
"version": "upstream-%releases-tag%",
"bitness": 64,
"linux_url": "https://storage.googleapis.com/webassembly/emscripten-releases-builds/linux/%releases-tag%/wasm-binaries.tbz2",
"osx_url": "https://storage.googleapis.com/webassembly/emscripten-releases-builds/mac/%releases-tag%/wasm-binaries.tbz2",
"windows_url": "https://storage.googleapis.com/webassembly/emscripten-releases-builds/windows/%releases-tag%/wasm-binaries.tbz2",
"zipfile_prefix": "%releases-tag%-",
"install_path": "upstream/%releases-tag%",
"activated_path": "%installation_dir%/emscripten",
"activated_cfg": "LLVM_ROOT='%installation_dir%/bin';BINARYEN_ROOT='%installation_dir%'"
},
{
"id": "releases",
"version": "fastcomp-%releases-tag%",
"bitness": 64,
"linux_url": "https://storage.googleapis.com/webassembly/emscripten-releases-builds/linux/%releases-tag%/wasm-binaries.tbz2",
"osx_url": "https://storage.googleapis.com/webassembly/emscripten-releases-builds/mac/%releases-tag%/wasm-binaries.tbz2",
"windows_url": "https://storage.googleapis.com/webassembly/emscripten-releases-builds/windows/%releases-tag%/wasm-binaries.zip",
"zipfile_prefix": "%releases-tag%-",
"install_path": "fastcomp/%releases-tag%",
"activated_path": "%installation_dir%/emscripten",
"activated_cfg": "LLVM_ROOT='%installation_dir%/fastcomp/bin';BINARYEN_ROOT='%installation_dir%'"
},
{
"id": "clang",
"version": "e1.13.0",
@@ -1585,17 +1611,53 @@
"os": "win"
},
{
"version": "upstream-%waterfall-lkgr%",
"version": "waterfall-upstream-%waterfall-lkgr%",
"bitness": 64,
"uses": ["waterfall-upstream-%waterfall-lkgr%-64bit", "node-8.9.1-64bit"],
"os": "linux"
},
{
"version": "fastcomp-%waterfall-lkgr%",
"version": "waterfall-fastcomp-%waterfall-lkgr%",
"bitness": 64,
"uses": ["waterfall-fastcomp-%waterfall-lkgr%-64bit", "node-8.9.1-64bit"],
"os": "linux"
},
{
"version": "releases-upstream-%releases-tag%",
"bitness": 64,
"uses": ["releases-upstream-%releases-tag%-64bit", "node-8.9.1-64bit"],
"os": "linux"
},
{
"version": "releases-upstream-%releases-tag%",
"bitness": 64,
"uses": ["releases-upstream-%releases-tag%-64bit", "node-8.9.1-64bit"],
"os": "osx"
},
{
"version": "releases-upstream-%releases-tag%",
"bitness": 64,
"uses": ["releases-upstream-%releases-tag%-64bit", "node-8.9.1-64bit"],
"os": "win"
},
{
"version": "releases-fastcomp-%releases-tag%",
"bitness": 64,
"uses": ["releases-fastcomp-%releases-tag%-64bit", "node-8.9.1-64bit"],
"os": "linux"
},
{
"version": "releases-fastcomp-%releases-tag%",
"bitness": 64,
"uses": ["releases-fastcomp-%releases-tag%-64bit", "node-8.9.1-64bit"],
"os": "osx"
},
{
"version": "releases-fastcomp-%releases-tag%",
"bitness": 64,
"uses": ["releases-fastcomp-%releases-tag%-64bit", "node-8.9.1-64bit"],
"os": "win"
},
{
"version": "%precompiled_tag32%",
"bitness": 32,