Commit Graph

17 Commits

Author SHA1 Message Date
Trent Nelson 6e7e137cff Merged revisions 64368-64369 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/tnelson-trunk-bsddb-47-upgrade

........
  r64368 | trent.nelson | 2008-06-17 23:13:44 -0500 (Tue, 17 Jun 2008) | 1 line

  Initial commit of work pertaining to switching the Windows build from Berkeley DB 4.4.20 to 4.7.25.  Note that I've deprecated the standalone '_bsddb44.vcproj' in lieu of adding the sources in a separate folder to the _bsddb project.  This was a conscious decision and actually makes everything far more easier to manage.  With this approach, entire test suite passed straight off the bat.  Well, almost -- the timeout in bsddb/test/test_replication.py needed bumping up a little -- 2 seconds was too short.  10 seconds seems to be fine for me, but I'll make sure Jesus verifies.  More documentation to come once I've been able to test out this approach on the buildbots (hence keeping the changes in a separate branch for now).
........
  r64369 | trent.nelson | 2008-06-17 23:19:12 -0500 (Tue, 17 Jun 2008) | 1 line

  Bump Berkeley DB version from 4.4.20 to 4.7.25.
........
2008-06-27 02:30:34 +00:00
Trent Nelson 05a96641b4 Refine the Visual Studio 2008 build solution in order to improve how we deal with external components, as well as fixing outstanding issues with Windows x64 build support. Introduce two new .vcproj files, _bsddb44.vcproj and sqlite3.vcproj, which replace the previous pre-link event scripts for _bsddb and _sqlite3 respectively. The new project files inherit from our property files as if they were any other Python module. This has numerous benefits. First, the components get built with exactly the same compiler flags and settings as the rest of Python. Second, it makes it much easier to debug problems in the external components when they're part of the build system. Third, they'll benefit from profile guided optimisation in the release builds, just like the rest of Python core.
I've also introduced a slightly new pattern for managing externals in subversion.  New components get checked in as <name>-<version>.x, where <version> matches the exact vendor version string.  After the initial import of the external component, the .x is tagged as .0 (i.e. tcl-8.4.18.x -> tcl-8.4.18.0).  Some components may not need any tweaking, whereas there are others that might (tcl/tk fall into this bucket).  In that case, the relevant modifications are made to the .x branch, which will be subsequently tagged as .1 (and then n+1 going forward) when they build successfully and all tests pass.  Buildbots will be converted to rely on these explicit tags only, which makes it easy for us to switch them over to a new version as and when required.  (Simple change to external(-amd64).bat: if we've bumped tcl to 8.4.18.1, change the .bat to rmdir 8.4.18.0 if it exists and check out a new .1 copy.)
2008-03-19 07:45:19 +00:00
Martin v. Löwis 8c4e799ad0 Rely on x64 platform configuration when building _bsddb on AMD64. 2008-03-06 13:49:47 +00:00
Christian Heimes 3af3ecca92 Fixed paths to Windows build directories in build_ext.py
Use vsbuild instead of devenv in build.bat and _bsddb.vcproj
2008-02-03 14:34:18 +00:00
Christian Heimes 3adfe9aaae Renamed PCBuild9 directory to PCBuild 2007-12-31 15:18:55 +00:00
Christian Heimes 915d5d96d8 Moved PCbuild directory to PC/VS7.1 2007-12-31 14:51:18 +00:00
Thomas Heller 285216ca30 Add bufferoverflowU.lib to PCBuild\_bsddb.vcproj.
Build sqlite3.dll and bsddb.
2007-06-12 19:02:59 +00:00
Martin v. Löwis cc0eba9d98 Merge 53501 and 53502 from 25 branch:
Add /GS- for AMD64 and Itanium builds where missing.
2007-01-20 14:05:39 +00:00
Martin v. Löwis 79b0f85867 Use GS- and bufferoverlowU.lib where appropriate, for AMD64. 2006-04-26 17:19:44 +00:00
Martin v. Löwis 07b3508e24 Upgrade to vsextcomp 0.8 (and thus the SDK for W2k3SP1) 2006-04-21 13:48:26 +00:00
Martin v. Löwis b091241d9b Fix build process of bsddb for IA64 and AMD64.
Remove remarks on size_t problems.
2006-03-13 15:37:40 +00:00
Martin v. Löwis f6f7925971 Update to bsddb 4.4.20. 2006-03-13 13:48:05 +00:00
Martin v. Löwis 856bf9a4e9 Add build support for AMD64. 2006-02-14 20:42:55 +00:00
Martin v. Löwis 532bc0375f Patch #1307806: Use project defaults where possible 2006-01-03 07:38:51 +00:00
Martin v. Löwis 9ecf326714 Patch #1006916: Remove ODBC library references. 2004-08-12 14:07:49 +00:00
Martin v. Löwis 13e50fe453 Add Itanium targets. 2004-07-20 14:37:48 +00:00
Martin v. Löwis 79ef96d68d Update build procedure to VC 7.1. 2004-01-02 21:13:59 +00:00