I would push pretty strongly for 3.25 for the extra features. It would
enable much more modern, compact CMake code.

On Mon, Dec 9, 2024 at 4:11 PM Sutou Kouhei <k...@clear-code.com> wrote:

> 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,
> --
> kou
>

Reply via email to