Skip to content

Commit b06a034

Browse files
authored
access-mom6: Add conflict rule for access3 and mom6_solo (#418)
1 parent c8a4969 commit b06a034

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • spack_repo/access/nri/packages/access_mom6

spack_repo/access/nri/packages/access_mom6/package.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ class AccessMom6(CMakePackage):
4646
when="@2025.07.001:"
4747
)
4848

49+
conflicts("~access3", when="~mom6_solo", msg="At least one of access3 or mom6_solo must be enabled")
50+
4951
depends_on("c", type="build")
5052
depends_on("fortran", type="build")
5153

0 commit comments

Comments
 (0)