Skip to content

Commit c97ce7c

Browse files
Add package recipe for ACCESS-TEST-model (#206)
* Add package recipe for ACCESS-TEST-model --------- Co-authored-by: Harshula Jayasuriya <[email protected]>
1 parent 2d3a8ce commit c97ce7c

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

packages/access-test-model/package.py

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Copyright Spack Project Developers. See COPYRIGHT file for details.
2+
#
3+
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
4+
5+
# Based on spack/var/spack/repos/builtin/packages/fiat/package.py
6+
7+
from spack.package import *
8+
9+
10+
class AccessTestModel(CMakePackage):
11+
"""ACCESS Test Model is a small test FORTRAN model component
12+
used to test CI workflows."""
13+
14+
homepage = "https://github.com/ACCESS-NRI/access-test-model"
15+
git = "https://github.com/ACCESS-NRI/access-test-model.git"
16+
17+
maintainers("aidanheerdegen", "codegat", "harshula")
18+
19+
license("Apache-2.0")
20+
21+
version("main", branch="main", no_cache=True)
22+
23+
variant("mpi", default=True, description="Use MPI")
24+
25+
depends_on("mpi", when="+mpi")
26+
27+
root_cmakelists_dir = "stub"
28+
29+
def url_for_version(self, version):
30+
return "https://github.com/ACCESS-NRI/access-test-model/tarball/{0}".format(version)

0 commit comments

Comments
 (0)