summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/savanna/package.py
blob: 6daf3e48241d7a6b0360cc253b147d9ab563d87f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright 2013-2024 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 Savanna(MakefilePackage):
    """CODARcode Savanna runtime framework for high performance,
    workflow management using Swift/T and ADIOS.
    """

    homepage = "https://github.com/CODARcode/savanna"
    git = "https://github.com/CODARcode/savanna.git"

    version("develop", branch="master", submodules=True)
    version("0.5", tag="0.5", submodules=True)

    variant("tau", default=False, description="Enable TAU profiling support")

    depends_on("mpi")
    depends_on("stc")
    depends_on("adios +fortran +zlib +sz +zfp staging=dataspaces")  # flexpath
    depends_on("mpix-launch-swift")
    depends_on("tau", when="+tau")

    def install(self, spec, prefix):
        install_tree(".", prefix)