[Python-Dev] Windows buildbot (Was: buildbot failure in x86 W2k trunk)
theller at ctypes.org
Fri Jun 8 15:45:47 CEST 2007
Martin v. Löwis schrieb:
>> Should I try to setup another buildbot client for win32/AMD64?
> We don't have a Win64 buildbot yet. Depending on whether you plan
> to use PCbuild or PCbuild8, this might be a challenge to get working
> (I think it's a challenge either way, but different).
> If it could actually work, it might be useful.
For release25-maint, probably PCBuild should be used since that is used to create the installer.
For trunk/Python 2.6 I don't know what you will use for the release version.
Where do you think is the challange to get it working? For the buildbot client itself
I would use the same stuff as in the WinXP buildbot (32-bit python2.4, twisted, buildbot,
For the build scripts in Tools\buildbot I made some small changes to the batch files (appended).
They look for a PROCESSOR_ARCHITECTURE env var, and if this is equal to AMD64 the build target
and one or two small other things are changed from the default. So these scripts currently build
the PCBuild process.
I can run Tools\buildbot\build.bat, then Tools\buildbot\test.bat, and Tools\buildbot\clean.bat
successfully. Of course this does not mean that *everything* is built correctly - currently
_sqlite3, bz2, _tkinter, and _ssl are not build because of several reasons.
If you want me to go online with the buildbot please send me a HOST:PORT and PASSWORD.
--- Tools/buildbot/build.bat (revision 55792)
+++ Tools/buildbot/build.bat (working copy)
@@ -2,4 +2,6 @@
cmd /c Tools\buildbot\external.bat
cmd /q/c Tools\buildbot\kill_python.bat
-devenv.com /useenv /build Debug PCbuild\pcbuild.sln
+if "%PROCESSOR_ARCHITECTURE%" == "AMD64" set _TARGET=ReleaseAMD64
+devenv.com /useenv /build %_TARGET% PCbuild\pcbuild.sln
--- Tools/buildbot/test.bat (revision 55792)
+++ Tools/buildbot/test.bat (working copy)
@@ -1,3 +1,5 @@
@rem Used by the buildbot "test" step.
-call rt.bat -d -q -uall -rw
+if "%PROCESSOR_ARCHITECTURE%"=="AMD64" set _DEBUG=
+call rt.bat %_DEBUG% -q -uall -rw
--- Tools/buildbot/clean.bat (revision 55792)
+++ Tools/buildbot/clean.bat (working copy)
@@ -2,5 +2,9 @@
@echo Deleting .pyc/.pyo files ...
-devenv.com /clean Debug pcbuild.sln
+if "%PROCESSOR_ARCHITECTURE%"=="AMD64" set _PYTHON=python.exe
+if "%PROCESSOR_ARCHITECTURE%" == "AMD64" set TARGET=ReleaseAMD64
+devenv.com /clean %TARGET% pcbuild.sln
More information about the Python-Dev