gchp: add v13.0.2 and dev branch (#24206)

This commit is contained in:
William Downs 2021-06-11 09:22:21 -04:00 committed by GitHub
parent 31c4cdf59c
commit a588d5dc58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,18 +12,17 @@ class Gchp(CMakePackage):
homepage = "https://gchp.readthedocs.io/" homepage = "https://gchp.readthedocs.io/"
url = "https://github.com/geoschem/GCHP/archive/13.0.1.tar.gz" url = "https://github.com/geoschem/GCHP/archive/13.0.1.tar.gz"
git = "https://github.com/geoschem/GCHP.git"
maintainers = ['williamdowns'] maintainers = ['williamdowns']
version('13.0.1', git='https://github.com/geoschem/GCHP.git', version('13.0.2', commit='017ad7276a801ab7b3d6945ad24602eb9927cf01', submodules=True)
commit='f40a2476fda901eacf78c0972fdb6c20e5a06700', submodules=True) version('13.0.1', commit='f40a2476fda901eacf78c0972fdb6c20e5a06700', submodules=True)
version('13.0.0', git='https://github.com/geoschem/GCHP.git', version('13.0.0', commit='1f5a5c5630c5d066ff8306cbb8b83e267ca7c265', submodules=True)
commit='1f5a5c5630c5d066ff8306cbb8b83e267ca7c265', submodules=True) version('dev', branch='dev', submodules=True)
patch('for_aarch64.patch', when='target=aarch64:') patch('for_aarch64.patch', when='target=aarch64:')
depends_on('esmf@8.0.1', when='@13.0.0:') 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('mpi@3')
depends_on('netcdf-fortran') depends_on('netcdf-fortran')
depends_on('cmake@3.13:') depends_on('cmake@3.13:')
@ -49,7 +48,7 @@ def cmake_args(self):
return args return args
def install(self, spec, prefix): def install(self, spec, prefix):
super().install(spec, prefix) super(Gchp, self).install(spec, prefix)
# Preserve source code in prefix for two reasons: # Preserve source code in prefix for two reasons:
# 1. Run directory creation occurs independently of code compilation, # 1. Run directory creation occurs independently of code compilation,
# possibly multiple times depending on user needs, # possibly multiple times depending on user needs,