diff options
author | kripken <alonzakai@gmail.com> | 2011-07-09 10:28:19 -0700 |
---|---|---|
committer | kripken <alonzakai@gmail.com> | 2011-07-09 10:28:19 -0700 |
commit | c79828f6b89cc64cb21ebfa00454b8ce26718cf8 (patch) | |
tree | 2f7250c054c7ff46088b3877b619f5715699b66f /settings.py | |
parent | 4fe5b2b7b6d9695a81880922ee249c620880b5d2 (diff) | |
parent | 11e404d7a8c76dbc1f10e24f4cee527f36d20092 (diff) |
Merge pull request #47 from max99x/master
Emscripten.py rewrite
Diffstat (limited to 'settings.py')
-rw-r--r-- | settings.py | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/settings.py b/settings.py new file mode 100644 index 00000000..e91d07d2 --- /dev/null +++ b/settings.py @@ -0,0 +1,31 @@ +# 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') + +LLVM_GCC=os.path.expanduser('~/Dev/llvm-gcc-2.9/cbuild/install/bin/llvm-g++') + +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/tracemonkey/js/src/js'), '-m', '-j', '-p'] +V8_ENGINE = [os.path.expanduser('~/Dev/v8/d8')] + +# XXX Warning: Compiling the 'cubescript' test in SpiderMonkey can lead to an extreme amount of memory being +# used, see Mozilla bug 593659. Possibly also some other tests as well. +#COMPILER_ENGINE=SPIDERMONKEY_ENGINE +COMPILER_ENGINE=V8_ENGINE + +JS_ENGINE=V8_ENGINE + +TIMEOUT = None + +# Tools + +CLOSURE_COMPILER = os.path.expanduser('~/Dev/closure-compiler/compiler.jar') + |