summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbhinav Bhatele <bhatele@gmail.com>2018-10-30 10:37:44 -0700
committerAxel Huebl <axel.huebl@plasma.ninja>2018-10-30 18:37:44 +0100
commit26bacbcb8c8ae1a6c29a7191da9d5084e5b1fe5a (patch)
tree293ce9af544ac6b55ee2c270e0ce0b0240b93fa9
parentbe48d41ab1729cce0de084037c689668c0774b55 (diff)
downloadspack-26bacbcb8c8ae1a6c29a7191da9d5084e5b1fe5a.tar.gz
spack-26bacbcb8c8ae1a6c29a7191da9d5084e5b1fe5a.tar.bz2
spack-26bacbcb8c8ae1a6c29a7191da9d5084e5b1fe5a.tar.xz
spack-26bacbcb8c8ae1a6c29a7191da9d5084e5b1fe5a.zip
caliper: specify path to libunwind (#9670)
-rw-r--r--var/spack/repos/builtin/packages/caliper/package.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/caliper/package.py b/var/spack/repos/builtin/packages/caliper/package.py
index 4288000410..5896cfb420 100644
--- a/var/spack/repos/builtin/packages/caliper/package.py
+++ b/var/spack/repos/builtin/packages/caliper/package.py
@@ -82,6 +82,8 @@ class Caliper(CMakePackage):
args.append('-DLIBPFM_INSTALL=%s' % spec['libpfm4'].prefix)
if '+sosflow' in spec:
args.append('-DSOS_PREFIX=%s' % spec['sosflow'].prefix)
+ if '+callpath' in spec:
+ args.append('-DLIBUNWIND_PREFIX=%s' % spec['libunwind'].prefix)
if '+mpi' in spec:
args.append('-DMPI_C_COMPILER=%s' % spec['mpi'].mpicc)