[CXX-1204] Improve/tweak flags passed to C driver configure script / cmake during Evergreen C driver install Created: 27/Jan/17  Updated: 14/Apr/18  Resolved: 14/Apr/18

Status: Closed
Project: C++ Driver
Component/s: Build
Affects Version/s: None
Fix Version/s: 3.3.0-rc0

Type: Task Priority: Major - P3
Reporter: J Rassi Assignee: A. Jesse Jiryu Davis
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on CXX-1550 Build C Driver with CMake on Evergreen Closed
Related
related to CXX-748 Add VS2015 debug builder to Evergreen... Closed
Epic Link: CXX Driver Testing (Evergreen)

 Description   
  • We should never build C driver tests or examples, to reduce build time.
  • We should always define MONGOC_NO_AUTOMATIC_GLOBALS (or equivalent).
  • We should pass --enable-debug to the C driver for debug builds.
  • We should make all other flags consistent between our Windows and non-Windows configurations.


 Comments   
Comment by Githook User [ 14/Apr/18 ]

Author:

{'email': 'jesse@mongodb.com', 'name': 'A. Jesse Jiryu Davis', 'username': 'ajdavis'}

Message: CXX-1498 Update libmongoc from 1.9.2 to master

Build libmongoc with CMake. Also solves CXX-1204 and CXX-1550.
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/9e155e5298442a2be22719ff6c3b00546a5784b5

Comment by Githook User [ 28/Jan/17 ]

Author:

{u'username': u'jrassi', u'name': u'J. Rassi', u'email': u'rassi@10gen.com'}

Message: CXX-1204 .evergreen/install.sh: Add TODO to improve flags
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/d66e469bb82f21cfbbb10cffe4c60b4e880bf1a0

Comment by J Rassi [ 27/Jan/17 ]

We should also possibly enable optimizations on release builds and disable them on debug builds.

Generated at Wed Feb 07 22:01:45 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.