Skip to content

Commit

Permalink
access-om2-bgc: pass type to depends_on() (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
harshula authored Jul 5, 2024
1 parent c217180 commit f30cf04
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions packages/access-om2-bgc/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,19 @@ class AccessOm2Bgc(BundlePackage):

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 type=ACCESS-OM-BGC", when="+deterministic")
depends_on("mom5~deterministic type=ACCESS-OM-BGC", when="~deterministic")
depends_on("libaccessom2+deterministic", when="+deterministic", type="run")
depends_on("libaccessom2~deterministic", when="~deterministic", type="run")
depends_on("cice5+deterministic", when="+deterministic", type="run")
depends_on("cice5~deterministic", when="~deterministic", type="run")
depends_on(
"mom5+deterministic type=ACCESS-OM-BGC",
when="+deterministic",
type="run"
)
depends_on(
"mom5~deterministic type=ACCESS-OM-BGC",
when="~deterministic",
type="run"
)

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

0 comments on commit f30cf04

Please sign in to comment.