summaryrefslogtreecommitdiff
path: root/var/spack/packages/psapi/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/packages/psapi/package.py')
-rw-r--r--var/spack/packages/psapi/package.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/var/spack/packages/psapi/package.py b/var/spack/packages/psapi/package.py
new file mode 100644
index 0000000000..b73c75c221
--- /dev/null
+++ b/var/spack/packages/psapi/package.py
@@ -0,0 +1,18 @@
+from spack import *
+
+class Psapi(Package):
+ """PSAPI is a library and a tool for collecting sampled memory
+ performance data to view with MemAxes"""
+
+ homepage = "https://github.com/scalability-llnl/PSAPI"
+ url = "http://www.example.com/memaxes-psapi-1.0.tar.gz"
+
+ version('0.5', git='https://github.com/scalability-llnl/PSAPI.git', tag='v0.5')
+
+ depends_on('dyninst')
+
+ def install(self, spec, prefix):
+ with working_dir('spack-build', create=True):
+ cmake('..', *std_cmake_args)
+ make()
+ make("install")