summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/gromacs/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/gromacs/package.py')
-rw-r--r--var/spack/repos/builtin/packages/gromacs/package.py44
1 files changed, 16 insertions, 28 deletions
diff --git a/var/spack/repos/builtin/packages/gromacs/package.py b/var/spack/repos/builtin/packages/gromacs/package.py
index 22f0527439..f51aa9d7d7 100644
--- a/var/spack/repos/builtin/packages/gromacs/package.py
+++ b/var/spack/repos/builtin/packages/gromacs/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 *
@@ -39,13 +20,19 @@ class Gromacs(CMakePackage):
"""
homepage = 'http://www.gromacs.org'
- url = 'http://ftp.gromacs.org/gromacs/gromacs-5.1.2.tar.gz'
+ url = 'http://ftp.gromacs.org/gromacs/gromacs-5.1.2.tar.gz'
+ git = 'https://github.com/gromacs/gromacs.git'
+ version('develop', branch='master')
+ version('2018.2', '7087462bb08393aec4ce3192fa4cd8df')
+ version('2018.1', '7ee393fa3c6b7ae351d47eae2adf980e')
+ version('2018', '6467ffb1575b8271548a13abfba6374c')
+ version('2016.5', 'f41807e5b2911ccb547a3fd11f105d47')
version('2016.4', '19c8b5c85f3ec62df79d2249a3c272f8')
version('2016.3', 'e9e3a41bd123b52fbcc6b32d09f8202b')
- version('5.1.4', 'ba2e34d59b3982603b4935d650c08040')
- version('5.1.2', '614d0be372f1a6f1f36382b7a6fcab98')
- version('develop', git='https://github.com/gromacs/gromacs', branch='master')
+ version('5.1.5', '831fe741bcd9f1612155dffc919885f2')
+ version('5.1.4', 'ba2e34d59b3982603b4935d650c08040')
+ version('5.1.2', '614d0be372f1a6f1f36382b7a6fcab98')
variant('mpi', default=True, description='Activate MPI support')
variant('shared', default=True,
@@ -64,7 +51,8 @@ class Gromacs(CMakePackage):
depends_on('plumed+mpi', when='+plumed+mpi')
depends_on('plumed~mpi', when='+plumed~mpi')
depends_on('fftw')
- depends_on('cmake@2.8.8:', type='build')
+ depends_on('cmake@2.8.8:3.9.99', type='build')
+ depends_on('cmake@3.4.3:3.9.99', type='build', when='@2018:')
depends_on('cuda', when='+cuda')
def patch(self):