@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"
@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 ..\..
)
@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