[CXX-221] Target current platform rather than lowest common denominator Created: 09/May/14  Updated: 07/Sep/14  Resolved: 03/Sep/14

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

Type: Improvement Priority: Major - P3
Reporter: Tyler Brock Assignee: Adam Midvidy
Resolution: Done Votes: 0
Labels: legacy-cxx
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to CXX-315 Installing legacy-1.0.0-rc0 on Mac OS... Closed

 Description   

On MacOSX 10.9 Mavericks running scons without specifying the minimum max os x version fails because we start looking for libstdc++ instead of the now standard libc++ (on this OS).

It would be much better if we targeted your current platform by default but still allowed overriding it if desired.

We should do something similar with Windows.



 Comments   
Comment by Tyler Brock [ 07/Sep/14 ]

All we would have to do is say osx-version-min=10.7 in the MCI config. I'm not suggesting we build new streams pecifically for 10.9, 10.8 and 10.7, we would do the same thing as today and target the lowest platform we support for release. However when someone invokes scons it would just work.

Comment by Andrew Morrow (Inactive) [ 06/Sep/14 ]

We actually don't want to do this in the server, unless we want to multi-stream OS X releases of the community build across all the OS X variants we support.

Comment by Tyler Brock [ 06/Sep/14 ]

This would be a great one to do in the server repo as well, at least the osx-version-min portion. I don't know if they'd ever take it but it though.

Comment by Adam Midvidy [ 02/Sep/14 ]

Leaving this open for now until windows support is added

EDIT: going to close this out without implementing a fix for Windows since it is a relatively minor issue encountered during development of the library, and not big pain point for users.

Comment by Githook User [ 02/Sep/14 ]

Author:

{u'username': u'amidvidy', u'name': u'Adam Midvidy', u'email': u'amidvidy@gmail.com'}

Message: CXX-221 default to current OSX version for --osx-version-min
Branch: legacy
https://github.com/mongodb/mongo-cxx-driver/commit/831ac981549348fcf393a7f5359f93146f0986da

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