diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/ecp-proxy-apps/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/ecp-proxy-apps/package.py | 84 |
1 files changed, 47 insertions, 37 deletions
diff --git a/var/spack/repos/builtin/packages/ecp-proxy-apps/package.py b/var/spack/repos/builtin/packages/ecp-proxy-apps/package.py index ee1a881aff..bd2117cd99 100644 --- a/var/spack/repos/builtin/packages/ecp-proxy-apps/package.py +++ b/var/spack/repos/builtin/packages/ecp-proxy-apps/package.py @@ -1,27 +1,8 @@ -############################################################################## -# Copyright (c) 2013-2017, Lawrence Livermore National Security, LLC. -# Produced at the Lawrence Livermore National Laboratory. +# Copyright 2013-2018 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. # -# This file is part of Spack. -# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved. -# LLNL-CODE-647188 -# -# For details, see https://github.com/spack/spack -# Please also see the NOTICE and LICENSE files for our notice and the LGPL. -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License (as -# published by the Free Software Foundation) version 2.1, February 1999. -# -# This program is distributed in the hope that it will be useful, but -# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and -# conditions of the GNU Lesser General Public License for more details. -# -# You should have received a copy of the GNU Lesser General Public -# License along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -############################################################################## +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + import os from spack import * @@ -33,27 +14,56 @@ class EcpProxyApps(Package): installs the ECP proxy application suite. """ - homepage = "https://exascaleproject.github.io/proxy-apps" + tags = ['proxy-app', 'ecp-proxy-app'] + maintainers = ['bhatele'] + homepage = "https://exascaleproject.github.io/proxy-apps" # Dummy url url = 'https://github.com/exascaleproject/proxy-apps/archive/v1.0.tar.gz' - tags = ['proxy-app', 'ecp-proxy-app'] + version('2.0', sha256='5f3cb3a772224e738c1dab42fb34d40f6b313af51ab1c575fb334e573e41e09a') + version('1.1', '15825c318acd3726fd8e72803b1c1090') + version('1.0', '8b3f00f05e6cde88d8d913da4293ee62') + + variant('candle', default=False, + description='Also build CANDLE Benchmarks') + + # 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('amg@1.1', when='@2.0:') + depends_on('candle-benchmarks@0.1', when='+candle @2.0:') + depends_on('laghos@1.1', when='@2.0:') + depends_on('macsio@1.1', when='@2.0:') + depends_on('miniamr@1.4.1', when='@2.0:') + depends_on('sw4lite@1.1', when='@2.0:') + depends_on('xsbench@18', when='@2.0:') + + # 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') - version('1.0', '5a26b184f506afeb7d221f15c0e8f153') + # 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') - depends_on('amg@1.0', when='@1.0') - depends_on('candle-benchmarks@1.0', when='@1.0') + # Removed after release 1.0 depends_on('comd@1.1', when='@1.0') - depends_on('laghos@1.0', when='@1.0') - depends_on('macsio@1.0', when='@1.0') - depends_on('miniamr@1.4.0', when='@1.0') - depends_on('minife@2.1.0', when='@1.0') - depends_on('minitri@1.0', when='@1.0') - depends_on('nekbone@17.0', when='@1.0') - depends_on('sw4lite@1.0', when='@1.0') - depends_on('swfft@1.0', when='@1.0') - depends_on('xsbench@14', when='@1.0') # Dummy install for now, will be removed when metapackage is available def install(self, spec, prefix): |