summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2015-01-19 20:41:45 -0800
committerTodd Gamblin <tgamblin@llnl.gov>2015-01-19 20:45:27 -0800
commit2a0e33876ec9f6e33a0408228463a021a1809668 (patch)
treeb2e78e371eea7287c729b545bed2c800073d08ed /var
parentd08c0703a06825311a4fabf2c49f7f04cceadbf9 (diff)
downloadspack-2a0e33876ec9f6e33a0408228463a021a1809668.tar.gz
spack-2a0e33876ec9f6e33a0408228463a021a1809668.tar.bz2
spack-2a0e33876ec9f6e33a0408228463a021a1809668.tar.xz
spack-2a0e33876ec9f6e33a0408228463a021a1809668.zip
Add PSAPI
Diffstat (limited to 'var')
-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")