From a588d5dc58d40c54cfcc6dfd599104ce02dbc02c Mon Sep 17 00:00:00 2001 From: William Downs Date: Fri, 11 Jun 2021 09:22:21 -0400 Subject: gchp: add v13.0.2 and dev branch (#24206) --- var/spack/repos/builtin/packages/gchp/package.py | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/var/spack/repos/builtin/packages/gchp/package.py b/var/spack/repos/builtin/packages/gchp/package.py index 7e572fcdcc..b31c31211c 100644 --- a/var/spack/repos/builtin/packages/gchp/package.py +++ b/var/spack/repos/builtin/packages/gchp/package.py @@ -12,18 +12,17 @@ class Gchp(CMakePackage): homepage = "https://gchp.readthedocs.io/" url = "https://github.com/geoschem/GCHP/archive/13.0.1.tar.gz" - + git = "https://github.com/geoschem/GCHP.git" maintainers = ['williamdowns'] - version('13.0.1', git='https://github.com/geoschem/GCHP.git', - commit='f40a2476fda901eacf78c0972fdb6c20e5a06700', submodules=True) - version('13.0.0', git='https://github.com/geoschem/GCHP.git', - commit='1f5a5c5630c5d066ff8306cbb8b83e267ca7c265', submodules=True) + version('13.0.2', commit='017ad7276a801ab7b3d6945ad24602eb9927cf01', submodules=True) + version('13.0.1', commit='f40a2476fda901eacf78c0972fdb6c20e5a06700', submodules=True) + version('13.0.0', commit='1f5a5c5630c5d066ff8306cbb8b83e267ca7c265', submodules=True) + version('dev', branch='dev', submodules=True) patch('for_aarch64.patch', when='target=aarch64:') depends_on('esmf@8.0.1', when='@13.0.0:') - depends_on('esmf@8.0.1: -lapack -pio -pnetcdf -xerces', when='@13.0.0-rc.0') depends_on('mpi@3') depends_on('netcdf-fortran') depends_on('cmake@3.13:') @@ -49,7 +48,7 @@ class Gchp(CMakePackage): return args def install(self, spec, prefix): - super().install(spec, prefix) + super(Gchp, self).install(spec, prefix) # Preserve source code in prefix for two reasons: # 1. Run directory creation occurs independently of code compilation, # possibly multiple times depending on user needs, -- cgit v1.2.3-70-g09d2