summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2016-01-28 15:39:52 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2016-01-28 15:39:52 -0700
commit6b2d25580c00e5ab0b6cd927c84f98775057b3ab (patch)
tree2d7aac24ccb21d832ae5e4de3f44ed651f33ca9c
parent0e52c30bb8fbe954bdb2f74353865317cac18b85 (diff)
parent7e65f4da82cb9176247c1aa9ab72f40116cc6a8e (diff)
downloadspack-6b2d25580c00e5ab0b6cd927c84f98775057b3ab.tar.gz
spack-6b2d25580c00e5ab0b6cd927c84f98775057b3ab.tar.bz2
spack-6b2d25580c00e5ab0b6cd927c84f98775057b3ab.tar.xz
spack-6b2d25580c00e5ab0b6cd927c84f98775057b3ab.zip
Merge pull request #410 from davidbeckingsale/features/caliper
Add the Caliper package
-rw-r--r--var/spack/repos/builtin/packages/caliper/package.py25
1 files changed, 25 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/caliper/package.py b/var/spack/repos/builtin/packages/caliper/package.py
new file mode 100644
index 0000000000..b14a562aa8
--- /dev/null
+++ b/var/spack/repos/builtin/packages/caliper/package.py
@@ -0,0 +1,25 @@
+from spack import *
+
+class Caliper(Package):
+ """
+ Caliper is a generic context annotation system. It gives programmers the
+ ability to provide arbitrary program context information to (performance)
+ tools at runtime.
+ """
+
+ homepage = "https://github.com/LLNL/Caliper"
+ url = ""
+
+ version('master', git='ssh://git@cz-stash.llnl.gov:7999/piper/caliper.git')
+
+ variant('mpi', default=False, description='Enable MPI function wrappers.')
+
+ depends_on('libunwind')
+ depends_on('papi')
+ depends_on('mpi', when='+mpi')
+
+ def install(self, spec, prefix):
+ with working_dir('build', create=True):
+ cmake('..', *std_cmake_args)
+ make()
+ make("install")