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

Generate C Driver version number when installing

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.0
    • Component/s: Testing
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: