emscripten/tests/settings.py

53 строки
1.7 KiB
Python
Исходник Обычный вид История

2010-11-06 06:48:19 +03:00
# XXX: Aside from these settings, you should create ~/.emscripten, and fill it with
# something like this:
#
# JS_ENGINE=[os.path.expanduser('~/Dev/tracemonkey/js/src/js'), '-m']
# JS_ENGINE_PARAMS=[]
#
2010-08-26 08:01:10 +04:00
TEMP_DIR='/dev/shm'
LLVM_ROOT=os.path.expanduser('~/Dev/llvm-2.8/cbuild/Release/bin') # Might not need 'Release'
2010-10-09 21:39:57 +04:00
#LLVM_ROOT=os.path.expanduser('~/Dev/llvm-2.7/cbuild/bin') # Might not need 'Release'
CLANG=os.path.expanduser(os.path.join(LLVM_ROOT, 'clang++'))
LLVM_GCC=os.path.expanduser('~/Dev/llvm-gcc-4.2-2.8.source/cbuild/install/bin/llvm-g++')
COMPILERS = {
2010-10-09 06:31:51 +04:00
'clang': {
'path': CLANG,
'quantum_size': 4, # See settings.js
},
'llvm_gcc': {
'path': LLVM_GCC,
'quantum_size': 4,
}
}
COMPILER_OPTS = ['-m32'] # Need to build as 32bit arch, for now -
# various errors on 64bit compilation
LLVM_DIS=os.path.expanduser(os.path.join(LLVM_ROOT, 'llvm-dis'))
2010-10-09 21:39:57 +04:00
LLVM_DIS_OPTS = []
if '2.8' in LLVM_ROOT:
LLVM_DIS_OPTS += ['-show-annotations']
2010-10-14 10:02:20 +04:00
SPIDERMONKEY_ENGINE = [os.path.expanduser('~/Dev/tracemonkey/js/src/js'), '-m'] # No |-j| due to Mozilla bug XXX
V8_ENGINE = [os.path.expanduser('~/Dev/v8/d8')]
2010-10-03 07:39:24 +04:00
# XXX Warning: Compiling the 'sauer' test in SpiderMonkey can lead to an extreme amount of memory being
2010-10-04 02:05:26 +04:00
# used, see Mozilla bug 593659. Possibly also some other tests as well.
#COMPILER_ENGINE=SPIDERMONKEY_ENGINE
COMPILER_ENGINE=V8_ENGINE
2010-08-26 08:01:10 +04:00
OUTPUT_TO_SCREEN = 0 # useful for debugging specific tests, or for subjectively seeing what parts are slow
2010-10-26 06:55:09 +04:00
TIMEOUT = None
2010-10-25 06:12:49 +04:00
2010-11-06 06:48:19 +03:00
# Tools
CLOSURE_COMPILER = os.path.expanduser('~/Dev/closure-compiler/compiler.jar')
2010-11-06 06:48:19 +03:00
DEMANGLER = path_from_root(['third_party', 'demangler.py'])
NAMESPACER = path_from_root(['tools', 'namespacer.py'])