diff options
author | vvolkl <valentin.volkl@cern.ch> | 2020-06-06 23:29:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-06 16:29:42 -0500 |
commit | 8f291c7e9545212d3d8688926b82fc8ec8a1ad13 (patch) | |
tree | 9ff71b2ad5284a138bdde5f0c24db121d201c1eb /var | |
parent | ad2dd4be01d7caae69455ff61d5e006efab83e30 (diff) | |
download | spack-8f291c7e9545212d3d8688926b82fc8ec8a1ad13.tar.gz spack-8f291c7e9545212d3d8688926b82fc8ec8a1ad13.tar.bz2 spack-8f291c7e9545212d3d8688926b82fc8ec8a1ad13.tar.xz spack-8f291c7e9545212d3d8688926b82fc8ec8a1ad13.zip |
[prmon] add package (#16949)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/prmon/package.py | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/prmon/package.py b/var/spack/repos/builtin/packages/prmon/package.py new file mode 100644 index 0000000000..4ae90c2531 --- /dev/null +++ b/var/spack/repos/builtin/packages/prmon/package.py @@ -0,0 +1,27 @@ +# 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 Prmon(CMakePackage): + """Standalone monitor for process resource consumption.""" + + homepage = "https://github.com/HSF/prmon/" + url = "https://github.com/HSF/prmon/archive/v1.1.1.tar.gz" + git = "https://github.com/HSF/prmon.git" + + maintainers = ['vvolkl'] + + version("master", branch="master") + version('1.1.1', sha256='5f074b05af2a12e2726c33f6a6e9e8e59ee0c4fb5fe056deb38abacd1bb6bf03') + + variant('plot', default=True, + description='Make use of plotting scripts') + + depends_on('nlohmann-json') + depends_on('cmake@3.3:', type="build") + depends_on('py-matplotlib', type="run", when="+plot") |