diff options
author | Sam Reeve <6740307+streeve@users.noreply.github.com> | 2022-12-16 16:03:08 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-16 14:03:08 -0700 |
commit | ffe527b141703fa8d9bf3c45b8c05a24b8f954ae (patch) | |
tree | 889bf66ba319bdd04067f6e82c324452a4563039 /var | |
parent | 642c5b876b11f23323338e9025470e6fbdc6e913 (diff) | |
download | spack-ffe527b141703fa8d9bf3c45b8c05a24b8f954ae.tar.gz spack-ffe527b141703fa8d9bf3c45b8c05a24b8f954ae.tar.bz2 spack-ffe527b141703fa8d9bf3c45b8c05a24b8f954ae.tar.xz spack-ffe527b141703fa8d9bf3c45b8c05a24b8f954ae.zip |
Add HACCabana proxy app (#34567)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/haccabana/package.py | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/haccabana/package.py b/var/spack/repos/builtin/packages/haccabana/package.py new file mode 100644 index 0000000000..8789bf3e41 --- /dev/null +++ b/var/spack/repos/builtin/packages/haccabana/package.py @@ -0,0 +1,33 @@ +# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack.package import * + + +class Haccabana(CMakePackage): + """HACCabana: A proxy app for HACC short range forces. + The Hardware/Hybrid Accelerated Cosmology Code (HACC), a cosmology + N-body-code framework, is designed to run efficiently on diverse computing + architectures and to scale to millions of cores and beyond.""" + + homepage = "https://github.com/ECP-CoPA/HACCabana" + git = "https://github.com/ECP-CoPA/HACCabana.git" + + maintainers = ["steverangel", "adrianpope", "streeve", "junghans"] + + tags = ["proxy-app", "ecp-proxy-app"] + + version("master", branch="master") + + variant("shared", default=True, description="Build shared libraries") + + depends_on("cmake@3.9:", type="build") + depends_on("kokkos@3.0:") + depends_on("cabana@master") + + def cmake_args(self): + options = [self.define_from_variant("BUILD_SHARED_LIBS", "shared")] + + return options |