Bug 2166090

Summary: Please update cmake3 to at least 3.20
Product: [Fedora] Fedora EPEL Reporter: Josh Stone <jistone>
Component: cmake3Assignee: Björn Esser (besser82) <besser82>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel7CC: besser82, trpost, zanchey
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-07-09 04:17:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.