]> granicus.if.org Git - python/commitdiff
Fix the x64 Windows build environment used by the buildbots. %VS90COMNTOOLS%\vsvars3...
authorTrent Nelson <trent.nelson@snakebite.org>
Wed, 19 Mar 2008 21:11:55 +0000 (21:11 +0000)
committerTrent Nelson <trent.nelson@snakebite.org>
Wed, 19 Mar 2008 21:11:55 +0000 (21:11 +0000)
Additionally, force a clean in our build.bat files before building, just whilst we're going through these build system updates.

And finally, add in the missing MACHINE=AMD64 option to our Tcl/Tk x64 build.

Tools/buildbot/build-amd64.bat
Tools/buildbot/build.bat
Tools/buildbot/clean-amd64.bat
Tools/buildbot/external-amd64.bat
Tools/buildbot/external-common.bat

index b74086e174707e5deb88616199a7ca18843a02ca..0425d19a301479f18a7bd511507c7fafc0da173f 100644 (file)
@@ -1,5 +1,6 @@
 @rem Used by the buildbot "compile" step.
 cmd /c Tools\buildbot\external-amd64.bat
-call "%VS90COMNTOOLS%vsvars32.bat"
+call "%VS90COMNTOOLS%\..\..\VC\vcvarsall.bat" x86_amd64
 REM cmd /q/c Tools\buildbot\kill_python.bat
+cmd /c Tools\buildbot\clean-amd64.bat
 vcbuild PCbuild\pcbuild.sln "Debug|x64"
index 69edef20a913f83a2ccaf48067eaf3c5eccc437b..508798125a0b73244bbe76c9951259f6c5406e23 100644 (file)
@@ -2,5 +2,6 @@
 cmd /c Tools\buildbot\external.bat
 call "%VS90COMNTOOLS%vsvars32.bat"
 cmd /q/c Tools\buildbot\kill_python.bat
+cmd /c Tools\buildbot\clean.bat
 vcbuild /useenv PCbuild\pcbuild.sln "Debug|Win32"
 
index 0fc3617554df06573e13c500d03a93e126a6dfa1..9fb35e94532741f36e0a1bdbaa107beed544308e 100644 (file)
@@ -1,5 +1,5 @@
 @rem Used by the buildbot "clean" step.
-call "%VS90COMNTOOLS%vsvars32.bat"
+call "%VS90COMNTOOLS%\..\..\VC\vcvarsall.bat" x86_amd64
 cd PCbuild
 @echo Deleting .pyc/.pyo files ...
 del /s Lib\*.pyc Lib\*.pyo
index 8fd452a011aa8e40653187c769b42572fbe4ea2a..fdd695af63c8da1d0ec6a007201f709e515cb1cc 100644 (file)
@@ -2,16 +2,16 @@
 
 @rem Assume we start inside the Python source directory
 call "Tools\buildbot\external-common.bat"
-call "%VS90COMNTOOLS%\vsvars32.bat"
+call "%VS90COMNTOOLS%\..\..\VC\vcvarsall.bat" x86_amd64
 
 if not exist tcltk64\bin\tcl84g.dll (
     cd tcl-8.4.18.2\win
-    nmake -f makefile.vc COMPILERFLAGS=-DWINVER=0x0500 DEBUG=1 INSTALLDIR=..\..\tcltk64 clean all install
+    nmake -f makefile.vc COMPILERFLAGS=-DWINVER=0x0500 DEBUG=1 MACHINE=AMD64 INSTALLDIR=..\..\tcltk64 clean all install
     cd ..\..
 )
 
 if not exist tcltk64\bin\tk84g.dll (
     cd tk-8.4.18.1\win    
-    nmake -f makefile.vc COMPILERFLAGS=-DWINVER=0x0500 DEBUG=1 INSTALLDIR=..\..\tcltk64 TCLDIR=..\..\tcl-8.4.18.2 clean all install
+    nmake -f makefile.vc COMPILERFLAGS=-DWINVER=0x0500 DEBUG=1 MACHINE=AMD64 INSTALLDIR=..\..\tcltk64 TCLDIR=..\..\tcl-8.4.18.2 clean all install
     cd ..\..
 )
index b94844001f290642fe5f891d26156b2cf37f0388..ecf9901ccc70454fd6a6c5570837d1722b36f896 100644 (file)
@@ -2,19 +2,20 @@
 @rem fetching external components into the root\.. buildbot directories.\r
 \r
 cd ..\r
-@rem XXX: Force the buildbots to start from a fresh environment.  Will be removed.\r
-if exist bzip2-1.0.3 rd /s/q bzip2-1.0.3\r
-if exist tcltk rd /s/q tcltk\r
-if exist tcltk64 rd /s/q tcltk64\r
-if exist tcl8.4.12 rd /s/q tcl8.4.12\r
-if exist tcl8.4.16 rd /s/q tcl8.4.16\r
-if exist tcl-8.4.18.1 rd /s/q tcl-8.4.18.1\r
-if exist tk8.4.12 rd /s/q tk8.4.12\r
-if exist tk8.4.16 rd /s/q tk8.4.16\r
-if exist tk-8.4.18.1 rd /s/q tk-8.4.18.1\r
-if exist db-4.4.20 rd /s/q db-4.4.20\r
-if exist openssl-0.9.8g rd /s/q openssl-0.9.8g\r
-if exist sqlite-source-3.3.4 rd /s/q sqlite-source-3.3.4    \r
+@rem XXX: If you need to force the buildbots to start from a fresh environment, uncomment\r
+@rem the following, check it in, then check it out, comment it out, then check it back in.\r
+@rem if exist bzip2-1.0.3 rd /s/q bzip2-1.0.3\r
+@rem if exist tcltk rd /s/q tcltk\r
+@rem if exist tcltk64 rd /s/q tcltk64\r
+@rem if exist tcl8.4.12 rd /s/q tcl8.4.12\r
+@rem if exist tcl8.4.16 rd /s/q tcl8.4.16\r
+@rem if exist tcl-8.4.18.1 rd /s/q tcl-8.4.18.1\r
+@rem if exist tk8.4.12 rd /s/q tk8.4.12\r
+@rem if exist tk8.4.16 rd /s/q tk8.4.16\r
+@rem if exist tk-8.4.18.1 rd /s/q tk-8.4.18.1\r
+@rem if exist db-4.4.20 rd /s/q db-4.4.20\r
+@rem if exist openssl-0.9.8g rd /s/q openssl-0.9.8g\r
+@rem if exist sqlite-source-3.3.4 rd /s/q sqlite-source-3.3.4    \r
 \r
 @rem bzip\r
 if not exist bzip2-1.0.3 svn export http://svn.python.org/projects/external/bzip2-1.0.3\r