diff options
author | David Beckingsale <davidbeckingsale@gmail.com> | 2016-01-28 13:22:56 -0800 |
---|---|---|
committer | David Beckingsale <davidbeckingsale@gmail.com> | 2016-01-28 13:22:56 -0800 |
commit | 7e65f4da82cb9176247c1aa9ab72f40116cc6a8e (patch) | |
tree | 2d7aac24ccb21d832ae5e4de3f44ed651f33ca9c /var | |
parent | 0e52c30bb8fbe954bdb2f74353865317cac18b85 (diff) | |
download | spack-7e65f4da82cb9176247c1aa9ab72f40116cc6a8e.tar.gz spack-7e65f4da82cb9176247c1aa9ab72f40116cc6a8e.tar.bz2 spack-7e65f4da82cb9176247c1aa9ab72f40116cc6a8e.tar.xz spack-7e65f4da82cb9176247c1aa9ab72f40116cc6a8e.zip |
Add the Caliper package
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/caliper/package.py | 25 |
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") |