2010-08-26 08:01:10 +04:00
|
|
|
TEMP_DIR='/dev/shm'
|
2010-09-20 20:02:11 +04:00
|
|
|
|
2010-10-08 09:50:33 +04:00
|
|
|
LLVM_ROOT=os.path.expanduser('~/Dev/llvm-2.8/cbuild/Release/bin') # Might not need 'Release'
|
2011-02-28 03:55:53 +03:00
|
|
|
#LLVM_ROOT=os.path.expanduser('~/Dev/llvm-2.7/cbuild/bin')
|
2010-10-08 09:50:33 +04:00
|
|
|
|
|
|
|
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++')
|
2010-09-26 07:26:16 +04:00
|
|
|
|
|
|
|
COMPILERS = {
|
2010-10-09 06:31:51 +04:00
|
|
|
'clang': {
|
|
|
|
'path': CLANG,
|
|
|
|
'quantum_size': 4, # See settings.js
|
|
|
|
},
|
2010-09-26 07:26:16 +04:00
|
|
|
'llvm_gcc': {
|
|
|
|
'path': LLVM_GCC,
|
2010-10-14 09:24:06 +04:00
|
|
|
'quantum_size': 4,
|
2010-09-26 07:26:16 +04:00
|
|
|
}
|
|
|
|
}
|
2010-09-20 20:02:11 +04:00
|
|
|
|
|
|
|
COMPILER_OPTS = ['-m32'] # Need to build as 32bit arch, for now -
|
|
|
|
# various errors on 64bit compilation
|
2011-02-28 03:55:53 +03:00
|
|
|
# WARNING: '-g' here will generate llvm bitcode that lli will crash on!
|
2010-09-20 20:02:11 +04:00
|
|
|
|
2010-12-19 02:55:21 +03:00
|
|
|
LLVM_OPT=os.path.expanduser(os.path.join(LLVM_ROOT, 'opt'))
|
|
|
|
|
2011-01-08 07:44:14 +03:00
|
|
|
LLVM_AS=os.path.expanduser(os.path.join(LLVM_ROOT, 'llvm-as'))
|
2010-10-08 09:50:33 +04:00
|
|
|
LLVM_DIS=os.path.expanduser(os.path.join(LLVM_ROOT, 'llvm-dis'))
|
2011-01-21 06:49:45 +03:00
|
|
|
LLVM_DIS_OPTS = ['-show-annotations'] # For LLVM 2.8+. For 2.7, you may need to do just []
|
2010-09-20 20:02:11 +04:00
|
|
|
|
2010-12-19 02:55:21 +03:00
|
|
|
SPIDERMONKEY_ENGINE = [os.path.expanduser('~/Dev/tracemonkey/js/src/js'), '-m', '-j', '-p']
|
2010-10-11 09:52:54 +04:00
|
|
|
V8_ENGINE = [os.path.expanduser('~/Dev/v8/d8')]
|
2010-09-10 08:22:12 +04:00
|
|
|
|
2010-11-14 01:45:22 +03:00
|
|
|
# XXX Warning: Compiling the 'cubescript' 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.
|
2010-10-11 09:52:54 +04:00
|
|
|
#COMPILER_ENGINE=SPIDERMONKEY_ENGINE
|
|
|
|
COMPILER_ENGINE=V8_ENGINE
|
2010-08-26 08:01:10 +04:00
|
|
|
|
2011-01-15 09:44:52 +03:00
|
|
|
JS_ENGINE=V8_ENGINE
|
|
|
|
JS_ENGINE_PARAMS = ['--'] # For V8
|
|
|
|
JS_ENGINE_PARAMS = [] # For SpiderMonkey
|
|
|
|
|
2010-10-03 10:29:02 +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
|
|
|
|
|
2010-10-13 07:38:12 +04:00
|
|
|
CLOSURE_COMPILER = os.path.expanduser('~/Dev/closure-compiler/compiler.jar')
|
|
|
|
|