Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-4462

Reconsider the find-cmake.sh script

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Unknown Unknown
    • 1.24.0
    • None
    • None
    • None

    Description

      The find-cmake.sh script (named find_cmake.sh in the libmongocrypt and mongo-cxx-driver projects) could use some rethinking. The initial thought was raised by ezra.chung@mongodb.com in this PR. Here is what he suggested:

      Can we drop the complication of system cmake detection in favor of an unconditional download-build-install a fixed CMake version (effectively {{find_cmake}} -> {{install_cmake}})? This would also allow us to consistently guarantee and develop against a known minimum CMake version across all environments.
      

      It is likely that whatever change is made first in the C driver will also need to be synced to both libmongocrypt and mongo-cxx-driver and tickets in those projects will likely need to be created to track the work. Note that there are two occurrences of the script in the libmongocrypt project (one the main .evergreen directory, and another under bindings/node/.evergreen/find_cmake.sh), so any changes in that project will need to take that into consideration.

      Attachments

        Activity

          People

            ezra.chung@mongodb.com Ezra Chung
            roberto.sanchez@mongodb.com Roberto Sanchez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: