Skip to content

Commit

Permalink
Add restart_repro variant to access-om2 (default true) (#79)
Browse files Browse the repository at this point in the history
Add +restart_repro variant to access-om2 (default true)
  • Loading branch information
aidanheerdegen authored Mar 21, 2024
1 parent 203abec commit b08bebd
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions packages/access-om2/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,17 @@ class AccessOm2(BundlePackage):
version("latest")

variant("deterministic", default=False, description="Deterministic build.")
variant("restart_repro", default=True, description="Reproducible across varying restart boundaries")

Check failure on line 22 in packages/access-om2/package.py

View workflow job for this annotation

GitHub Actions / Check syntax

Ruff (E501)

packages/access-om2/package.py:22:89: E501 Line too long (104 > 88 characters)

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")
with when("+deterministic"):
depends_on("mom5+deterministic+restart_repro", when="+restart_repro")
depends_on("mom5+deterministic~restart_repro", when="~restart_repro")
with when("~deterministic"):
depends_on("mom5~deterministic+restart_repro", when="+restart_repro")
depends_on("mom5~deterministic~restart_repro", when="~restart_repro")

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

0 comments on commit b08bebd

Please sign in to comment.