Skip to content

Commit

Permalink
Update to CMake 3.28.1 (#439)
Browse files Browse the repository at this point in the history
  • Loading branch information
henryiii authored Dec 15, 2023
1 parent 83a0f29 commit ca12224
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.28.0/cmake-3.28.0.tar.gz")
set(unix_source_sha256 "e1dcf9c817ae306e73a45c2ba6d280c65cf4ec00dd958eb144adaf117fb58e71")
set(unix_source_url "https://github.com/Kitware/CMake/releases/download/v3.28.1/cmake-3.28.1.tar.gz")
set(unix_source_sha256 "15e94f83e647f7d620a140a7a5da76349fc47a1bfed66d0f5cdee8e7344079ad")

set(windows_source_url "https://github.com/Kitware/CMake/releases/download/v3.28.0/cmake-3.28.0.zip")
set(windows_source_sha256 "84f5fde50154b8e64dd02de578f4f0b24d9edb43c22323ca9b631f1cbe4e9a40")
set(windows_source_url "https://github.com/Kitware/CMake/releases/download/v3.28.1/cmake-3.28.1.zip")
set(windows_source_sha256 "6ffbd594f32eca54320cc9f58b1d82a8a9f696803a4623fe6e157e931ea699ee")

#-----------------------------------------------------------------------------
# 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.28.0/cmake-3.28.0-linux-x86_64.tar.gz")
set(linux64_binary_sha256 "898f0b5ca6e2ea5286998e97bd33f030d7d09f18ca4b88be661fdfbad5dadd88")
set(linux64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.28.1/cmake-3.28.1-linux-x86_64.tar.gz")
set(linux64_binary_sha256 "f76398c24362ad87bad1a3d6f1e8f4377632b5b1c360c4ba1fd7cd205fd9d8d4")

set(macos10_10_binary_url "https://github.com/Kitware/CMake/releases/download/v3.28.0/cmake-3.28.0-macos10.10-universal.tar.gz")
set(macos10_10_binary_sha256 "3880f8c0ba174c3ae7ca4dec015dcd5b5b32cbb88661e49870baa975563855df")
set(macos10_10_binary_url "https://github.com/Kitware/CMake/releases/download/v3.28.1/cmake-3.28.1-macos10.10-universal.tar.gz")
set(macos10_10_binary_sha256 "f2d296294921b209d9c7edbc12ce175e00644fcabba362b6a24c32b0a4624a9a")

set(win32_binary_url "https://github.com/Kitware/CMake/releases/download/v3.28.0/cmake-3.28.0-windows-i386.zip")
set(win32_binary_sha256 "3a08a671e67168acefe533c212592d02b57224a215689725d9a60bd6320a1abb")
set(win32_binary_url "https://github.com/Kitware/CMake/releases/download/v3.28.1/cmake-3.28.1-windows-i386.zip")
set(win32_binary_sha256 "e9591cfdb1d394eee84acdecf880cbd91cf0707dfd0d58bf3796b88475f46cb9")

set(win64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.28.0/cmake-3.28.0-windows-x86_64.zip")
set(win64_binary_sha256 "3096d5d708476cfe37f6c64da480b974f29c01bf5baae314c679c1e2fde8994f")
set(win64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.28.1/cmake-3.28.1-windows-x86_64.zip")
set(win64_binary_sha256 "671332249bc7cc7424523d6c2b5edd3e3de90a43b8b82e8782f42da4fe4c562d")

set(winarm64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.28.0/cmake-3.28.0-windows-arm64.zip")
set(winarm64_binary_sha256 "91d36cfa2c1df7a638d68bf84b33a1d56131cd497275c5192826991e28a3a737")
set(winarm64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.28.1/cmake-3.28.1-windows-arm64.zip")
set(winarm64_binary_sha256 "a839b8d32c11b24f078142b5b8c3361a955ebc65788f0f0353b2121fe2f74e49")
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.28.0 <https://cmake.org/cmake/help/v3.28/index.html>`_.
The CMake python wheels provide `CMake 3.28.1 <https://cmake.org/cmake/help/v3.28/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.28.0 <https://cmake.org/cmake/help/v3.28/index.html>`_.
The CMake python wheels provide `CMake 3.28.1 <https://cmake.org/cmake/help/v3.28/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.28.0
$ release=3.28.1
$ ./scripts/update_cmake_version.py $release
Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v3.28.0'
Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v3.28.1'
[...]
Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v3.28.0' - done
Updating 'CMakeUrls.cmake' with CMake version 3.28.0
Updating 'CMakeUrls.cmake' with CMake version 3.28.0 - done
Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v3.28.1' - done
Updating 'CMakeUrls.cmake' with CMake version 3.28.1
Updating 'CMakeUrls.cmake' with CMake version 3.28.1 - 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.28.0
release=3.28.1
git switch -c update-to-cmake-$release
git add -u CMakeUrls.cmake docs/index.rst README.rst tests/test_cmake.py docs/update_cmake_version.rst
git commit -m "Update to CMake $release"
Expand Down
2 changes: 1 addition & 1 deletion tests/test_cmake.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def _get_scripts():

@all_tools
def test_cmake_script(tool):
expected_version = "3.28.0"
expected_version = "3.28.1"
scripts = [script for script in _get_scripts() if script.stem == tool]
assert len(scripts) == 1
output = subprocess.check_output([str(scripts[0]), "--version"]).decode("ascii")
Expand Down

0 comments on commit ca12224

Please sign in to comment.