-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added access-om2-bgc package definition * .ruff.toml: Removed check on line length as part of #73 * Update packages/access-om2-bgc/package.py Co-authored-by: Aidan Heerdegen <aidan.heerdegen@anu.edu.au> --------- Co-authored-by: Aidan Heerdegen <aidan.heerdegen@anu.edu.au>
- Loading branch information
1 parent
203abec
commit 244d483
Showing
2 changed files
with
31 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
select = ["E","F"] | ||
ignore = ["E221","E241","E272","E731", "F403","F405","F821"] | ||
line-length = 88 | ||
ignore = ["E221","E241","E272","E501","E731", "F403","F405","F821"] | ||
output-format = "github" | ||
|
||
# "E129", "F999" aren't supported |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Copyright 2013-2023 Lawrence Livermore National Security, LLC and other | ||
# Spack Project Developers. See the top-level COPYRIGHT file for details. | ||
# | ||
# Copyright 2023 ACCESS-NRI | ||
# | ||
# SPDX-License-Identifier: (Apache-2.0 OR MIT) | ||
|
||
from spack.package import * | ||
|
||
class AccessOm2Bgc(BundlePackage): | ||
"""ACCESS-OM2-BGC bundle contains the coupled CICE5 and MOM5 (BGC variant) models.""" | ||
|
||
homepage = "https://www.access-nri.org.au" | ||
|
||
git = "https://github.com/ACCESS-NRI/ACCESS-OM2-BGC.git" | ||
|
||
maintainers = ["harshula"] | ||
|
||
version("latest") | ||
|
||
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") | ||
|
||
# There is no need for install() since there is no code. |