Skip to content

Commit

Permalink
Update to CMake 3.27.9 (scikit-build#429)
Browse files Browse the repository at this point in the history
  • Loading branch information
mayeut authored Dec 2, 2023
1 parent 280260d commit 7569137
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.8/cmake-3.27.8.tar.gz")
set(unix_source_sha256 "fece24563f697870fbb982ea8bf17482c9d5f855d8c9bf0b82463d76c9e8d0cc")
set(unix_source_url "https://github.com/Kitware/CMake/releases/download/v3.27.9/cmake-3.27.9.tar.gz")
set(unix_source_sha256 "609a9b98572a6a5ea477f912cffb973109ed4d0a6a6b3f9e2353d2cdc048708e")

set(windows_source_url "https://github.com/Kitware/CMake/releases/download/v3.27.8/cmake-3.27.8.zip")
set(windows_source_sha256 "6ab05598f370ca68a174d9c879f4cb208f53e4af9f297483af306a40cbf7ec77")
set(windows_source_url "https://github.com/Kitware/CMake/releases/download/v3.27.9/cmake-3.27.9.zip")
set(windows_source_sha256 "3047381cd5cb5f44818fe25aae44b1eb97f3cfd6e718ae168e2e8ae9967b9384")

#-----------------------------------------------------------------------------
# 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.8/cmake-3.27.8-linux-x86_64.tar.gz")
set(linux64_binary_sha256 "dfedc30abe69dcabe326a4de632210bb52004185bd2c0b096c21924f4510681f")
set(linux64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.27.9/cmake-3.27.9-linux-x86_64.tar.gz")
set(linux64_binary_sha256 "72b01478eeb312bf1a0136208957784fe55a7b587f8d9f9142a7fc9b0b9e9a28")

set(macos10_10_binary_url "https://github.com/Kitware/CMake/releases/download/v3.27.8/cmake-3.27.8-macos10.10-universal.tar.gz")
set(macos10_10_binary_sha256 "28e4864f6f736d53d77edfa1516947ec716950778ee2a486a250b928214078fd")
set(macos10_10_binary_url "https://github.com/Kitware/CMake/releases/download/v3.27.9/cmake-3.27.9-macos10.10-universal.tar.gz")
set(macos10_10_binary_sha256 "2ced09b99b265d18c5e215984e5898b7e3a0cc7a1293c3f3b45e4bec87a46814")

set(win32_binary_url "https://github.com/Kitware/CMake/releases/download/v3.27.8/cmake-3.27.8-windows-i386.zip")
set(win32_binary_sha256 "f40aa9f41279c861d8a78bf82ee0a3bf125481c97b2339c83cf772e7d8e3e909")
set(win32_binary_url "https://github.com/Kitware/CMake/releases/download/v3.27.9/cmake-3.27.9-windows-i386.zip")
set(win32_binary_sha256 "7296b5a46eb53bfd0e0ff1d818067745cb831ab8d3cef9d266bfc842a435d515")

set(win64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.27.8/cmake-3.27.8-windows-x86_64.zip")
set(win64_binary_sha256 "53c6f57bda4a20e2a0515246a298e3c0784da3b687ef2a00a55bdcfad450998c")
set(win64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.27.9/cmake-3.27.9-windows-x86_64.zip")
set(win64_binary_sha256 "c14e8b5d1c7be0baf0e7936ce8b5a39c5ee3450b14d7e3b32435083eddd9aff7")

set(winarm64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.27.8/cmake-3.27.8-windows-arm64.zip")
set(winarm64_binary_sha256 "274661f38cf35c7af2096b5f5ac1bbdfc7c2f63e83416336d31debd4e1f0f6b7")
set(winarm64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.27.9/cmake-3.27.9-windows-arm64.zip")
set(winarm64_binary_sha256 "bca795134956264ede142f79aa513476985f4f410f6501a727d602760e9212dd")
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.8 <https://cmake.org/cmake/help/v3.27/index.html>`_.
The CMake python wheels provide `CMake 3.27.9 <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.8 <https://cmake.org/cmake/help/v3.27/index.html>`_.
The CMake python wheels provide `CMake 3.27.9 <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.8
$ release=3.27.9
$ ./scripts/update_cmake_version.py $release
Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v3.27.8'
Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v3.27.9'
[...]
Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v3.27.8' - done
Updating 'CMakeUrls.cmake' with CMake version 3.27.8
Updating 'CMakeUrls.cmake' with CMake version 3.27.8 - done
Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v3.27.9' - done
Updating 'CMakeUrls.cmake' with CMake version 3.27.9
Updating 'CMakeUrls.cmake' with CMake version 3.27.9 - 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.8
release=3.27.9
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.27.8"
expected_version = "3.27.9"
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 7569137

Please sign in to comment.