Skip to content

Commit

Permalink
access-om2: add a variant for deterministic builds
Browse files Browse the repository at this point in the history
  • Loading branch information
harshula committed Aug 7, 2023
1 parent 6f5ffb2 commit b64870c
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions packages/access-om2/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,13 @@ class AccessOm2(BundlePackage):

version("2023.01.001-1")

depends_on("libaccessom2")
depends_on("cice5")
depends_on("mom5")
variant("deterministic", default=False, description="Deterministic build.")

depends_on("libaccessom2+deterministic", when="+deterministic")
depends_on("libaccessom2~deterministic", when="~deterministic")
depends_on("cice5+deterministic", when="+deterministic")
depends_on("cice5~deterministic", when="~deterministic")
depends_on("mom5+deterministic", when="+deterministic")
depends_on("mom5~deterministic", when="~deterministic")

# There is no need for install() since there is no code.

0 comments on commit b64870c

Please sign in to comment.