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

Generate C Driver version number when installing

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 3.4.0
    • None
    • Testing
    • 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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: