diff options
author | Mark W. Krentel <krentel@rice.edu> | 2022-09-12 01:35:37 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-12 08:35:37 +0200 |
commit | d4ec0da49acab19621bd113a1acb7054eae04869 (patch) | |
tree | d55e64c50b81fe9b48d67faef08f2cc2e25e5d9a /var | |
parent | 2caf449b8b334eee62f0ff6f4cae3764deb72bc5 (diff) | |
download | spack-d4ec0da49acab19621bd113a1acb7054eae04869.tar.gz spack-d4ec0da49acab19621bd113a1acb7054eae04869.tar.bz2 spack-d4ec0da49acab19621bd113a1acb7054eae04869.tar.xz spack-d4ec0da49acab19621bd113a1acb7054eae04869.zip |
hpctoolkit: add yaml-cpp as dependency for develop (#32538)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/hpctoolkit/package.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/hpctoolkit/package.py b/var/spack/repos/builtin/packages/hpctoolkit/package.py index 659e24d1b5..00abd1d09e 100644 --- a/var/spack/repos/builtin/packages/hpctoolkit/package.py +++ b/var/spack/repos/builtin/packages/hpctoolkit/package.py @@ -49,7 +49,7 @@ class Hpctoolkit(AutotoolsPackage): variant( "cray", default=False, - description="Build for Cray compute nodes, including " "hpcprof-mpi.", + description="Build for Cray compute nodes, including hpcprof-mpi.", ) variant("mpi", default=False, description="Build hpcprof-mpi, the MPI version of hpcprof.") @@ -67,7 +67,7 @@ class Hpctoolkit(AutotoolsPackage): variant( "all-static", default=False, - description="Needed when MPICXX builds static binaries " "for the compute nodes.", + description="Needed when MPICXX builds static binaries for the compute nodes.", ) variant( @@ -120,6 +120,7 @@ class Hpctoolkit(AutotoolsPackage): depends_on("mbedtls+pic", when="@:2022.03") depends_on("xerces-c transcoder=iconv") depends_on("xz+pic", type="link") + depends_on("yaml-cpp@0.7.0:", when="@develop") depends_on("zlib+shared") depends_on("cuda", when="+cuda") @@ -215,6 +216,9 @@ class Hpctoolkit(AutotoolsPackage): else: args.append("--with-perfmon=%s" % spec["libpfm4"].prefix) + if spec.satisfies("@develop"): + args.append("--with-yaml-cpp=%s" % spec["yaml-cpp"].prefix) + if "+cuda" in spec: args.append("--with-cuda=%s" % spec["cuda"].prefix) |