Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
executable file
·
21 lines (17 loc) · 666 Bytes

File metadata and controls

executable file
·
21 lines (17 loc) · 666 Bytes
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash
# emsdk_env.sh\emcc doesn't like the bazel sandbox
# specifically, emsdk_env.sh seems to try to `cd` and `cd` back which doesn't work well
if [[ "$OSTYPE" == "linux-gnu" ]]; then
cd -P /proc/self/cwd
fi
export NODE_JS=''
export EMSCRIPTEN_ROOT='external/emscripten_toolchain'
export SPIDERMONKEY_ENGINE=''
export EM_EXCLUSIVE_CACHE_ACCESS=1
export EMCC_SKIP_SANITY_CHECK=1
export EMCC_WASM_BACKEND=1
source external/emscripten_toolchain/emsdk_env.sh
# the emscripten sdk does some path comparison, so make EM_CACHE an absolute path to make it work.
mkdir -p "tmp/emscripten_cache"
export EM_CACHE=${PWD}"/tmp/emscripten_cache"
export TEMP_DIR="tmp"
Morty Proxy This is a proxified and sanitized view of the page, visit original site.