28 строки
903 B
Python
28 строки
903 B
Python
# This file will be copied to ~/.emscripten if that file doesn't exist.
|
|
# IMPORTANT: Edit it with the right paths!
|
|
|
|
EMSCRIPTEN_ROOT=os.path.expanduser("~/Dev/emscripten") # TODO: Use this
|
|
|
|
TEMP_DIR='/dev/shm'
|
|
|
|
LLVM_ROOT=os.path.expanduser('~/Dev/llvm-2.9/cbuild/bin')
|
|
|
|
COMPILER_OPTS = ['-m32'] # Need to build as 32bit arch, for now -
|
|
# various errors on 64bit compilation
|
|
# WARNING: '-g' here will generate llvm bitcode that lli will crash on!
|
|
|
|
SPIDERMONKEY_ENGINE = [os.path.expanduser('~/Dev/mozilla-central/js/src/js'), '-m', '-n']
|
|
V8_ENGINE = [os.path.expanduser('~/Dev/v8/d8')]
|
|
|
|
#COMPILER_ENGINE=SPIDERMONKEY_ENGINE # XXX Warning: currently appears to be broken on trunk, some file reading issue
|
|
COMPILER_ENGINE=V8_ENGINE
|
|
|
|
JS_ENGINE=V8_ENGINE
|
|
|
|
TIMEOUT = None
|
|
|
|
# Tools
|
|
|
|
CLOSURE_COMPILER = os.path.expanduser('~/Dev/closure-compiler/compiler.jar')
|
|
|