Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
emscripten-core
GitHub Repository: emscripten-core/emscripten
Path: blob/main/tools/config_template.py
4128 views
1
# This file will be edited (the {{{ }}} things), and written to `.emscripten`
2
# when emscripten is first used and no config file is found.
3
4
# Note: If you put paths relative to the home directory, do not forget
5
# os.path.expanduser
6
#
7
# Any config setting <KEY> in this file can be overridden by setting the
8
# EM_<KEY> environment variable. For example, settings EM_LLVM_ROOT override
9
# the setting in this file.
10
#
11
# Note: On Windows, remember to escape backslashes! I.e. LLVM='c:\llvm\'
12
# is not valid, but LLVM='c:\\llvm\\' and LLVM='c:/llvm/'
13
# are.
14
15
LLVM_ROOT = '{{{ LLVM_ROOT }}}' # directory
16
BINARYEN_ROOT = '{{{ BINARYEN_ROOT }}}' # directory
17
18
# Location of the node binary to use for running the JS parts of the compiler.
19
# This engine must exist, or nothing can be compiled.
20
NODE_JS = '{{{ NODE }}}' # executable
21
22
################################################################################
23
#
24
# Test suite options:
25
#
26
# Alternative JS engines to use during testing:
27
#
28
# NODE_JS_TEST = 'node' # executable
29
# SPIDERMONKEY_ENGINE = ['js'] # executable
30
# V8_ENGINE = 'd8' # executable
31
#
32
# All JS engines to use when running the automatic tests. Not all the engines in
33
# this list must exist (if they don't, they will be skipped in the test runner).
34
#
35
# JS_ENGINES = [NODE_JS_TEST] # add V8_ENGINE or SPIDERMONKEY_ENGINE if you have them installed too.
36
#
37
# import os
38
# WASMER = os.path.expanduser(os.path.join('~', '.wasmer', 'bin', 'wasmer'))
39
# WASMTIME = os.path.expanduser(os.path.join('~', 'wasmtime'))
40
#
41
# Wasm engines to use in STANDALONE_WASM tests.
42
#
43
# WASM_ENGINES = [] # add WASMER or WASMTIME if you have them installed
44
#
45
################################################################################
46
#
47
# Other options
48
#
49
# FROZEN_CACHE = True # never clears the cache, and disallows building to the cache
50
51