diff mbox series

[1/2] cmake: upgrade 3.30.2 -> 3.30.5

Message ID 20241029003018.3485308-1-tgamblin@baylibre.com
State Accepted, archived
Commit 9783c7af634e6bd3e29ef350f61b444c0c6087f5
Headers show
Series [1/2] cmake: upgrade 3.30.2 -> 3.30.5 | expand

Commit Message

Trevor Gamblin Oct. 29, 2024, 12:30 a.m. UTC
Changelog (https://cmake.org/cmake/help/latest/release/3.30.html#updates):

3.30.5

-   The project(<PROJECT-NAME>) command now sets
    <PROJECT-NAME>_SOURCE_DIR, <PROJECT-NAME>_BINARY_DIR, and
    <PROJECT-NAME>_IS_TOP_LEVEL as non-cache variables only if they are
    already set as non-cache variables when project() is invoked. Cache
    entries by the same names are always set as before. This refines
    3.30.3's behavior change to restore behavior of nested directories
    that call project() with the same project name, and it addresses the
    bug in the implementation introduced in 3.30.4.

3.30.4

-   The project(<PROJECT-NAME>) command now sets
    <PROJECT-NAME>_SOURCE_DIR, <PROJECT-NAME>_BINARY_DIR, and
    <PROJECT-NAME>_IS_TOP_LEVEL as normal variables only if they are
    already set as cache or non-cache variables when project() is
    invoked. Cache entries by the same names are always set as before.
    This refines 3.30.3's behavior change to restore behavior of nested
    directories that call project() with the same project name, but the
    implementation in this release is flawed (this release note has been
    retoractively updated). It can result in different behavior between
    the first and subsequent runs. Do not use CMake 3.30.4 if your
    project contains nested calls to project() with the same project
    name and you use these variables.

3.30.3

-   The project(<PROJECT-NAME>) command now sets
    <PROJECT-NAME>_SOURCE_DIR, <PROJECT-NAME>_BINARY_DIR, and
    <PROJECT-NAME>_IS_TOP_LEVEL as normal variables in addition to
    setting them as cache entries. This is needed to preserve support
    for some FetchContent use cases under policy CMP0169's NEW behavior.

-   The FindPython and FindPython3 modules now define, respectively, the
    Python_DEFINITIONS and Python3_DEFINITIONS variables on Windows to
    support development with the free threaded version of Python. The
    INTERFACE_COMPILE_DEFINITIONS target property is also defined for
    the various targets provided by these modules.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
---
 .../cmake/{cmake-native_3.30.2.bb => cmake-native_3.30.5.bb}    | 0
 meta/recipes-devtools/cmake/cmake.inc                           | 2 +-
 .../recipes-devtools/cmake/{cmake_3.30.2.bb => cmake_3.30.5.bb} | 0
 3 files changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/cmake/{cmake-native_3.30.2.bb => cmake-native_3.30.5.bb} (100%)
 rename meta/recipes-devtools/cmake/{cmake_3.30.2.bb => cmake_3.30.5.bb} (100%)
diff mbox series

Patch

diff --git a/meta/recipes-devtools/cmake/cmake-native_3.30.2.bb b/meta/recipes-devtools/cmake/cmake-native_3.30.5.bb
similarity index 100%
rename from meta/recipes-devtools/cmake/cmake-native_3.30.2.bb
rename to meta/recipes-devtools/cmake/cmake-native_3.30.5.bb
diff --git a/meta/recipes-devtools/cmake/cmake.inc b/meta/recipes-devtools/cmake/cmake.inc
index b88a4e4bc6f..41f169e14c5 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] = "46074c781eccebc433e98f0bbfa265ca3fd4381f245ca3b140e7711531d60db2"
+SRC_URI[sha256sum] = "9f55e1a40508f2f29b7e065fa08c29f82c402fa0402da839fffe64a25755a86d"
 
 UPSTREAM_CHECK_REGEX = "cmake-(?P<pver>\d+(\.\d+)+)\.tar"
 
diff --git a/meta/recipes-devtools/cmake/cmake_3.30.2.bb b/meta/recipes-devtools/cmake/cmake_3.30.5.bb
similarity index 100%
rename from meta/recipes-devtools/cmake/cmake_3.30.2.bb
rename to meta/recipes-devtools/cmake/cmake_3.30.5.bb