-
Type:
Task
-
Resolution: Fixed
-
Priority:
Unknown
-
Affects Version/s: None
-
Component/s: None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
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.