Skip to content

Commit

Permalink
Add Harshula's requested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
SeanBryan51 committed Feb 2, 2024
1 parent 67ddd8f commit 096b5e9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/cable/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ class Cable(CMakePackage):

maintainers("SeanBryan51")

version("main", branch="main")

def url_for_version(self, version):
return "https://github.com/CABLE-LSM/CABLE/tarball/{0}".format(version)

variant(
"mpi",
default=False,
Expand All @@ -31,7 +36,7 @@ class Cable(CMakePackage):
values=("Debug", "Release"),
)

depends_on("netcdf-fortran")
depends_on("netcdf-fortran@4.5.2:")
depends_on("mpi", when="+mpi")

def cmake_args(self):
Expand Down

0 comments on commit 096b5e9

Please sign in to comment.