Skip to content

Instantly share code, notes, and snippets.

@robertmaynard
Created December 3, 2018 18:28
Show Gist options
  • Save robertmaynard/3ca1f3543a296793a3f37c1d360247b4 to your computer and use it in GitHub Desktop.
Save robertmaynard/3ca1f3543a296793a3f37c1d360247b4 to your computer and use it in GitHub Desktop.
verify cmake spack downloads from github
robert@forge:~/Work/spack$ git log -n1
commit 73a70b33ae68d7b38d3c69cb198fb33e70a76b6b (HEAD -> get_cmake_from_github, github/get_cmake_from_github)
Author: Robert Maynard <robert.maynard@kitware.com>
Date: Mon Dec 3 11:10:30 2018 -0500
Download CMake sources from the Github releases
Now that CMake is providing CMake release artifacts on github,
we should prefer those as they have better download speeds and
uptime.
robert@forge:~/Work/spack$ ./verify.sh
==> Fetching https://github.com/Kitware/CMake/releases/download/v2.8.10.2/cmake-2.8.10.2.tar.gz
######################################################################################################################################################################################################################################################### 100.0%
==> Fetching https://github.com/Kitware/CMake/releases/download/v3.0.2/cmake-3.0.2.tar.gz
######################################################################################################################################################################################################################################################### 100.0%
==> Fetching https://github.com/Kitware/CMake/releases/download/v3.1.0/cmake-3.1.0.tar.gz
######################################################################################################################################################################################################################################################### 100.0%
==> Fetching https://github.com/Kitware/CMake/releases/download/v3.3.1/cmake-3.3.1.tar.gz
#=#=- # # #=O=# # # ######################################################################################################################################################################################################################################################### 100.0%
==> Fetching https://github.com/Kitware/CMake/releases/download/v3.4.0/cmake-3.4.0.tar.gz
######################################################################################################################################################################################################################################################### 100.0%
==> Fetching https://github.com/Kitware/CMake/releases/download/v3.4.3/cmake-3.4.3.tar.gz
######################################################################################################################################################################################################################################################### 100.0%
==> Fetching https://github.com/Kitware/CMake/releases/download/v3.5.0/cmake-3.5.0.tar.gz
#=#=- # # #=O=# # # ######################################################################################################################################################################################################################################################### 100.0%
==> Fetching https://github.com/Kitware/CMake/releases/download/v3.5.1/cmake-3.5.1.tar.gz
######################################################################################################################################################################################################################################################### 100.0%
==> Fetching https://github.com/Kitware/CMake/releases/download/v3.5.2/cmake-3.5.2.tar.gz
######################################################################################################################################################################################################################################################### 100.0%
==> Fetching https://github.com/Kitware/CMake/releases/download/v3.6.0/cmake-3.6.0.tar.gz
#=#=- # # #=O=# # # ######################################################################################################################################################################################################################################################### 100.0%
==> Fetching https://github.com/Kitware/CMake/releases/download/v3.6.1/cmake-3.6.1.tar.gz
######################################################################################################################################################################################################################################################### 100.0%
==> Fetching https://github.com/Kitware/CMake/releases/download/v3.7.1/cmake-3.7.1.tar.gz
#=#=- # # #=O=# # # ######################################################################################################################################################################################################################################################### 100.0%
==> Fetching https://github.com/Kitware/CMake/releases/download/v3.7.2/cmake-3.7.2.tar.gz
######################################################################################################################################################################################################################################################### 100.0%
==> Fetching https://github.com/Kitware/CMake/releases/download/v3.8.0/cmake-3.8.0.tar.gz
#=#=- # # #=O=# # # ######################################################################################################################################################################################################################################################### 100.0%
==> Fetching https://github.com/Kitware/CMake/releases/download/v3.8.1/cmake-3.8.1.tar.gz
#=#=- # # #=O=# # # ######################################################################################################################################################################################################################################################### 100.0%
==> Fetching https://github.com/Kitware/CMake/releases/download/v3.8.2/cmake-3.8.2.tar.gz
#=#=- # # #=O=# # # ######################################################################################################################################################################################################################################################### 100.0%
==> Fetching https://github.com/Kitware/CMake/releases/download/v3.9.0/cmake-3.9.0.tar.gz
######################################################################################################################################################################################################################################################### 100.0%
==> Fetching https://github.com/Kitware/CMake/releases/download/v3.9.4/cmake-3.9.4.tar.gz
######################################################################################################################################################################################################################################################### 100.0%
==> Fetching https://github.com/Kitware/CMake/releases/download/v3.9.6/cmake-3.9.6.tar.gz
######################################################################################################################################################################################################################################################### 100.0%
==> Fetching https://github.com/Kitware/CMake/releases/download/v3.10.0/cmake-3.10.0.tar.gz
######################################################################################################################################################################################################################################################### 100.0%
==> Fetching https://github.com/Kitware/CMake/releases/download/v3.10.1/cmake-3.10.1.tar.gz
######################################################################################################################################################################################################################################################### 100.0%
==> Fetching https://github.com/Kitware/CMake/releases/download/v3.10.2/cmake-3.10.2.tar.gz
######################################################################################################################################################################################################################################################### 100.0%
==> Fetching https://github.com/Kitware/CMake/releases/download/v3.10.3/cmake-3.10.3.tar.gz
######################################################################################################################################################################################################################################################### 100.0%
==> Fetching https://github.com/Kitware/CMake/releases/download/v3.11.0/cmake-3.11.0.tar.gz
######################################################################################################################################################################################################################################################### 100.0%
==> Fetching https://github.com/Kitware/CMake/releases/download/v3.11.1/cmake-3.11.1.tar.gz
#=#=- # # #=O=# # # ######################################################################################################################################################################################################################################################### 100.0%
==> Fetching https://github.com/Kitware/CMake/releases/download/v3.11.2/cmake-3.11.2.tar.gz
######################################################################################################################################################################################################################################################### 100.0%
==> Fetching https://github.com/Kitware/CMake/releases/download/v3.11.3/cmake-3.11.3.tar.gz
######################################################################################################################################################################################################################################################### 100.0%
==> Fetching https://github.com/Kitware/CMake/releases/download/v3.11.4/cmake-3.11.4.tar.gz
######################################################################################################################################################################################################################################################### 100.0%
==> Fetching https://github.com/Kitware/CMake/releases/download/v3.12.0/cmake-3.12.0.tar.gz
######################################################################################################################################################################################################################################################### 100.0%
==> Fetching https://github.com/Kitware/CMake/releases/download/v3.12.1/cmake-3.12.1.tar.gz
######################################################################################################################################################################################################################################################### 100.0%
==> Fetching https://github.com/Kitware/CMake/releases/download/v3.12.2/cmake-3.12.2.tar.gz
######################################################################################################################################################################################################################################################### 100.0%
==> Fetching https://github.com/Kitware/CMake/releases/download/v3.12.3/cmake-3.12.3.tar.gz
######################################################################################################################################################################################################################################################### 100.0%
==> Fetching https://github.com/Kitware/CMake/releases/download/v3.12.4/cmake-3.12.4.tar.gz
######################################################################################################################################################################################################################################################### 100.0%
#/bin/bash
versions=(
2.8.10.2
3.0.2
3.1.0
3.3.1
3.4.0
3.4.3
3.5.0
3.5.1
3.5.2
3.6.0
3.6.1
3.7.1
3.7.2
3.8.0
3.8.1
3.8.2
3.9.0
3.9.4
3.9.6
3.10.0
3.10.1
3.10.2
3.10.3
3.11.0
3.11.1
3.11.2
3.11.3
3.11.4
3.12.0
3.12.1
3.12.2
3.12.3
3.12.4
)
for version in "${versions[@]}"
do
./bin/spack fetch cmake@$version
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment