summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/cmake/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/cmake/package.py')
-rw-r--r--var/spack/repos/builtin/packages/cmake/package.py47
1 files changed, 24 insertions, 23 deletions
diff --git a/var/spack/repos/builtin/packages/cmake/package.py b/var/spack/repos/builtin/packages/cmake/package.py
index 150936d1cb..a43c9b7ffb 100644
--- a/var/spack/repos/builtin/packages/cmake/package.py
+++ b/var/spack/repos/builtin/packages/cmake/package.py
@@ -1,27 +1,8 @@
-##############################################################################
-# Copyright (c) 2013-2017, Lawrence Livermore National Security, LLC.
-# Produced at the Lawrence Livermore National Laboratory.
+# Copyright 2013-2018 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
-# This file is part of Spack.
-# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
-# LLNL-CODE-647188
-#
-# For details, see https://github.com/spack/spack
-# Please also see the NOTICE and LICENSE files for our notice and the LGPL.
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License (as
-# published by the Free Software Foundation) version 2.1, February 1999.
-#
-# This program is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
-# conditions of the GNU Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-##############################################################################
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
from spack import *
@@ -33,6 +14,20 @@ class Cmake(Package):
list_url = 'https://cmake.org/files/'
list_depth = 1
+ version('3.12.3', 'acbf13af31a741794106b76e5d22448b004a66485fc99f6d7df4d22e99da164a')
+ version('3.12.2', '6e7c550cfa1c2e216b35903dc70d80af')
+ version('3.12.1', '10109246a51102bfda45ff3935275fbf')
+ version('3.12.0', 'ab4aa7df9301c94cdd6f8ee4fe66458b')
+ version('3.11.4', '72e168b3bad2f9c34dcebbad7af56ff0')
+ version('3.11.3', '3f923154ed47128f13b08eacd207d9ee')
+ version('3.11.2', 'd2d554c05fc07cfae7846d2aa205f12a')
+ version('3.11.1', '12a3177477e4e2c7bc514193d421dafe')
+ version('3.11.0', 'f3ebc79b5dec85b49abe75958ffa1a03')
+ version('3.10.3', '1c38c67295ca696aeafd8c059d748b38')
+ version('3.10.2', '732808e17fc14dc8cee50d51518c34eb')
+ version('3.10.1', '9a726e5ec69618b172aa4b06d18c3998')
+ version('3.10.0', 'f3f8e70ca3055f3cd288f89ff233057e')
+ version('3.9.6', '084b1c8b2efc1c1ba432dea37243c0ae')
version('3.9.4', '33769e001bdcd788f565bf378692e5ae')
version('3.9.0', '180e23b4c9b55915d271b315297f6951')
version('3.8.2', 'b5dff61f6a7f1305271ab3f6ae261419')
@@ -78,8 +73,14 @@ class Cmake(Package):
# https://gitlab.kitware.com/cmake/cmake/issues/16226
patch('intel-c-gnu11.patch', when='@3.6.0:3.6.1')
+ # https://gitlab.kitware.com/cmake/cmake/issues/18232
+ patch('nag-response-files.patch', when='@3.7:3.12')
+
conflicts('+qt', when='^qt@5.4.0') # qt-5.4.0 has broken CMake modules
+ # https://gitlab.kitware.com/cmake/cmake/issues/18166
+ conflicts('%intel', when='@3.11.0:3.11.4')
+
phases = ['bootstrap', 'build', 'install']
def url_for_version(self, version):