summaryrefslogtreecommitdiff
path: root/var/spack/packages/cleverleaf/package.py
blob: ddbe57f0194d715547816a07d5588a3ea3ecfb2e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
from spack import *

class Cleverleaf(Package):
    """
    CleverLeaf is a hydrodynamics mini-app that extends CloverLeaf with Adaptive
    Mesh Refinement using the SAMRAI toolkit from Lawrence Livermore National
    Laboratory. The primary goal of CleverLeaf is to evaluate the application of
    AMR to the Lagrangian-Eulerian hydrodynamics scheme used by CloverLeaf.
    """

    homepage = "http://uk-mac.github.io/CleverLeaf/"
    url      = "https://github.com/UK-MAC/CleverLeaf/tarball/master"

    version('develop', git='https://github.com/UK-MAC/CleverLeaf_ref.git', branch='develop')

    depends_on("SAMRAI@3.8.0")

    def install(self, spec, prefix):
        cmake(*std_cmake_args)
        make()
        make("install")