[pypy-commit] buildbot default: use build_name here to get the final file name

bivab noreply at buildbot.pypy.org
Mon Sep 10 13:47:53 CEST 2012


Author: David Schneider <david.schneider at picle.org>
Branch: 
Changeset: r694:2732f858dd10
Date: 2012-09-09 12:00 +0200
http://bitbucket.org/pypy/buildbot/changeset/2732f858dd10/

Log:	use build_name here to get the final file name

diff --git a/bot2/pypybuildbot/builds.py b/bot2/pypybuildbot/builds.py
--- a/bot2/pypybuildbot/builds.py
+++ b/bot2/pypybuildbot/builds.py
@@ -467,17 +467,7 @@
 
         self.addStep(Translate(translationArgs, targetArgs,
                                interpreter=interpreter))
-        if '--no-translation-jit' in translationArgs:
-            kind = 'jitnojit'
-        elif '--stackless' in translationArgs:
-            kind = 'stackless'
-        elif '-Ojit' in translationArgs:
-            kind = 'jit'
-        elif '-O2' in translationArgs:
-            kind = 'nojit'
-        else:
-            kind = 'unknown'
-        name = 'pypy-c-' + kind + '-%(final_file_name)s-' + platform
+        name = build_name(platform, pypyjit, translationArgs) + extension
         self.addStep(ShellCmd(
             description="compress pypy-c",
             command=prefix + ["python", "pypy/tool/release/package.py",


More information about the pypy-commit mailing list