Skip to content

Commit

Permalink
Add package recipe for ACCESS-TEST-model (#206)
Browse files Browse the repository at this point in the history
* Add package recipe for ACCESS-TEST-model
---------
Co-authored-by: Harshula Jayasuriya <harshula.jayasuriya@anu.edu.au>
  • Loading branch information
aidanheerdegen authored Mar 6, 2025
1 parent 2d3a8ce commit c97ce7c
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions packages/access-test-model/package.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Copyright Spack Project Developers. See COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

# Based on spack/var/spack/repos/builtin/packages/fiat/package.py

from spack.package import *


class AccessTestModel(CMakePackage):
"""ACCESS Test Model is a small test FORTRAN model component
used to test CI workflows."""

homepage = "https://github.com/ACCESS-NRI/access-test-model"
git = "https://github.com/ACCESS-NRI/access-test-model.git"

maintainers("aidanheerdegen", "codegat", "harshula")

license("Apache-2.0")

version("main", branch="main", no_cache=True)

variant("mpi", default=True, description="Use MPI")

depends_on("mpi", when="+mpi")

root_cmakelists_dir = "stub"

def url_for_version(self, version):
return "https://github.com/ACCESS-NRI/access-test-model/tarball/{0}".format(version)

0 comments on commit c97ce7c

Please sign in to comment.