Bug 2166090 - Please update cmake3 to at least 3.20
Summary: Please update cmake3 to at least 3.20
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: cmake3
Version: epel7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Björn Esser (besser82)
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-01-31 19:01 UTC by Josh Stone
Modified: 2024-07-09 04:17 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-07-09 04:17:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Josh Stone 2023-01-31 19:01:07 UTC
Description of problem:
Currently, EPEL7 has CMake 3.17.5. This won't be sufficient for building new versions of LLVM, which is warning since https://reviews.llvm.org/D137724

if ("${CMAKE_VERSION}" VERSION_LESS "3.20.0")
  message(WARNING
    "Your CMake version is ${CMAKE_VERSION}. Starting with LLVM 17.0.0, the "
    "minimum version of CMake required to build LLVM will become 3.20.0, and "
    "using an older CMake will become an error. Please upgrade your CMake to "
    "at least 3.20.0 now to avoid issues in the future!")
endif()

Version-Release number of selected component (if applicable):
cmake3-3.17.5-1.el7

Additional info:
Rust upstream CI uses a centos:7 container as the minimum supported linux-gnu environment for i686 and x86_64 builds, and that includes building new versions of LLVM. That currently uses cmake3 from EPEL, but we'll have to build our own cmake if the version isn't updated to meet LLVM's requirement.

FWIW, RHEL8 and RHEL9 both have cmake-3.20.2, even in the UBI repos. Fedora 36 and later all have cmake-3.25.2, recently updated on all branches.

Comment 1 David Adam 2024-04-03 11:47:23 UTC
Also wondering if it is possible to get newer CMake in EPEL 7 - thanks!

Comment 2 Troy Dawson 2024-07-09 04:17:26 UTC
EPEL 7 entered end-of-life (EOL) status on 2024-06-30.\n\nEPEL 7 is no longer maintained, which means that it\nwill not receive any further security or bug fix updates.\n As a result we are closing this bug.


Note You need to log in before you can comment on or make changes to this bug.