Should we fix a minimal CMake version and/or upgrade the one in the pipeline?
Hi,
our requirements for HyTeG currently only list CMake, but do not specify a minimal version for it. The pipeline, as far as I can see, uses version 3.14.4, which is rather old compared to the fact that the latest release (at the time of writing) is 3.26.4.
I see the charm of having a relatively old version as this potentially allows a larger audience to install HyTeG. However, I just ran into the problem of having tried to use CMAKE_CXX_BYTE_ORDER
, which was only introduced in 3.20. So I wanted to get some opinions on a potential upgrade to that version. Below is a list of what is currently available on selected OSes and machines.
OS/System | cmake version |
---|---|
Ubuntu 22.04 | 3.22.1 |
Debian 11 | 3.25.1 |
Hawk@HLRS | 3.20.2 |
SuperMUC-NG@LRZ (default module) | 3.21.4 |
Spack (preferred version) | 3.26.3 |
My problem can also be fixed differently, so it's not a big issue. However, it would be nice to agree on a minimal version that we want to support and document that in the requirements.
Cheers
Marcus