diff options
author | Chen Wang <wangvsa@163.com> | 2020-08-27 07:47:21 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-27 07:47:21 -0500 |
commit | 9fc6bdabef70ac812be8ad17eda98beb611d4111 (patch) | |
tree | ad4bb407c8b546f501d72e2ff55562045b727088 /var | |
parent | 22329c4f92cf388618479988e43168c5eb751686 (diff) | |
download | spack-9fc6bdabef70ac812be8ad17eda98beb611d4111.tar.gz spack-9fc6bdabef70ac812be8ad17eda98beb611d4111.tar.bz2 spack-9fc6bdabef70ac812be8ad17eda98beb611d4111.tar.xz spack-9fc6bdabef70ac812be8ad17eda98beb611d4111.zip |
Add a new package: Recorder (#18297)
* Add a new package: Recorder
* Delete all FIXMEs
* Update package.py
* Remove extra spaces.
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/recorder/package.py | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/recorder/package.py b/var/spack/repos/builtin/packages/recorder/package.py new file mode 100644 index 0000000000..376ad09a0a --- /dev/null +++ b/var/spack/repos/builtin/packages/recorder/package.py @@ -0,0 +1,40 @@ +# 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 Recorder(AutotoolsPackage): + """A multi-level library for understanding I/O + activity in HPC applications.""" + + homepage = "https://github.com/uiuc-hpc/Recorder" + url = "https://github.com/uiuc-hpc/Recorder/archive/v2.1.4.tar.gz" + + maintainers = ['wangvsa'] + + version('2.1.4', sha256='f66756595a7f310929c247ae03fd08a18d9843f578fffa1e3072f557bf5a158e') + + variant('posix', default=True, description="Enable POSIX level tracing") + variant('mpi', default=True, description="Enable MPI level tracing. MPI is required even with this option turn off") + variant('hdf5', default=True, description="Enable HDF5 level tracing. HDF5 is required even with this option turn off.") + + depends_on('autoconf', type='build') + depends_on('automake', type='build') + depends_on('libtool', type='build') + depends_on('m4', type='build') + depends_on('mpi') + depends_on('hdf5') + + def configure_args(self): + args = [] + if "+posix" not in self.spec: + args += ["--disable-posix"] + if "+mpi" not in self.spec: + args += ["--disable-mpi"] + if "+hdf5" not in self.spec: + args += ["--disable-hdf5"] + + return args |