diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/macsio/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/macsio/package.py | 47 |
1 files changed, 17 insertions, 30 deletions
diff --git a/var/spack/repos/builtin/packages/macsio/package.py b/var/spack/repos/builtin/packages/macsio/package.py index f17cec4350..09d4f50c50 100644 --- a/var/spack/repos/builtin/packages/macsio/package.py +++ b/var/spack/repos/builtin/packages/macsio/package.py @@ -1,41 +1,24 @@ -############################################################################## -# 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) + from spack import * class Macsio(CMakePackage): - """A Multi-purpose, Application-Centric, Scalable I/O Proxy Application - """ + """A Multi-purpose, Application-Centric, Scalable I/O Proxy Application.""" + tags = ['proxy-app', 'ecp-proxy-app'] - homepage = "http://llnl.github.io/MACSio" - url = "https://github.com/LLNL/MACSio/archive/1.0.tar.gz" + homepage = "https://computation.llnl.gov/projects/co-design/macsio" + url = "https://github.com/LLNL/MACSio/archive/v1.1.tar.gz" + git = "https://github.com/LLNL/MACSio.git" + version('develop', branch='master') + + version('1.1', sha256='a86249b0f10647c0b631773db69568388094605ec1a0af149d9e61e95e6961ec') version('1.0', '90e8e00ea84af2a47bee387ad331dbde') - version('develop', git='https://github.com/LLNL/MACSio.git', - branch='master') variant('mpi', default=True, description="Build MPI plugin") variant('silo', default=True, description="Build with SILO plugin") @@ -52,7 +35,7 @@ class Macsio(CMakePackage): depends_on('json-cwx') depends_on('mpi', when="+mpi") depends_on('silo', when="+silo") - depends_on('hdf5', when="+hdf5") + depends_on('hdf5+hl', when="+hdf5") # depends_on('hdf5+szip', when="+szip") depends_on('exodusii', when="+exodus") # pdb is packaged with silo @@ -114,3 +97,7 @@ class Macsio(CMakePackage): .format(spec['netcdf'].prefix)) return cmake_args + + def install(self, spec, prefix): + mkdirp(prefix.bin) + install('spack-build/macsio/macsio', prefix.bin) |