Skip to content

Commit ca5ee1c

Browse files
authored
Merge pull request #123 from henryiii/update-to-cmake-3.19.0
chore: update to cmake 3.19.1
2 parents ab037d7 + b238744 commit ca5ee1c

File tree

6 files changed

+22
-22
lines changed

6 files changed

+22
-22
lines changed

CMakeUrls.cmake

+12-12
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11

22
#-----------------------------------------------------------------------------
33
# CMake sources
4-
set(unix_source_url "https://github.com/Kitware/CMake/releases/download/v3.18.4/cmake-3.18.4.tar.gz")
5-
set(unix_source_sha256 "597c61358e6a92ecbfad42a9b5321ddd801fc7e7eca08441307c9138382d4f77")
4+
set(unix_source_url "https://github.com/Kitware/CMake/releases/download/v3.19.1/cmake-3.19.1.tar.gz")
5+
set(unix_source_sha256 "1d266ea3a76ef650cdcf16c782a317cb4a7aa461617ee941e389cb48738a3aba")
66

7-
set(windows_source_url "https://github.com/Kitware/CMake/releases/download/v3.18.4/cmake-3.18.4.zip")
8-
set(windows_source_sha256 "16df4f582cce7785d9c9f760d0cd8d1480d158a8b32e80f4570732c5eb205a4c")
7+
set(windows_source_url "https://github.com/Kitware/CMake/releases/download/v3.19.1/cmake-3.19.1.zip")
8+
set(windows_source_sha256 "d3c8fc07b3207c6826b49e46b8194fcdbaab95eaba75dd735e348230efd4400d")
99

1010
#-----------------------------------------------------------------------------
1111
# CMake binaries
1212

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

16-
set(linux64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.18.4/cmake-3.18.4-Linux-x86_64.tar.gz")
17-
set(linux64_binary_sha256 "149e0cee002e59e0bb84543cf3cb099f108c08390392605e944daeb6594cbc29")
16+
set(linux64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.19.1/cmake-3.19.1-Linux-x86_64.tar.gz")
17+
set(linux64_binary_sha256 "587fb2d882214511f4b260329800de7903eba7827498f06a0dee234ed579bdc3")
1818

19-
set(macosx_binary_url "https://github.com/Kitware/CMake/releases/download/v3.18.4/cmake-3.18.4-Darwin-x86_64.tar.gz")
20-
set(macosx_binary_sha256 "9d27049660474cf134ab46fa0e0db771b263313fcb8ba82ee8b2d1a1a62f8f20")
19+
set(macosx_binary_url "https://github.com/Kitware/CMake/releases/download/v3.19.1/cmake-3.19.1-Darwin-x86_64.tar.gz")
20+
set(macosx_binary_sha256 "8b1caf1da7bc738a27c820ca8dc2ddb610b7526b4507095de87d79cd5a27028b")
2121

22-
set(win32_binary_url "https://github.com/Kitware/CMake/releases/download/v3.18.4/cmake-3.18.4-win32-x86.zip")
23-
set(win32_binary_sha256 "4c519051853686927f87df99669ada3ff15a3086535a7131892febd7c6e2f122")
22+
set(win32_binary_url "https://github.com/Kitware/CMake/releases/download/v3.19.1/cmake-3.19.1-win32-x86.zip")
23+
set(win32_binary_sha256 "7c01b9cc29a0e5051c11c605b7dd43d187fb25b277e7a3dc4085b9eaf36a0387")
2424

25-
set(win64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.18.4/cmake-3.18.4-win64-x64.zip")
26-
set(win64_binary_sha256 "a932bc0c8ee79f1003204466c525b38a840424d4ae29f9e5fb88959116f2407d")
25+
set(win64_binary_url "https://github.com/Kitware/CMake/releases/download/v3.19.1/cmake-3.19.1-win64-x64.zip")
26+
set(win64_binary_sha256 "e95d70549f306adb46e0f131dcecdbcbc6412d3a1e073c2c0078812391bf21d3")

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The suite of CMake tools were created by Kitware in response to the need
1111
for a powerful, cross-platform build environment for open-source projects
1212
such as ITK and VTK.
1313

14-
The CMake python wheels provide `CMake 3.18.4 <https://cmake.org/cmake/help/v3.18/index.html>`_.
14+
The CMake python wheels provide `CMake 3.19.1 <https://cmake.org/cmake/help/v3.19/index.html>`_.
1515

1616
Latest Release
1717
--------------

docs/index.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The suite of CMake tools were created by Kitware in response to the need
1515
for a powerful, cross-platform build environment for open-source projects
1616
such as `ITK <https://www.itk.org>`_ and `VTK <http://www.vtk.org>`_.
1717

18-
The CMake python wheels provide `CMake 3.18.4 <https://cmake.org/cmake/help/v3.18/index.html>`_.
18+
The CMake python wheels provide `CMake 3.19.1 <https://cmake.org/cmake/help/v3.19/index.html>`_.
1919

2020
.. toctree::
2121
:maxdepth: 2

docs/update_cmake_version.rst

+6-6
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ Available CMake archives can be found at https://cmake.org/files.
1717
2. Execute `scripts/update_cmake_version.py` command line tool with the desired
1818
``X.Y.Z`` CMake version available for download. For example::
1919

20-
$ release=3.14.4
20+
$ release=3.19.0
2121
$ python scripts/update_cmake_version.py $release
22-
Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v3.14.4'
22+
Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v3.19.0'
2323
[...]
24-
Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v3.14.4' - done
25-
Updating 'CMakeUrls.cmake' with CMake version 3.14.4
26-
Updating 'CMakeUrls.cmake' with CMake version 3.14.4 - done
24+
Collecting URLs and SHA256s from 'https://api.github.com/repos/Kitware/CMake/releases/tags/v3.19.0' - done
25+
Updating 'CMakeUrls.cmake' with CMake version 3.19.0
26+
Updating 'CMakeUrls.cmake' with CMake version 3.19.0 - done
2727
Updating docs/index.rst
2828
Updating docs/index.rst - done
2929
Updating README.rst
@@ -34,7 +34,7 @@ Available CMake archives can be found at https://cmake.org/files.
3434
3. Create a topic named `update-to-cmake-X.Y.Z` and commit the changes.
3535
For example::
3636

37-
release=3.14.4
37+
release=3.19.0
3838
git checkout -b update-to-cmake-$release
3939
git add CMakeUrls.cmake docs/index.rst README.rst tests/test_distribution.py
4040
git commit -m "Update to CMake $release"

scripts/update_cmake_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def get_cmake_archive_urls_and_sha256s(version, verbose=False):
6262
sha256 = line.split()[0].strip()
6363
identifier = expected_files[file]
6464
shas[identifier] = sha256
65-
assert len(shas) == len(expected_files)
65+
assert len(shas) == len(expected_files), "{} != {}".format(len(shas), len(expected_files))
6666

6767
# Get download URLs for each asset
6868
urls = {}

tests/test_distribution.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010

1111
def _check_cmake_install(virtualenv, tmpdir):
12-
expected_version = "3.18.4"
12+
expected_version = "3.19.1"
1313

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

0 commit comments

Comments
 (0)