My vote is on CMake 3.25.

Best regards

Antoine.


Le 09/12/2024 à 22:08, Sutou Kouhei a écrit :
Hi,

Currently, we require CMake 3.16 or later:
https://github.com/apache/arrow/blob/e0f8c5e8e6f8b328a997f7e21bc6fd1a01b3b3fd/cpp/CMakeLists.txt#L18

cmake_minimum_required(VERSION 3.16)

We want to bump required CMake version to use newer
features. We can improve our CMake configurations with them:
https://github.com/apache/arrow/issues/44950

What version should we require?

Here are CMake versions on supported Linux platforms:

* Ubuntu 20.04 (CMake 3.16) will reach EOL on 2025-04:
   https://wiki.ubuntu.com/Releases
* CentOS 7 (CMake 3.17) reached EOL: We're still supporting
   CentOS 7[1] but we don't need to care about CentOS 7 for
   this. We can install newer CMake manually.
   [1] https://github.com/apache/arrow/pull/41395#issuecomment-2116223200
* Debian GNU/Linux bullseye (CMake 3.18) reached EOL on
   2024-08-14: https://wiki.debian.org/DebianReleases
* Debian GNU/Linux bookworm provides CMake 3.25:
   https://packages.debian.org/search?keywords=cmake
* Ubuntu 22.04 provides CMake 3.22:
   https://packages.ubuntu.com/search?keywords=cmake
* AlmaLinux 8 provides CMake 3.26
* AlmaLinux 9 provides CMake 3.26

(Multi-platform packaging systems such ad Homebrew, vcpkg,
conda and so on provide newer CMake. So we don't need to
care about them.)


There are some proposals:

* We require CMake 3.25 or later because there are some
   useful features in CMake 3.25. Ubuntu 22.04 users must
   install newer CMake manually.
* We require CMake 3.22 or later. All supported Linux
   platforms can use system CMake.


If you have any opinion, concern and so on, please share it.


Thanks,

Reply via email to