Skip to content

Conversation

@seisman
Copy link
Member

@seisman seisman commented Jan 23, 2024

Description of proposed changes

CMake 2.8.12 was released in 2013, which is more than 10 years ago. Most Linux distros no longer provide CMake 2.8, the only exception is CentOS 7, but CentOS 7 itself will be EOL on Jun 30th, 2024. So now it's safe for us to drop support of CMake 2.8.

This PR bumps the minimum required CMake version to 3.16, which was released in 2019 (https://github.com/Kitware/CMake/releases/tag/v3.16.0). This is also the CMake version provided by Ubuntu 20.04.

@seisman seisman added the maintenance Boring but important stuff for the core devs label Jan 23, 2024
@seisman seisman added this to the 6.6.0 milestone Jan 23, 2024
@seisman seisman requested a review from PaulWessel January 23, 2024 08:47
@Esteban82 Esteban82 merged commit e8d68a5 into master Jan 25, 2024
@Esteban82 Esteban82 deleted the bump-cmake branch January 25, 2024 12:35
@Esteban82
Copy link
Member

I think that this can be merge.

@PaulWessel
Copy link
Member

yes

@LecrisUT
Copy link

LecrisUT commented Apr 28, 2025

Small note at future-proofing, please add a higher-bound as well. The higher bound indicates what version of CMake you are testing in the CI and up to which version can the lower bound be bumped up without expecting regressions. It does not indicate a maximum version of CMake that can be used. My recommendation is to have a Github action that builds with 3 versions of CMake (lowest policy, highest policy, current latest-rc).

This will be quite important because CMake will start cutting out support every 3 years.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Boring but important stuff for the core devs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants