1
0
Fork 0

download_and_compile.sh: update address and branch for CMake

- The old URL for CMake's Git repository doesn't support https anymore;
  update it to match the one given at <https://cmake.org/>.

- Build the 'release' branch rather than 'master':
  download_and_compile.sh is not meant for CMake hackers!
This commit is contained in:
Florent Rougon 2020-04-25 11:07:47 +02:00
parent a02dc9aad6
commit 2bb86ee6ea

View file

@ -436,8 +436,8 @@ declare -A USERNAME_AT_SITE
declare -A REPO_ADDRESS
declare -A REPO_SITE
REPO_ADDRESS[CMAKE]="cmake.org/cmake.git"
REPO_SITE[CMAKE]="cmake.org"
REPO_ADDRESS[CMAKE]="gitlab.kitware.com/cmake/cmake.git"
REPO_SITE[CMAKE]="gitlab.kitware.com"
REPO_ADDRESS[ZLIB]="github.com/madler/zlib.git"
REPO_SITE[ZLIB]="GitHub"
REPO_ADDRESS[PLIB]="git.code.sf.net/p/libplib/code"
@ -815,7 +815,7 @@ if _elementIn "CMAKE" "${WHATTOBUILD[@]}"; then
mkdir -p "cmake"
cd "$CBD"/cmake
_gitDownload CMAKE
_gitUpdate master
_gitUpdate release
if [ "$RECONFIGURE" = "y" ]; then
cd "$CBD"