diff options
author | Jacob King <12665462+jacobrking@users.noreply.github.com> | 2023-10-09 06:39:40 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-09 14:39:40 +0200 |
commit | c116eee921b904b95661c3bb22ff94c5d7f923fe (patch) | |
tree | 2e4d8944dcb7d7c06bb5d7284cf5d72246cb0f4d | |
parent | 9cb291b41b043d520819f7b7ac2d839344985be4 (diff) | |
download | spack-c116eee921b904b95661c3bb22ff94c5d7f923fe.tar.gz spack-c116eee921b904b95661c3bb22ff94c5d7f923fe.tar.bz2 spack-c116eee921b904b95661c3bb22ff94c5d7f923fe.tar.xz spack-c116eee921b904b95661c3bb22ff94c5d7f923fe.zip |
nimrod-aai: add v23.9. (#40303)
-rw-r--r-- | var/spack/repos/builtin/packages/nimrod-aai/package.py | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/nimrod-aai/package.py b/var/spack/repos/builtin/packages/nimrod-aai/package.py index 90bdd0832a..1ad7101e1a 100644 --- a/var/spack/repos/builtin/packages/nimrod-aai/package.py +++ b/var/spack/repos/builtin/packages/nimrod-aai/package.py @@ -14,13 +14,14 @@ class NimrodAai(CMakePackage): homepage = "https://gitlab.com/NIMRODteam/nimrod-abstract" url = ( - "https://gitlab.com/NIMRODteam/nimrod-abstract/-/archive/23.6/nimrod-abstract-23.6.tar.gz" + "https://gitlab.com/NIMRODteam/nimrod-abstract/-/archive/23.9/nimrod-abstract-23.9.tar.gz" ) git = "https://gitlab.com/NIMRODteam/nimrod-abstract.git" maintainers("jacobrking") version("main", branch="main") + version("23.9", sha256="212d591c5a5e7a394b56a5cf2f92cc69feafc49dd5f042fa95eeb6441649390b") version("23.6", sha256="1794b89a5a64ff2b3c548818b90d17eef85d819ba4f63a76c41a682d5b76c14f") variant("debug", default=False, description="Whether to enable debug code") @@ -41,8 +42,9 @@ class NimrodAai(CMakePackage): ) depends_on("cmake", type="build") - depends_on("hdf5+fortran", type="build") depends_on("mpi", when="+mpi") + depends_on("hdf5+fortran~mpi", type="build", when="~mpi") + depends_on("hdf5+fortran+mpi", type="build", when="+mpi") def cmake_args(self): args = [ @@ -62,3 +64,9 @@ class NimrodAai(CMakePackage): ] args.append(addl_args) return args + + @run_after("build") + @on_package_attributes(run_tests=True) + def check(self): + with working_dir(self.builder.build_directory): + ctest("--output-on-failure") |