Skip to content

Commit

Permalink
Update to CMake 3.27.4 (#398)
Browse files Browse the repository at this point in the history
  • Loading branch information
mayeut authored Aug 27, 2023
1 parent d4f5003 commit 2a46acc
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 23 deletions.
28 changes: 14 additions & 14 deletions CMakeUrls.cmake
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@

#-----------------------------------------------------------------------------
# CMake sources
set(unix_source_url "https://github.com/Kitware/CMake/releases/download/v3.27.2/cmake-3.27.2.tar.gz")
set(unix_source_sha256 "798e50085d423816fe96c9ef8bee5e50002c9eca09fed13e300de8a91d35c211")
set(unix_source_url "https://github.com/Kitware/CMake/releases/download/v3.27.4/cmake-3.27.4.tar.gz")
set(unix_source_sha256 "0a905ca8635ca81aa152e123bdde7e54cbe764fdd9a70d62af44cad8b92967af")

set(windows_source_url "https://github.com/Kitware/CMake/releases/download/v3.27.2/cmake-3.27.2.zip")
set(windows_source_sha256 "c88ea100e24b26270db06a3f856af2be5282badfd7f423bc51c26913fc932bca")
set(windows_source_url "https://github.com/Kitware/CMake/releases/download/v3.27.4/cmake-3.27.4.zip")
set(windows_source_sha256 "83601005152e77a6e885b62740ce25e6c1a6efae5e6d48d7c2c89e5a92b01c89")

#-----------------------------------------------------------------------------
# CMake binaries

set(linux32_binary_url "NA") # Linux 32-bit binaries not available
set(linux32_binary_sha256 "NA")

set(linux64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.27.2/cmake-3.27.2-linux-x86_64.tar.gz")
set(linux64_binary_sha256 "89c30078a5f58bbbd524704cb87e724fca905aa5e71ac40bccc6295c4d6852c9")
set(linux64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.27.4/cmake-3.27.4-linux-x86_64.tar.gz")
set(linux64_binary_sha256 "186c53121cf6ef4e48b51e88690e6ef84f268611064a42e5a2e829c3d6b2efde")

set(macos10_10_binary_url "https://github.com/Kitware/CMake/releases/download/v3.27.2/cmake-3.27.2-macos10.10-universal.tar.gz")
set(macos10_10_binary_sha256 "58204ebe25912dbd56456b265675ea90c60f29745b3f149841e9ea4bfcb45158")
set(macos10_10_binary_url "https://github.com/Kitware/CMake/releases/download/v3.27.4/cmake-3.27.4-macos10.10-universal.tar.gz")
set(macos10_10_binary_sha256 "1fa092bad6daf9715c6d72ff766813fd3423427696042a74f2208a2b4704ac1c")

set(win32_binary_url "https://github.com/Kitware/CMake/releases/download/v3.27.2/cmake-3.27.2-windows-i386.zip")
set(win32_binary_sha256 "c26e4ba882a94ae24c695b1365f30e75fbea4a65ec0ee36a540f7f9029caf1fd")
set(win32_binary_url "https://github.com/Kitware/CMake/releases/download/v3.27.4/cmake-3.27.4-windows-i386.zip")
set(win32_binary_sha256 "5ffd1db389cc8d4bad39c220d73c52402cb979d4e36e1e4729e00df6e7e6f1de")

set(win64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.27.2/cmake-3.27.2-windows-x86_64.zip")
set(win64_binary_sha256 "d5c33f726f9154f4abdda94e83aabd6de9f37b6b25ecbc9e499a3c5777871d55")
set(win64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.27.4/cmake-3.27.4-windows-x86_64.zip")
set(win64_binary_sha256 "e5e060756444d0b2070328a8821c1ceb62bd6d267aae61bfff06f96c7ec943a6")

set(winarm64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.27.2/cmake-3.27.2-windows-arm64.zip")
set(winarm64_binary_sha256 "8861c264be983da901e6fbfb3a0bebe87f7b1faba92d3805ffe82a013964229b")
set(winarm64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.27.4/cmake-3.27.4-windows-arm64.zip")
set(winarm64_binary_sha256 "6c1df7ad85ed902ad615cd0c05bca0d3c9c3f67b3980ca9dd2e39b0821d50937")
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The suite of CMake tools were created by Kitware in response to the need
for a powerful, cross-platform build environment for open-source projects
such as ITK and VTK.

The CMake python wheels provide `CMake 3.27.2 <https://cmake.org/cmake/help/v3.27/index.html>`_.
The CMake python wheels provide `CMake 3.27.4 <https://cmake.org/cmake/help/v3.27/index.html>`_.

Latest Release
--------------
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The suite of CMake tools were created by Kitware in response to the need
for a powerful, cross-platform build environment for open-source projects
such as `ITK <https://www.itk.org>`_ and `VTK <http://www.vtk.org>`_.

The CMake python wheels provide `CMake 3.27.2 <https://cmake.org/cmake/help/v3.27/index.html>`_.
The CMake python wheels provide `CMake 3.27.4 <https://cmake.org/cmake/help/v3.27/index.html>`_.

.. toctree::
:maxdepth: 2
Expand Down
12 changes: 6 additions & 6 deletions docs/update_cmake_version.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ Classic procedure:
2. Execute `scripts/update_cmake_version.py` command line tool with the desired
``X.Y.Z`` CMake version available for download. For example::

$ release=3.27.2
$ release=3.27.4
$ ./scripts/update_cmake_version.py $release
Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v3.27.2'
Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v3.27.4'
[...]
Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v3.27.2' - done
Updating 'CMakeUrls.cmake' with CMake version 3.27.2
Updating 'CMakeUrls.cmake' with CMake version 3.27.2 - done
Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v3.27.4' - done
Updating 'CMakeUrls.cmake' with CMake version 3.27.4
Updating 'CMakeUrls.cmake' with CMake version 3.27.4 - done
Updating docs/index.rst
Updating docs/index.rst - done
Updating README.rst
Expand All @@ -46,7 +46,7 @@ Classic procedure:
3. Create a topic named `update-to-cmake-X.Y.Z` and commit the changes.
For example::

release=3.27.2
release=3.27.4
git switch -c update-to-cmake-$release
git add -u CMakeUrls.cmake docs/index.rst README.rst tests/test_distribution.py docs/update_cmake_version.rst
git commit -m "Update to CMake $release"
Expand Down
2 changes: 1 addition & 1 deletion tests/test_distribution.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@


def _check_cmake_install(virtualenv, tmpdir):
expected_version = "3.27.2"
expected_version = "3.27.4"

for executable_name in ["cmake", "cpack", "ctest"]:
output = virtualenv.run(
Expand Down

0 comments on commit 2a46acc

Please sign in to comment.