Update default emscripten cache directory (#501)

See: https://github.com/WebAssembly/waterfall/pull/644

For the sake of older versions of emscripten explicitly set
EM_CACHE environment variable to point to the in-tree cache
directory.
This commit is contained in:
Sam Clegg
2020-05-13 19:28:49 -04:00
committed by GitHub
parent 7e22ab8ae0
commit 14c0a9ec21
3 changed files with 31 additions and 23 deletions

View File

@@ -101,7 +101,7 @@
"activated_path": "%installation_dir%/emscripten",
"activated_cfg": "LLVM_ROOT='%installation_dir%/bin';BINARYEN_ROOT='%installation_dir%';EMSCRIPTEN_ROOT='%installation_dir%/emscripten'",
"emscripten_releases_hash": "%releases-tag%",
"pregenerated_cache": ["wasm", "wasm-obj", "wasm-bc"]
"pregenerated_cache": ["asmjs", "wasm", "wasm-obj", "wasm-bc"]
},
{
"id": "releases",
@@ -116,7 +116,7 @@
"activated_path": "%installation_dir%/emscripten",
"activated_cfg": "LLVM_ROOT='%installation_dir%/fastcomp/bin';BINARYEN_ROOT='%installation_dir%';EMSCRIPTEN_ROOT='%installation_dir%/emscripten';EMSCRIPTEN_NATIVE_OPTIMIZER='%installation_dir%/bin/optimizer%.exe%'",
"emscripten_releases_hash": "%releases-tag%",
"pregenerated_cache": ["asmjs"]
"pregenerated_cache": ["asmjs", "wasm", "wasm-obj", "wasm-bc"]
},
{