Skip to content

Commit

Permalink
netcdf-fortran: add version 4.6.1 and fix the checks (spack#39043)
Browse files Browse the repository at this point in the history
* netcdf-fortran: add version 4.6.1
* netcdf-fortran: fix the 'check' method
  • Loading branch information
skosukhin authored and xylar committed Jul 30, 2023
1 parent 64babb4 commit 3eaac26
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions var/spack/repos/builtin/packages/netcdf-fortran/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ class NetcdfFortran(AutotoolsPackage):

maintainers("skosukhin", "WardF")

version("4.6.1", sha256="b50b0c72b8b16b140201a020936aa8aeda5c79cf265c55160986cd637807a37a")
version("4.6.0", sha256="198bff6534cc85a121adc9e12f1c4bc53406c403bda331775a1291509e7b2f23")
version("4.5.4", sha256="0a19b26a2b6e29fab5d29d7d7e08c24e87712d09a5cafeea90e16e0a2ab86b81")
version("4.5.3", sha256="123a5c6184336891e62cf2936b9f2d1c54e8dee299cfd9d2c1a1eb05dd668a74")
Expand Down Expand Up @@ -128,10 +129,8 @@ def configure_args(self):

return config_args

@when("@:4.4.5")
def check(self):
with working_dir(self.build_directory):
make("check", parallel=False)
make("check", parallel=self.spec.satisfies("@4.5:"))

@run_after("install")
def cray_module_filenames(self):
Expand Down

0 comments on commit 3eaac26

Please sign in to comment.