Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-1658

Generate C Driver version number when installing

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.4.0
    • Affects Version/s: None
    • Component/s: Testing
    • None

      In Evergreen we clone libmongoc master from git and install it before building the C++ driver. Starting with CDRIVER-2831 we need to call two libmongoc scripts before building libmongoc with cmake:

      python build/calc_release_version.py > VERSION_CURRENT
      python build/calc_release_version.py -p > VERSION_RELEASED
      
      

       

      Otherwise, cmake sets libmongoc's version number to 0.0.0, which doesn't meet the C++ Driver's minimum required libmongoc version.

            Assignee:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: