Skip to content

Commit 62e20c5

Browse files
committed
mom5: depend on oasis3-mct, not oasis3-mct@access-esm1.5, with version access-esm1.6
1 parent f3d8c58 commit 62e20c5

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

packages/mom5/package.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,12 @@ class Mom5(CMakePackage, MakefilePackage):
6363

6464
with when("@access-om2,legacy-access-om2-bgc"):
6565
depends_on("datetime-fortran")
66-
depends_on("oasis3-mct+deterministic", when="+deterministic")
67-
depends_on("oasis3-mct~deterministic", when="~deterministic")
6866
depends_on("libaccessom2+deterministic", when="+deterministic")
6967
depends_on("libaccessom2~deterministic", when="~deterministic")
7068

71-
with when("@access-esm1.6"):
72-
depends_on("oasis3-mct@access-esm1.5+deterministic", when="+deterministic")
73-
depends_on("oasis3-mct@access-esm1.5~deterministic", when="~deterministic")
69+
with when("@access-esm1.6,@access-om2,legacy-access-om2-bgc"):
70+
depends_on("oasis3-mct+deterministic", when="+deterministic")
71+
depends_on("oasis3-mct~deterministic", when="~deterministic")
7472

7573
# NOTE: Spack will also match "access-om2-legacy-bgc" here, that's why
7674
# it has been renamed to "legacy-access-om2-bgc".

0 commit comments

Comments
 (0)