Skip to content

Commit

Permalink
gfsio: add v1.4.2 (spack#46145)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderRichert-NOAA committed Sep 3, 2024
1 parent 06e34e5 commit 3f2a8ae
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions var/spack/repos/builtin/packages/gfsio/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,17 @@ class Gfsio(CMakePackage):
maintainers("AlexanderRichert-NOAA", "Hang-Lei-NOAA", "edwardhartnett")

version("develop", branch="develop")
version("1.4.2", sha256="1e92ba60c603a8d3019b2aa8134fb3a69e078b2d9398990638576d6c5aea4beb")
version("1.4.1", sha256="eab106302f520600decc4f9665d7c6a55e7b4901fab6d9ef40f29702b89b69b1")

depends_on("pfunit", type="test")

conflicts("%oneapi", when="@:1.4.1", msg="Requires @1.4.2: for Intel oneAPI")

def cmake_args(self):
args = [self.define("ENABLE_TESTS", self.run_tests)]
return args

def setup_run_environment(self, env):
lib = find_libraries("libgfsio", root=self.prefix, shared=False, recursive=True)
# Only one library version, but still need to set _4 to make NCO happy
Expand Down

0 comments on commit 3f2a8ae

Please sign in to comment.