summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/cmake/package.py9
1 files changed, 1 insertions, 8 deletions
diff --git a/var/spack/repos/builtin/packages/cmake/package.py b/var/spack/repos/builtin/packages/cmake/package.py
index c56d733d45..60ec0b4b38 100644
--- a/var/spack/repos/builtin/packages/cmake/package.py
+++ b/var/spack/repos/builtin/packages/cmake/package.py
@@ -10,9 +10,7 @@ class Cmake(Package):
"""A cross-platform, open-source build system. CMake is a family of
tools designed to build, test and package software."""
homepage = 'https://www.cmake.org'
- url = 'https://cmake.org/files/v3.4/cmake-3.4.3.tar.gz'
- list_url = 'https://cmake.org/files/'
- list_depth = 1
+ url = 'https://github.com/Kitware/CMake/releases/download/v3.13.0/cmake-3.13.0.tar.gz'
version('3.13.0', '4058b2f1a53c026564e8936698d56c3b352d90df067b195cb749a97a3d273c90')
version('3.12.4', '5255584bfd043eb717562cff8942d472f1c0e4679c4941d84baadaa9b28e3194')
@@ -85,11 +83,6 @@ class Cmake(Package):
phases = ['bootstrap', 'build', 'install']
- def url_for_version(self, version):
- """Handle CMake's version-based custom URLs."""
- url = 'https://cmake.org/files/v{0}/cmake-{1}.tar.gz'
- return url.format(version.up_to(2), version)
-
def bootstrap_args(self):
spec = self.spec
args = [