[pypy-svn] r23458 - pypy/dist/pypy/translator/goal
ericvrp at codespeak.net
ericvrp at codespeak.net
Fri Feb 17 18:47:01 CET 2006
Author: ericvrp
Date: Fri Feb 17 18:46:55 2006
New Revision: 23458
Modified:
pypy/dist/pypy/translator/goal/bench-cronjob.py
Log:
small fix and speedup for the cronjob
Modified: pypy/dist/pypy/translator/goal/bench-cronjob.py
==============================================================================
--- pypy/dist/pypy/translator/goal/bench-cronjob.py (original)
+++ pypy/dist/pypy/translator/goal/bench-cronjob.py Fri Feb 17 18:46:55 2006
@@ -13,7 +13,7 @@
def update_llvm():
os.chdir(homedir + '/projects/llvm')
os.system('cvs -q up 2>&1')
- os.system('make clean 2>&1')
+ #os.system('make clean 2>&1')
os.system('make -j3 tools-only 2>&1')
def compile_llvm_variants(revision):
@@ -74,8 +74,12 @@
def compile(backend):
- backend, features = backend.split('--', 1)
- featureoptions = ''.join([" --" + f for f in features.split('--')])
+ try:
+ backend, features = backend.split('--', 1)
+ featureoptions = ''.join([" --" + f for f in features.split('--')])
+ except:
+ features = ''
+ featureoptions = ''
os.chdir(homedir + '/projects/pypy-dist/pypy/translator/goal')
os.system('/usr/local/bin/python translate_pypy.py --backend=%(backend)s%(featureoptions)s --text --batch targetpypystandalone.py 2>&1' % locals())
More information about the Pypy-commit
mailing list