diff options
author | Trent Nelson <trent.nelson@snakebite.org> | 2008-03-19 09:23:08 (GMT) |
---|---|---|
committer | Trent Nelson <trent.nelson@snakebite.org> | 2008-03-19 09:23:08 (GMT) |
commit | 4f4738f015c5d16cac3440adfe40b4ac52ba2316 (patch) | |
tree | ac0ac6af07ab4c57f224e01e7f6cbdb0e0f9a791 /Tools/buildbot | |
parent | 4fbaacaa129b36f69b88245d27dd0f6b5e832335 (diff) | |
download | cpython-4f4738f015c5d16cac3440adfe40b4ac52ba2316.zip cpython-4f4738f015c5d16cac3440adfe40b4ac52ba2316.tar.gz cpython-4f4738f015c5d16cac3440adfe40b4ac52ba2316.tar.bz2 |
Lets have another try at getting the Windows buildbots in a consistent state before rebuilding using the new process.
Diffstat (limited to 'Tools/buildbot')
-rw-r--r-- | Tools/buildbot/external-amd64.bat | 44 | ||||
-rw-r--r-- | Tools/buildbot/external-common.bat | 31 | ||||
-rw-r--r-- | Tools/buildbot/external.bat | 49 |
3 files changed, 51 insertions, 73 deletions
diff --git a/Tools/buildbot/external-amd64.bat b/Tools/buildbot/external-amd64.bat index 45fb11c..8fd452a 100644 --- a/Tools/buildbot/external-amd64.bat +++ b/Tools/buildbot/external-amd64.bat @@ -1,41 +1,17 @@ @rem Fetches (and builds if necessary) external dependencies @rem Assume we start inside the Python source directory -cd .. -call "%VS90COMNTOOLS%vsvars32.bat" +call "Tools\buildbot\external-common.bat" +call "%VS90COMNTOOLS%\vsvars32.bat" -@rem bzip -if not exist bzip2-1.0.3 svn export http://svn.python.org/projects/external/bzip2-1.0.3 - -@rem Sleepycat db -@rem Remove VS 2003 builds -if exist db-4.4.20 if not exist db-4.4.20\build_win32\this_is_for_vs9 ( - echo Removing old build - rd /s/q db-4.4.20 -) -if not exist db-4.4.20 svn export http://svn.python.org/projects/external/db-4.4.20-vs9 db-4.4.20 - -@rem OpenSSL -if not exist openssl-0.9.8g ( - if exist openssl-0.9.8a rd /s/q openssl-0.9.8a - svn export http://svn.python.org/projects/external/openssl-0.9.8g +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 + cd ..\.. ) -@rem tcltk -if not exist tcl-8.4.18.1 ( - if exist tcltk rd /s/q tcltk - if exist tcl8.4.12 rd /s/q tcl8.4.12 - if exist tk8.4.12 rd /s/q tk8.4.12 - if exist tcl8.4.16 rd /s/q tcl8.4.16 - if exist tk8.4.16 rd /s/q tk8.4.16 - svn export http://svn.python.org/projects/external/tcl-8.4.18.1 - svn export http://svn.python.org/projects/external/tk-8.4.18.1 +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 + cd ..\.. ) -cd tcl-8.4.18.1\win -nmake -f makefile.vc COMPILERFLAGS=-DWINVER=0x0500 DEBUG=1 MACHINE=AMD64 INSTALLDIR=../../tcltk64 clean all install -cd ..\.. -cd tk-8.4.18.1\win -nmake -f makefile.vc COMPILERFLAGS=-DWINVER=0x0500 DEBUG=1 MACHINE=AMD64 INSTALLDIR=../../tcltk64 TCLDIR=../../tcl-8.4.18.1 clean all install - -@rem sqlite -if not exist sqlite-source-3.3.4 svn export http://svn.python.org/projects/external/sqlite-source-3.3.4 diff --git a/Tools/buildbot/external-common.bat b/Tools/buildbot/external-common.bat new file mode 100644 index 0000000..cb4b284 --- /dev/null +++ b/Tools/buildbot/external-common.bat @@ -0,0 +1,31 @@ +@rem Common file shared between external.bat and external-amd64.bat. Responsible for
+@rem fetching external components into the root\.. buildbot directories.
+
+cd ..
+@rem XXX: Force the buildbots to start from a fresh environment. Will be removed.
+if exist bzip2-1.0.3 rd /s/q bzip2-1.0.3
+if exist tcltk rd /s/q tcltk
+if exist tcltk64 rd /s/q tcltk64
+if exist tcl8.4.12 rd /s/q tcl8.4.12
+if exist tcl8.4.16 rd /s/q tcl8.4.16
+if exist tcl-8.4.18.1 rd /s/q tcl-8.4.18.1
+if exist tk8.4.12 rd /s/q tk8.4.12
+if exist tk8.4.16 rd /s/q tk8.4.16
+if exist tk-8.4.18.1 rd /s/q tk-8.4.18.1
+if exist db-4.4.20 rd /s/q db-4.4.20
+if exist openssl-0.9.8g rd /s/q openssl-0.9.8g
+if exist sqlite-source-3.3.4 rd /s/q sqlite-source-3.3.4
+
+@rem bzip
+if not exist bzip2-1.0.3 svn export http://svn.python.org/projects/external/bzip2-1.0.3
+
+@rem Sleepycat db
+if not exist db-4.4.20 svn export http://svn.python.org/projects/external/db-4.4.20-vs9 db-4.4.20
+
+@rem OpenSSL
+if not exist openssl-0.9.8g svn export http://svn.python.org/projects/external/openssl-0.9.8g
+
+@rem tcl/tk
+if not exist tcl-8.4.18.2 svn export http://svn.python.org/projects/external/tcl-8.4.18.2
+if not exist tk-8.4.18.1 svn export http://svn.python.org/projects/external/tk-8.4.18.1
+
diff --git a/Tools/buildbot/external.bat b/Tools/buildbot/external.bat index ae18ead..4113605 100644 --- a/Tools/buildbot/external.bat +++ b/Tools/buildbot/external.bat @@ -1,46 +1,17 @@ @rem Fetches (and builds if necessary) external dependencies
@rem Assume we start inside the Python source directory
-cd ..
-call "%VS90COMNTOOLS%vsvars32.bat"
+call "Tools\buildbot\external-common.bat"
+call "%VS90COMNTOOLS%\vsvars32.bat"
-@rem bzip
-if not exist bzip2-1.0.3 svn export http://svn.python.org/projects/external/bzip2-1.0.3
-
-@rem Sleepycat db
-@rem Remove VS 2003 builds
-if exist db-4.4.20 if not exist db-4.4.20\build_win32\this_is_for_vs9 (
- echo Removing old build
- rd /s/q db-4.4.20
-)
-if not exist db-4.4.20 svn export http://svn.python.org/projects/external/db-4.4.20-vs9 db-4.4.20
-if not exist db-4.4.20\build_win32\debug\libdb44sd.lib (
- vcbuild db-4.4.20\build_win32\db_static.vcproj "Debug|Win32"
+if not exist tcltk\bin\tcl84g.dll (
+ cd tcl-8.4.18.2\win
+ nmake -f makefile.vc COMPILERFLAGS=-DWINVER=0x0500 DEBUG=1 INSTALLDIR=..\..\tcltk clean all install
+ cd ..\..
)
-@rem OpenSSL
-if not exist openssl-0.9.8g (
- if exist openssl-0.9.8a rd /s/q openssl-0.9.8a
- svn export http://svn.python.org/projects/external/openssl-0.9.8g
+if not exist tcltk\bin\tk84g.dll (
+ cd tk-8.4.18.1\win
+ nmake -f makefile.vc COMPILERFLAGS=-DWINVER=0x0500 DEBUG=1 INSTALLDIR=..\..\tcltk TCLDIR=..\..\tcl-8.4.18.2 clean all install
+ cd ..\..
)
-
-@rem tcltk
-if not exist tcl8.4.16 (
- if exist tcltk rd /s/q tcltk
- if exist tcl8.4.12 rd /s/q tcl8.4.12
- if exist tk8.4.12 rd /s/q tk8.4.12
- svn export http://svn.python.org/projects/external/tcl8.4.16
- svn export http://svn.python.org/projects/external/tk8.4.16
- cd tcl8.4.16\win
- nmake -f makefile.vc COMPILERFLAGS=-DWINVER=0x0500
- nmake -f makefile.vc COMPILERFLAGS=-DWINVER=0x0500 INSTALLDIR=..\..\tcltk install
- cd ..\..
- cd tk8.4.16\win
- nmake -f makefile.vc COMPILERFLAGS=-DWINVER=0x0500 TCLDIR=..\..\tcl8.4.16
- nmake -f makefile.vc COMPILERFLAGS=-DWINVER=0x0500 TCLDIR=..\..\tcl8.4.16 INSTALLDIR=..\..\tcltk install
- cd ..\..
-)
-
-@rem sqlite
-if not exist sqlite-source-3.3.4 svn export http://svn.python.org/projects/external/sqlite-source-3.3.4
-if not exist build\PCbuild\sqlite3.dll copy sqlite-source-3.3.4\sqlite3.dll build\PCbuild
|