diff options
author | Edward Hartnett <38856240+edwardhartnett@users.noreply.github.com> | 2021-09-24 02:17:07 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-24 02:17:07 -0600 |
commit | 6d2ce0535fba51dbfeb3afffdf7c37c0adbfce72 (patch) | |
tree | cbccc409f9862a9b27fb5c5670235524bc81b529 /var | |
parent | 2e4528c55c36d141a1511438092f18c472dd1f56 (diff) | |
download | spack-6d2ce0535fba51dbfeb3afffdf7c37c0adbfce72.tar.gz spack-6d2ce0535fba51dbfeb3afffdf7c37c0adbfce72.tar.bz2 spack-6d2ce0535fba51dbfeb3afffdf7c37c0adbfce72.tar.xz spack-6d2ce0535fba51dbfeb3afffdf7c37c0adbfce72.zip |
added NOAA package grib-util (#26200)
* added NOAA package grib-util
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/grib-util/package.py | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/grib-util/package.py b/var/spack/repos/builtin/packages/grib-util/package.py new file mode 100644 index 0000000000..3d1ade2aff --- /dev/null +++ b/var/spack/repos/builtin/packages/grib-util/package.py @@ -0,0 +1,34 @@ +# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack import * + + +class GribUtil(CMakePackage): + """This is a collection of NCEP GRIB related utilities. + + This is related to NOAA's NCEPLIBS project.""" + + homepage = "https://github.com/NOAA-EMC/NCEPLIBS-grib_util" + url = "https://github.com/NOAA-EMC/NCEPLIBS-grib_util/archive/refs/tags/v1.2.3.tar.gz" + + maintainers = ['kgerheiser', 'Hang-Lei-NOAA', 'edwardhartnett'] + + version('1.2.3', sha256='b17b08e12360bb8ad01298e615f1b4198e304b0443b6db35fe990a817e648ad5') + + variant('openmp', default=False, description='Use OpenMP multithreading') + + depends_on('jasper') + depends_on('libpng') + depends_on('zlib') + depends_on('w3nco') + depends_on('g2') + depends_on('bacio') + depends_on('ip') + depends_on('sp') + + def cmake_args(self): + args = [self.define_from_variant('OPENMP', 'openmp')] + return args |