[pypy-commit] buildbot default: tweak pypy runtime name when copying

mattip pypy.commits at gmail.com
Mon Dec 11 00:36:10 EST 2017


Author: Matti Picus <matti.picus at gmail.com>
Branch: 
Changeset: r1048:72eb613d4c3a
Date: 2017-12-11 07:35 +0200
http://bitbucket.org/pypy/buildbot/changeset/72eb613d4c3a/

Log:	tweak pypy runtime name when copying

diff --git a/bot2/pypybuildbot/builds.py b/bot2/pypybuildbot/builds.py
--- a/bot2/pypybuildbot/builds.py
+++ b/bot2/pypybuildbot/builds.py
@@ -726,24 +726,24 @@
             haltOnFailure=True,
             workdir='.'))
         # copy pypy-c to the expected location within the pypy source checkout
-        command = ('PYPY_C="pypy-c/bin/pypy";'
-                   'if [ -e pypy-c/bin/pypy3 ]; then PYPY_C="pypy-c/bin/pypy3"; fi;'
-                   'cp -v $PYPY_C build/pypy/goal;')
+        command = ('PYPY_C="pypy";'
+                   'if [ -e pypy-c/bin/pypy3 ]; then PYPY_C="pypy3"; fi;'
+                   'cp -v pypy-c/bin/$PYPY_C build/pypy/goal/$PYPY_C-c;')
         self.addStep(ShellCmd(
-            description="move pypy-c",
+            description="copy pypy-c",
             command=command,
             haltOnFailure=True,
             workdir='.'))
         # copy libpypy-c.so to the expected location within the pypy source checkout, if available
         command = 'if [ -e pypy-c/bin/libpypy-c.so ]; then cp -v pypy-c/bin/libpypy-c.so build/pypy/goal; fi;'
         self.addStep(ShellCmd(
-            description="move libpypy-c.so",
+            description="copy libpypy-c.so",
             command=command,
             haltOnFailure=True,
             workdir='.'))
         # copy generated and copied header files to build/include
         self.addStep(ShellCmd(
-            description="move header files",
+            description="copy header files",
             command=['cp', '-vr', 'pypy-c/include', 'build'],
             haltOnFailure=True,
             workdir='.'))


More information about the pypy-commit mailing list