summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/ecp-proxy-apps/package.py
blob: 501ad6440d8a429d9494c9751fbb54cffff8fa5b (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# Copyright 2013-2020 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 import *


class EcpProxyApps(BundlePackage):
    """This is a collection of packages that represents the official suite of
       DOE/ECP proxy applications. This is a Spack bundle package that
       installs the ECP proxy application suite.
    """

    tags = ['proxy-app', 'ecp-proxy-app']
    maintainers = ['rspavel']

    homepage = "https://proxyapps.exascaleproject.org"

    version('3.0')
    version('2.1')
    version('2.0')
    version('1.1')
    version('1.0')

    variant('candle', default=False,
            description='Also build CANDLE Benchmarks')

    # Added with release 3.0
    depends_on('miniamr@1.4.4', when='@3.0:')
    depends_on('xsbench@19', when='@3.0:')

    # Added with release 2.1
    depends_on('amg@1.2', when='@2.1:')
    depends_on('miniamr@1.4.3', when='@2.1:')

    # Added with release 2.0
    depends_on('ember@1.0.0', when='@2.0:')
    depends_on('miniqmc@0.4.0', when='@2.0:')
    depends_on('minivite@1.0', when='@2.0:')
    depends_on('picsarlite@0.1', when='@2.0:')
    depends_on('thornado-mini@1.0', when='@2.0:')

    depends_on('candle-benchmarks@0.1', when='+candle @2.0:2.1')
    depends_on('laghos@2.0', when='@2.0:')
    depends_on('macsio@1.1', when='@2.0:')
    depends_on('sw4lite@1.1', when='@2.0:')
    depends_on('xsbench@18', when='@2.0:2.1')

    # Dependencies for version 2.0
    depends_on('amg@1.1', when='@2.0')
    depends_on('miniamr@1.4.1', when='@2.0:2.1')

    # Added with release 1.1
    depends_on('examinimd@1.0', when='@1.1:')

    depends_on('nekbone@17.0', when='@1.0:')
    depends_on('swfft@1.0', when='@1.0:')

    # Dependencies for versions 1.0:1.1
    depends_on('amg@1.0', when='@1.0:1.1')
    depends_on('candle-benchmarks@0.0', when='+candle @1.0:1.1')
    depends_on('laghos@1.0', when='@1.0:1.1')
    depends_on('macsio@1.0', when='@1.0:1.1')
    depends_on('miniamr@1.4.0', when='@1.0:1.1')
    depends_on('sw4lite@1.0', when='@1.0:1.1')
    depends_on('xsbench@14', when='@1.0:1.1')

    # Removed after release 1.1
    depends_on('minife@2.1.0', when='@1.0:1.1')
    depends_on('minitri@1.0', when='@1.0:1.1')

    # Removed after release 1.0
    depends_on('comd@1.1', when='@1.0')