[pypy-commit] buildbot default: Fix the naming, in particular, don't give the same name "nojit"

arigo noreply at buildbot.pypy.org
Tue Aug 2 11:08:05 CEST 2011


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r545:942c6f1bf5d2
Date: 2011-08-02 11:08 +0200
http://bitbucket.org/pypy/buildbot/changeset/942c6f1bf5d2/

Log:	Fix the naming, in particular, don't give the same name "nojit" for
	"-Ojit --no-jit" translations.

diff --git a/bot2/pypybuildbot/builds.py b/bot2/pypybuildbot/builds.py
--- a/bot2/pypybuildbot/builds.py
+++ b/bot2/pypybuildbot/builds.py
@@ -275,8 +275,12 @@
         else:
             if '--stackless' in translationArgs:
                 kind = 'stackless'
+            elif '-Ojit' in translationArgs:
+                kind = 'jitnojit'
+            elif '-O2' in translationArgs:
+                kind = 'nojit'
             else:
-                kind = 'nojit'
+                kind = 'unknown'
         name = 'pypy-c-' + kind + '-%(final_file_name)s-' + platform
         self.addStep(ShellCmd(
             description="compress pypy-c",


More information about the pypy-commit mailing list