Skip to contentSkip to conversation

cmake,cmake-native: upgrade 4.5.0 -> 4.5.1

PATCH New Khem Raj 1 participant 1 message Nov 24

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 cmake,cmake-native: upgrade 4.5.0 -> 4.5.1

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.

---
 .../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%)
meta/recipes-devtools/cmake/cmake-native_4.5.1.bb renamed from meta/recipes-devtools/cmake/cmake-native_4.5.0.bb +0 -0
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
meta/recipes-devtools/cmake/cmake.inc +1 -1
index 01fe71c119..c7e3172098 100644
@@ -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"
 
meta/recipes-devtools/cmake/cmake_4.5.1.bb renamed from meta/recipes-devtools/cmake/cmake_4.5.0.bb +0 -0
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