diff mbox series

cmake,cmake-native: upgrade 4.5.0 -> 4.5.1

Message ID 20261124034715.3661490-1-khem.raj@oss.qualcomm.com
State Under Review
Headers show
Series cmake,cmake-native: upgrade 4.5.0 -> 4.5.1 | expand

Commit Message

Khem Raj Nov. 24, 2026, 3:47 a.m. UTC
4.5.0 broke implicit link information detection when the linker is a
prefixed ld.lld (e.g. x86_64-poky-linux-ld.lld): the linker line regex
in Modules/CMakeParseImplicitLinkInfo.cmake no longer accepts a suffix
after "ld", so CMAKE_<LANG>_IMPLICIT_LINK_DIRECTORIES and _LIBRARIES
come out empty with clang + lld. As a result the sysroot /usr/lib is no
longer filtered out of runtime paths, so binaries get a redundant
RPATH /usr/lib (useless-rpaths QA errors in cmake, libssh, libyang,
...), and FindOpenMP no longer links libomp. 4.5.1 fixes this
("ParseImplicitLinkInfo: Fix linker regex", CMake issue #28299).

Other changes in 4.5.1:
- libarchive: do not run a filter program from the extraction directory
- Makefiles: revert grouping parallel build output via
  GNU Make --output-sync
- FindPkgConfig: restore unsetting normal variables for flag results
- FindDoxygen: fix regression with absolute output path
- FindCUDAToolkit: revert the CUDAToolkit:: namespace targets
- source_group: fix erroneous group for root files
- ctest: fix CDash response JSON parsing

License checksums are unchanged.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 .../cmake/{cmake-native_4.5.0.bb => cmake-native_4.5.1.bb}      | 0
 meta/recipes-devtools/cmake/cmake.inc                           | 2 +-
 meta/recipes-devtools/cmake/{cmake_4.5.0.bb => cmake_4.5.1.bb}  | 0
 3 files changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/cmake/{cmake-native_4.5.0.bb => cmake-native_4.5.1.bb} (100%)
 rename meta/recipes-devtools/cmake/{cmake_4.5.0.bb => cmake_4.5.1.bb} (100%)
diff mbox series

Patch

diff --git a/meta/recipes-devtools/cmake/cmake-native_4.5.0.bb b/meta/recipes-devtools/cmake/cmake-native_4.5.1.bb
similarity index 100%
rename from meta/recipes-devtools/cmake/cmake-native_4.5.0.bb
rename to meta/recipes-devtools/cmake/cmake-native_4.5.1.bb
diff --git a/meta/recipes-devtools/cmake/cmake.inc b/meta/recipes-devtools/cmake/cmake.inc
index 01fe71c119..c7e3172098 100644
--- a/meta/recipes-devtools/cmake/cmake.inc
+++ b/meta/recipes-devtools/cmake/cmake.inc
@@ -19,7 +19,7 @@  CMAKE_MAJOR_VERSION = "${@'.'.join(d.getVar('PV').split('.')[0:2])}"
 SRC_URI = "https://cmake.org/files/v${CMAKE_MAJOR_VERSION}/cmake-${PV}.tar.gz \
            "
 
-SRC_URI[sha256sum] = "424352d6133e8455e020da787008e8dc67abb18820af3532572ab35657e49213"
+SRC_URI[sha256sum] = "a79bf33cbe05686fdf79c2bbbcfe5e8e62ad16d3d540fa737cbedfeed41fb69e"
 
 UPSTREAM_CHECK_REGEX = "cmake-(?P<pver>\d+(\.\d+)+)\.tar"
 
diff --git a/meta/recipes-devtools/cmake/cmake_4.5.0.bb b/meta/recipes-devtools/cmake/cmake_4.5.1.bb
similarity index 100%
rename from meta/recipes-devtools/cmake/cmake_4.5.0.bb
rename to meta/recipes-devtools/cmake/cmake_4.5.1.bb