diff --git a/repos/spack_stack/spack_repo/spack_stack/packages/ufs_weather_model_env/package.py b/repos/spack_stack/spack_repo/spack_stack/packages/ufs_weather_model_env/package.py index f00d05cf1..2a3c079db 100644 --- a/repos/spack_stack/spack_repo/spack_stack/packages/ufs_weather_model_env/package.py +++ b/repos/spack_stack/spack_repo/spack_stack/packages/ufs_weather_model_env/package.py @@ -8,7 +8,7 @@ class UfsWeatherModelEnv(BundlePackage): - """Development environment for ufs-weathermodel-bundle""" + """Development environment for ufs-weather-model""" homepage = "https://github.com/ufs-community/ufs-weather-model" git = "https://github.com/ufs-community/ufs-weather-model.git" @@ -22,25 +22,36 @@ class UfsWeatherModelEnv(BundlePackage): default=False, description="Build a debug version of certain dependencies (ESMF, MAPL)", ) - variant("python", default=True, description="Build Python dependencies") + variant("python", default=True, description="Include extra Python packages") + variant("ncutils", default=True, description="Include extra NetCDF utilities (cprnc and nccmp)") - depends_on("base-env", type="run") - depends_on("ufs-pyenv", type="run", when="+python") + depends_on("cmake", type="run") + depends_on("python", type="run") - depends_on("fms +gfs_phys constants=GFS", type="run") depends_on("bacio", type="run") depends_on("crtm", type="run") + depends_on("esmf~debug", type="run", when="~debug") + depends_on("esmf+debug", type="run", when="+debug") + depends_on("fms +gfs_phys constants=GFS", type="run") depends_on("g2", type="run") depends_on("g2tmpl", type="run") + depends_on("gftl-shared", type="run") + depends_on("hdf5", type="run") depends_on("ip", type="run") + depends_on("jasper", type="run") + depends_on("libpng", type="run") + depends_on("mapl~debug", type="run", when="~debug") + depends_on("mapl+debug", type="run", when="+debug") + depends_on("netcdf-c", type="run") + depends_on("netcdf-fortran", type="run") + depends_on("parallelio", type="run") + depends_on("scotch", type="run") depends_on("sp", type="run", when="^ip@:4") depends_on("w3emc", type="run") - depends_on("scotch", type="run") - depends_on("cprnc", type="run") + depends_on("zlib-api", type="run") - depends_on("esmf~debug", type="run", when="~debug") - depends_on("esmf+debug", type="run", when="+debug") - depends_on("mapl~debug", type="run", when="~debug") - depends_on("mapl+debug", type="run", when="+debug") + depends_on("ufs-pyenv", type="run", when="+python") + depends_on("cprnc", type="run", when="+ncutils") + depends_on("nccmp", type="run", when="+ncutils") # There is no need for install() since there is no code.