[CXX-319] Windows 64-bit (msvc2010) fails due to lack of --dynamic-windows flag Created: 26/Aug/14  Updated: 23/Oct/14  Resolved: 19/Sep/14

Status: Closed
Project: C++ Driver
Component/s: Build
Affects Version/s: None
Fix Version/s: legacy-1.0.0-rc1

Type: Bug Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: Samantha Ritter (Inactive)
Resolution: Done Votes: 0
Labels: legacy-cxx
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

The Windows MSVC2010 build tries to build the dynamic library, but doesn't pass the --dynamic-windows flag. This flag is required when building the dynamic library.

Unfortunately, we actually also want to test against the static windows runtime, not only the dynamic one. So, ideally, we would have three builds across all compilers:

  • static mongo client lib, static windows runtime
  • static mongo client lib, dynamic windows runtime
  • dynamic mongo client lib, dynamic windows runtime.

However, when you multiply that across debug vs release and across compilers, that becomes a lot of windows builds.

We should come up with a plan for a subset that we believe gives us the right coverage. In the short term, just adding --dynamic-windows to this build is probably sufficient as the other builds will test static/static, and the mixed build is maybe more uncommon in practice.



 Comments   
Comment by Githook User [ 19/Sep/14 ]

Author:

{u'username': u'samantharitter', u'name': u'Samantha Ritter', u'email': u'samantha.ritter@10gen.com'}

Message: CXX-319 Test a sane matrix of dynamic/static client and RT
Branch: legacy
https://github.com/mongodb/mongo-cxx-driver/commit/718ad7e2e60bcf3ac534da1bbf0f2941a6853630

Comment by Samantha Ritter (Inactive) [ 19/Sep/14 ]

https://github.com/mongodb/mongo-cxx-driver/pull/161

Generated at Wed Feb 07 21:58:51 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.