[pypy-svn] r64040 - pypy/build/bot2/pypybuildbot
fijal at codespeak.net
fijal at codespeak.net
Mon Apr 13 23:55:50 CEST 2009
Author: fijal
Date: Mon Apr 13 23:55:48 2009
New Revision: 64040
Modified:
pypy/build/bot2/pypybuildbot/builds.py
pypy/build/bot2/pypybuildbot/master.py
Log:
add a jit build to buildbot
Modified: pypy/build/bot2/pypybuildbot/builds.py
==============================================================================
--- pypy/build/bot2/pypybuildbot/builds.py (original)
+++ pypy/build/bot2/pypybuildbot/builds.py Mon Apr 13 23:55:48 2009
@@ -62,6 +62,23 @@
self.command = (self.command + translationArgs +
[self.translationTarget] + targetArgs)
+class TranslateJIT(ShellCmd):
+ name = "translate_jit"
+ description = ["translating"]
+ descriptionDone = ["translation"]
+
+ command = ["python", "../../translator/goal/translate.py", "--jit", "--batch"]
+ translationTarget = "targetpypyjit"
+
+ def __init__(self, translationArgs, targetArgs,
+ workdir="build/pypy/jit/tl",
+ *a, **kw):
+ kw['translationArgs'] = translationArgs
+ kw['targetArgs'] = targetArgs
+ kw['timeout'] = 3600
+ ShellCmd.__init__(self, workdir, *a, **kw)
+ self.command = (self.command + translationArgs +
+ [self.translationTarget] + targetArgs)
# ________________________________________________________________
@@ -190,3 +207,13 @@
timeout = 4000,
workdir = WORKDIR,
env={"PYTHONPATH": ['.']}))
+
+class PyPyJITTranslatedTestFactory(factory.BuildFactory):
+ def __init__(self, *a, **kw):
+ platform = kw.pop('platform', 'linux')
+ factory.BuildFactory.__init__(self, *a, **kw)
+
+ setup_steps(platform, self)
+
+ self.addStep(TranslateJIT([], [], workdir=workdir))
+
Modified: pypy/build/bot2/pypybuildbot/master.py
==============================================================================
--- pypy/build/bot2/pypybuildbot/master.py (original)
+++ pypy/build/bot2/pypybuildbot/master.py Mon Apr 13 23:55:48 2009
@@ -34,6 +34,7 @@
pypyTranslatedAppLevelTestFactory = pypybuilds.PyPyTranslatedAppLevelTestFactory()
pypyStacklessTranslatedAppLevelTestFactory = pypybuilds.PyPyStacklessTranslatedAppLevelTestFactory()
+pypyJITTranslatedTestFactory = pypybuilds.PyPyJITTranslatedTestFactory()
LINUX32 = "own-linux-x86-32"
CPYLINUX32 = "pypy-c-lib-python-linux-x86-32"
@@ -43,6 +44,7 @@
APPLVLLINUX32 = "pypy-c-app-level-linux-x86-32"
STACKLESSAPPLVLLINUX32 = "pypy-c-stackless-app-level-linux-x86-32"
CPYFREEBSD64 = 'pypy-c-lib-python-freebsd-7-x86-64'
+JITLINUX32 = "jit-linux-x86-32"
BuildmasterConfig = {
'slavePortnum': slavePortnum,
@@ -108,6 +110,12 @@
'factory' : pypyTranslatedLibPythonTestFactory,
"category": 'other'
},
+ {"name" : JITLINUX32,
+ "slavenames": ["wyvern"],
+ 'builddir' : JITLINUX32,
+ 'factory' : pypyJITTranslatedTestFactory,
+ 'category' : 'other',
+ }
],
'buildbotURL': 'http://codespeak.net:%d/'%(httpPortNumber),
More information about the Pypy-commit
mailing list