]> granicus.if.org Git - python/commitdiff
Build db-4.4.20 with VS9; remove VS2003 build if necessary.
authorMartin v. Löwis <martin@v.loewis.de>
Fri, 29 Feb 2008 18:17:23 +0000 (18:17 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Fri, 29 Feb 2008 18:17:23 +0000 (18:17 +0000)
Tools/buildbot/external.bat

index 9797aa25f96a14b08a7c9395cd7b85fbb8a6ef64..ae18ead3858edd21809fd1a0bbe0f888f5dee367 100644 (file)
@@ -8,9 +8,14 @@ call "%VS90COMNTOOLS%vsvars32.bat"
 if not exist bzip2-1.0.3 svn export http://svn.python.org/projects/external/bzip2-1.0.3\r
 \r
 @rem Sleepycat db\r
-if not exist db-4.4.20 svn export http://svn.python.org/projects/external/db-4.4.20\r
+@rem Remove VS 2003 builds\r
+if exist db-4.4.20 if not exist db-4.4.20\build_win32\this_is_for_vs9 (\r
+   echo Removing old build\r
+   rd /s/q db-4.4.20\r
+)\r
+if not exist db-4.4.20 svn export http://svn.python.org/projects/external/db-4.4.20-vs9 db-4.4.20\r
 if not exist db-4.4.20\build_win32\debug\libdb44sd.lib (\r
-   vcbuild db-4.4.20\build_win32\Berkeley_DB.sln /build Debug /project db_static\r
+   vcbuild db-4.4.20\build_win32\db_static.vcproj "Debug|Win32"\r
 )\r
 \r
 @rem OpenSSL\r