]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
tools/cmake: update to 4.4.0 24324/head
authorJack Sun <sunjiazheng321521@gmail.com>
Mon, 20 Jul 2026 15:10:24 +0000 (23:10 +0800)
committerRobert Marko <robimarko@gmail.com>
Tue, 4 Aug 2026 19:40:38 +0000 (21:40 +0200)
Release notes:https://cmake.org/cmake/help/latest/release/4.4.html

Refresh patches:
- 100-no-testing.patch
- 130-bootstrap_parallel_make_flag.patch
- 150-zstd-libarchive.patch
- 160-disable_xcode_generator.patch

Signed-off-by: Jack Sun <sunjiazheng321521@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/24324
Signed-off-by: Robert Marko <robimarko@gmail.com>
tools/cmake/Makefile
tools/cmake/patches/100-no-testing.patch
tools/cmake/patches/130-bootstrap_parallel_make_flag.patch
tools/cmake/patches/150-zstd-libarchive.patch
tools/cmake/patches/160-disable_xcode_generator.patch

index 45f7df13d2c7229653a35ef53d6458ace491273c..3f9a28fa78bb20f93ef374ccb69939fa15b30ca6 100644 (file)
@@ -7,7 +7,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=cmake
-PKG_VERSION:=4.3.4
+PKG_VERSION:=4.4.0
 PKG_VERSION_MAJOR:=$(word 1,$(subst ., ,$(PKG_VERSION))).$(word 2,$(subst ., ,$(PKG_VERSION)))
 PKG_RELEASE:=1
 PKG_CPE_ID:=cpe:/a:kitware:cmake
@@ -15,7 +15,7 @@ PKG_CPE_ID:=cpe:/a:kitware:cmake
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://github.com/Kitware/CMake/releases/download/v$(PKG_VERSION)/ \
                https://cmake.org/files/v$(PKG_VERSION_MAJOR)/
-PKG_HASH:=fdeff897b9eb49d764539f2b1edc6eb7e1440df325678a97c1978499e931adda
+PKG_HASH:=65757f442fdd242e27f1728fc26dc0cba4164f7a0791a5c788631c00080369bc
 
 HOST_BUILD_PARALLEL:=1
 HOST_CONFIGURE_PARALLEL:=1
index 18e852cb493dbd2954eb4d60a63f399a51ebdfec..ae3bba6b74f44ce358a65f82fd48d408ad71d10f 100644 (file)
@@ -11,8 +11,8 @@
  # like vs9 or vs10
 --- a/Modules/Dart.cmake
 +++ b/Modules/Dart.cmake
-@@ -47,7 +47,7 @@ if(cmp0145 STREQUAL "")
-   message(AUTHOR_WARNING "${_cmp0145_warning}")
+@@ -46,7 +46,7 @@ if(cmp0145 STREQUAL "")
+   cmake_policy(ISSUE_WARNING CMP0145)
  endif()
  
 -option(BUILD_TESTING "Build the testing tree." ON)
index 2f7559c1ffa7529c0d32305f26995ef6a681d6ae..f69a28c36c34e37ede1e70970c5efe97d332c14b 100644 (file)
@@ -1,6 +1,6 @@
 --- a/bootstrap
 +++ b/bootstrap
-@@ -1522,7 +1522,10 @@ int main(){ printf("1%c", (char)0x0a); r
+@@ -1510,7 +1510,10 @@ int main(){ printf("1%c", (char)0x0a); r
  ' > "test.c"
  cmake_original_make_flags="${cmake_make_flags}"
  if test "x${cmake_parallel_make}" != "x"; then
index 429ef80f54a0e7c27d8ba334b3b900e67123d742..6ea9ed7cec621e637e265d9672a816459818f669 100644 (file)
@@ -1,6 +1,6 @@
 --- a/Utilities/cmlibarchive/CMakeLists.txt
 +++ b/Utilities/cmlibarchive/CMakeLists.txt
-@@ -680,7 +680,7 @@ IF(ENABLE_ZSTD)
+@@ -682,7 +682,7 @@ IF(ENABLE_ZSTD)
      SET(ZSTD_FIND_QUIETLY TRUE)
    ENDIF (ZSTD_INCLUDE_DIR)
  
index c2d387d342c683cf7f2c993a0c7136abc9901dd4..93a8abb40ce7dbe4962efb0b903ef27351821bf6 100644 (file)
@@ -1,6 +1,6 @@
 --- a/Source/CMakeLists.txt
 +++ b/Source/CMakeLists.txt
-@@ -923,7 +923,7 @@ if(CMake_USE_XCOFF_PARSER)
+@@ -962,7 +962,7 @@ if(CMake_USE_XCOFF_PARSER)
  endif()
  
  # Xcode only works on Apple