Add HACCabana proxy app (#34567)
This commit is contained in:
parent
642c5b876b
commit
ffe527b141
33
var/spack/repos/builtin/packages/haccabana/package.py
Normal file
33
var/spack/repos/builtin/packages/haccabana/package.py
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user