Skip to content

Commit

Permalink
Update to CMake 3.20.4 (#156)
Browse files Browse the repository at this point in the history
  • Loading branch information
henryiii authored Jun 17, 2021
1 parent bfaa35e commit 8c08a8f
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 21 deletions.
24 changes: 12 additions & 12 deletions CMakeUrls.cmake
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@

#-----------------------------------------------------------------------------
# CMake sources
set(unix_source_url "https://github.com/Kitware/CMake/releases/download/v3.20.3/cmake-3.20.3.tar.gz")
set(unix_source_sha256 "4d008ac3461e271fcfac26a05936f77fc7ab64402156fb371d41284851a651b8")
set(unix_source_url "https://github.com/Kitware/CMake/releases/download/v3.20.4/cmake-3.20.4.tar.gz")
set(unix_source_sha256 "87a4060298f2c6bb09d479de1400bc78195a5b55a65622a7dceeb3d1090a1b16")

set(windows_source_url "https://github.com/Kitware/CMake/releases/download/v3.20.3/cmake-3.20.3.zip")
set(windows_source_sha256 "c936d3b6de092ba0cf6ccecaf2bc70df6060c129ed4f73311b86673e20bc3d68")
set(windows_source_url "https://github.com/Kitware/CMake/releases/download/v3.20.4/cmake-3.20.4.zip")
set(windows_source_sha256 "943a80de2520c5c053bcca7c93d4613e1f74e9faa95d3cb0429ce785e9d0b382")

#-----------------------------------------------------------------------------
# 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.20.3/cmake-3.20.3-linux-x86_64.tar.gz")
set(linux64_binary_sha256 "97bf730372f9900b2dfb9206fccbcf92f5c7f3b502148b832e77451aa0f9e0e6")
set(linux64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.20.4/cmake-3.20.4-linux-x86_64.tar.gz")
set(linux64_binary_sha256 "067feed25b76b3adf5863f5a5f7e2b8cafb2dcd6feeaac39a713372ef2c3584c")

set(macos10_10_binary_url "https://github.com/Kitware/CMake/releases/download/v3.20.3/cmake-3.20.3-macos10.10-universal.tar.gz")
set(macos10_10_binary_sha256 "7868ef5110adf3110dc82a87a73e6a2503aebae1a15d12cc416114ef8062a1da")
set(macos10_10_binary_url "https://github.com/Kitware/CMake/releases/download/v3.20.4/cmake-3.20.4-macos10.10-universal.tar.gz")
set(macos10_10_binary_sha256 "368bf3bedac38a931a334b9b515d83879c82dacd55eed2adb1ef2725b9038607")

set(win32_binary_url "https://github.com/Kitware/CMake/releases/download/v3.20.3/cmake-3.20.3-windows-i386.zip")
set(win32_binary_sha256 "b690206f58368afd69244e8dc029b0b3dacae31bb6d4f6ab713b0e18a686aa7d")
set(win32_binary_url "https://github.com/Kitware/CMake/releases/download/v3.20.4/cmake-3.20.4-windows-i386.zip")
set(win32_binary_sha256 "e571c0cebb237da800198ef89d1c874d15f04dfe13dc44d85c2a56e90a4a5209")

set(win64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.20.3/cmake-3.20.3-windows-x86_64.zip")
set(win64_binary_sha256 "e276cf7fbb3e3e88bc666e183bc3ddaceb143a4c83fb357b1dbb1a26fd6e4ea2")
set(win64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.20.4/cmake-3.20.4-windows-x86_64.zip")
set(win64_binary_sha256 "965d2f001c3ca807d288f2b6b15c42b25579a0e73ef12c2a72c95f4c69123638")
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.20.3 <https://cmake.org/cmake/help/v3.20/index.html>`_.
The CMake python wheels provide `CMake 3.20.4 <https://cmake.org/cmake/help/v3.20/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.20.3 <https://cmake.org/cmake/help/v3.20/index.html>`_.
The CMake python wheels provide `CMake 3.20.4 <https://cmake.org/cmake/help/v3.20/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 @@ -17,13 +17,13 @@ Available CMake archives can be found at https://cmake.org/files.
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.20.3
$ release=3.20.4
$ ./scripts/update_cmake_version.py $release
Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v3.20.3'
Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v3.20.4'
[...]
Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v3.20.3' - done
Updating 'CMakeUrls.cmake' with CMake version 3.20.3
Updating 'CMakeUrls.cmake' with CMake version 3.20.3 - done
Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v3.20.4' - done
Updating 'CMakeUrls.cmake' with CMake version 3.20.4
Updating 'CMakeUrls.cmake' with CMake version 3.20.4 - done
Updating docs/index.rst
Updating docs/index.rst - done
Updating README.rst
Expand All @@ -34,7 +34,7 @@ Available CMake archives can be found at https://cmake.org/files.
3. Create a topic named `update-to-cmake-X.Y.Z` and commit the changes.
For example::

release=3.20.3
release=3.20.4
git switch -c update-to-cmake-$release
git add 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.20.3"
expected_version = "3.20.4"

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

0 comments on commit 8c08a8f

Please sign in to comment.