Release 2.0.13 and update bazel toolchain (#694)
This change comes with fairly major change to the bazel toolchain. - Use pre-built cache that comes with emsdk - Mark cache as readonly using FROZEN_CACHE - Pass `--sysroot` to match upstream emscripten change
This commit is contained in:
@@ -3,11 +3,10 @@ import platform
|
||||
|
||||
ROOT_DIR = os.environ["ROOT_DIR"]
|
||||
EMSCRIPTEN_ROOT = os.environ["EMSCRIPTEN"]
|
||||
|
||||
LLVM_ROOT = ROOT_DIR + "/external/emscripten/bin"
|
||||
EMSCRIPTEN_NATIVE_OPTIMIZER = LLVM_ROOT + "/optimizer"
|
||||
BINARYEN_ROOT = ROOT_DIR + "/external/emscripten"
|
||||
FROZEN_CACHE = True
|
||||
|
||||
system = platform.system()
|
||||
nodejs_binary = "node.exe" if(system =="Windows") else "bin/node"
|
||||
NODE_JS = ROOT_DIR + "/external/nodejs_{}_amd64/{}".format(system.lower(), nodejs_binary)
|
||||
BINARYEN_ROOT = ROOT_DIR + "/external/emscripten"
|
||||
Reference in New Issue
Block a user