You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Update minimum required version of CMake; use CMake tooling to download dependencies #14196
Currently, the majority of our dependencies are installed and managed by hand via scripts in the dependencies folder. This does imply some maintenance burden, since we need to manually update and adapt these build scripts as new versions of these dependencies are released and used.
Nowadays, CMake provides a lot of tooling for installing and using external dependencies, via the ExternalProject and FetchContent modules. We made the switch to this for yaml-cpp on some platforms, and this allowed us to eliminate our (bespoke) installer scripts on all platforms. It'd be nice to do this for other platforms as well.
Activity
gtritchie commentedon Jan 31, 2024
We're in pretty good shape with cmake. Our linux builders have version 3.25.2:
rstudio/package/linux/install-dependencies
Lines 13 to 23 in b0138bd
Windows has the latest & greatest (at least, whichever version was available when the docker image was created):
rstudio/docker/jenkins/Dockerfile.windows
Line 26 in b0138bd
Mac has whatever we've installed by hand, presumably reasonably current.
gtritchie commentedon Jan 31, 2024
We do have an assortment of minimums set in the CMakefiles themselves:
cmake_minimum_required(VERSION 3.6.3)
cmake_minimum_required(VERSION 3.19)
cmake_minimum_required(VERSION 3.1...3.18)
Fredo-XVII commentedon Jul 22, 2024
Hello!
I was about to create an issue, but I think maybe it can be added to this ticket.
(EDIT): Actually, should have its own issue so I moved it to #14994.
kevinushey commentedon Jul 23, 2024
Fixed in #14994; thanks for reporting @Fredo-XVII!