summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/Mitos/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/Mitos/package.py')
-rw-r--r--var/spack/repos/builtin/packages/Mitos/package.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/Mitos/package.py b/var/spack/repos/builtin/packages/Mitos/package.py
new file mode 100644
index 0000000000..ea131872dd
--- /dev/null
+++ b/var/spack/repos/builtin/packages/Mitos/package.py
@@ -0,0 +1,26 @@
+from spack import *
+
+class Mitos(Package):
+ """Mitos is a library and a tool for collecting sampled memory
+ performance data to view with MemAxes"""
+
+ homepage = "https://github.com/llnl/Mitos"
+ url = "https://github.com/llnl/Mitos"
+
+ version('0.9.2',
+ git='https://github.com/llnl/Mitos.git',
+ commit='8cb143a2e8c00353ff531a781a9ca0992b0aaa3d')
+
+ version('0.9.1',
+ git='https://github.com/llnl/Mitos.git',
+ tag='v0.9.1')
+
+ depends_on('dyninst@8.2.1:')
+ depends_on('hwloc')
+ depends_on('mpi')
+
+ def install(self, spec, prefix):
+ with working_dir('spack-build', create=True):
+ cmake('..', *std_cmake_args)
+ make()
+ make("install")