1
# This file will be edited (the {{{ }}} things), and then ~/.emscripten created with the result, if ~/.emscripten doesn't exist.
3
# Note: If you put paths relative to the home directory, do not forget os.path.expanduser
7
# this helps projects using emscripten find it
8
EMSCRIPTEN_ROOT = os.path.expanduser(os.getenv('EMSCRIPTEN') or '{{{ EMSCRIPTEN_ROOT }}}') # directory
9
LLVM_ROOT = os.path.expanduser(os.getenv('LLVM') or '{{{ LLVM_ROOT }}}') # directory
10
PYTHON = os.path.expanduser(os.getenv('PYTHON') or '{{{ PYTHON }}}') # executable
12
# See below for notes on which JS engine(s) you need
13
NODE_JS = os.path.expanduser(os.getenv('NODE') or '{{{ NODE }}}') # executable
14
SPIDERMONKEY_ENGINE = [os.path.expanduser(os.getenv('SPIDERMONKEY') or 'js')] # executable
15
V8_ENGINE = os.path.expanduser(os.getenv('V8') or 'd8') # executable
17
JAVA = 'java' # executable
19
TEMP_DIR = '/tmp' # You will need to modify this on Windows
21
#CLOSURE_COMPILER = '..' # define this to not use the bundled version
23
########################################################################################################
26
# Pick the JS engine to use for running the compiler. This engine must exist, or
27
# nothing can be compiled.
29
# Recommendation: If you already have node installed, use that. Otherwise, build v8 or
30
# spidermonkey from source. Any of these three is fine, as long as it's
31
# a recent version (especially for v8 and spidermonkey).
33
COMPILER_ENGINE = NODE_JS
34
#COMPILER_ENGINE = V8_ENGINE
35
#COMPILER_ENGINE = SPIDERMONKEY_ENGINE
38
# All JS engines to use when running the automatic tests. Not all the engines in this list
39
# must exist (if they don't, they will be skipped in the test runner).
41
# Recommendation: If you already have node installed, use that. If you can, also build
42
# spidermonkey from source as well to get more test coverage (node can't
43
# run all the tests due to node issue 1669). v8 is currently not recommended
44
# here because of v8 issue 1822.
46
JS_ENGINES = [NODE_JS] # add this if you have spidermonkey installed too, SPIDERMONKEY_ENGINE]