blob: c0608a582b640f314044c31098620b3e675849ef (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Copyright 2013-2023 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.package import *
class WrfIo(CMakePackage):
"""The WRFIO package is a lightweight WRF-IO API library for Unified
Post Processor (UPP). It reads wrf forecasts (WRF state plus
diagnostics).
This is part of the NCEPLIBS project."""
homepage = "https://noaa-emc.github.io/NCEPLIBS-wrf_io"
url = "https://github.com/NOAA-EMC/NCEPLIBS-wrf_io/archive/refs/tags/v1.2.0.tar.gz"
git = "https://github.com/NOAA-EMC/NCEPLIBS-wrf_io"
maintainers("AlexanderRichert-NOAA", "Hang-Lei-NOAA", "edwardhartnett")
version("develop", branch="develop")
version("1.2.0", sha256="000cf5294a2c68460085258186e1f36c86d3d0d9c433aa969a0f92736b745617")
variant("openmp", default=False, description="Enable multithreading with OpenMP")
depends_on("netcdf-c")
depends_on("netcdf-fortran")
def cmake_args(self):
args = [self.define_from_variant("OPENMP", "openmp")]
return args
|