summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvvolkl <valentin.volkl@cern.ch>2020-06-06 23:29:42 +0200
committerGitHub <noreply@github.com>2020-06-06 16:29:42 -0500
commit8f291c7e9545212d3d8688926b82fc8ec8a1ad13 (patch)
tree9ff71b2ad5284a138bdde5f0c24db121d201c1eb
parentad2dd4be01d7caae69455ff61d5e006efab83e30 (diff)
downloadspack-8f291c7e9545212d3d8688926b82fc8ec8a1ad13.tar.gz
spack-8f291c7e9545212d3d8688926b82fc8ec8a1ad13.tar.bz2
spack-8f291c7e9545212d3d8688926b82fc8ec8a1ad13.tar.xz
spack-8f291c7e9545212d3d8688926b82fc8ec8a1ad13.zip
[prmon] add package (#16949)
-rw-r--r--var/spack/repos/builtin/packages/prmon/package.py27
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")