[pypy-svn] r75298 - pypy/build/bot2/pypybuildbot
fijal at codespeak.net
fijal at codespeak.net
Sat Jun 12 07:35:01 CEST 2010
Author: fijal
Date: Sat Jun 12 07:34:59 2010
New Revision: 75298
Modified:
pypy/build/bot2/pypybuildbot/builds.py
Log:
An attempt to fix stuff on windows, let's see if it'll work
Modified: pypy/build/bot2/pypybuildbot/builds.py
==============================================================================
--- pypy/build/bot2/pypybuildbot/builds.py (original)
+++ pypy/build/bot2/pypybuildbot/builds.py Sat Jun 12 07:34:59 2010
@@ -134,9 +134,17 @@
"--resultlog=pypyjit.log",
"pypy/module/pypyjit/test"],
logfiles={'pytestLog': 'pypyjit.log'}))
- self.addStep(ShellCmd(
- description="compress pypy-c",
- command=["bzip2", "-kf", "pypy/translator/goal/pypy-c"]))
+ if platform != 'win32':
+ self.addStep(ShellCmd(
+ description="compress pypy-c",
+ command=["bzip2", "-kf", "pypy/translator/goal/pypy-c"]))
+ else:
+ self.addStep(ShellCmd(
+ description="compress pypy-c",
+ command=["python", "-c", "from bz2 import BZ2File; "
+ "BZ2File('pypy/translator/goal/pypy-c.bz2', 'w')"
+ ".write(open('pypy/translator/goal/pypy-c.exe'"
+ ", 'rb').read())"]))
if pypyjit:
kind = 'jit'
else:
More information about the Pypy-commit
mailing list