diff options
author | Mark W. Krentel <krentel@rice.edu> | 2022-10-31 23:38:04 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-31 21:38:04 -0700 |
commit | cd40d022146718407717dd4963a2eeffe656c60c (patch) | |
tree | 474d6feb0fc8238639922886d0a3f533804a1a18 /var | |
parent | 3187d4e7b152914f8d8a8bbab96f4ba8e85dc38f (diff) | |
download | spack-cd40d022146718407717dd4963a2eeffe656c60c.tar.gz spack-cd40d022146718407717dd4963a2eeffe656c60c.tar.bz2 spack-cd40d022146718407717dd4963a2eeffe656c60c.tar.xz spack-cd40d022146718407717dd4963a2eeffe656c60c.zip |
hpctoolkit: adjust rocm dependency types (#33627)
Drop the link dependency type for the rocm packages. We don't
actually link, and that adds rpaths that conflict with the app.
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/hpctoolkit/package.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/hpctoolkit/package.py b/var/spack/repos/builtin/packages/hpctoolkit/package.py index 368e115a68..5e7b70b299 100644 --- a/var/spack/repos/builtin/packages/hpctoolkit/package.py +++ b/var/spack/repos/builtin/packages/hpctoolkit/package.py @@ -137,10 +137,12 @@ class Hpctoolkit(AutotoolsPackage): depends_on("hpcviewer@2022.10:", type="run", when="@2022.10: +viewer") depends_on("hpcviewer", type="run", when="+viewer") - depends_on("hip@4.5:", when="+rocm") - depends_on("hsa-rocr-dev@4.5:", when="+rocm") - depends_on("roctracer-dev@4.5:", when="+rocm") - depends_on("rocprofiler-dev@4.5:", when="+rocm") + # Avoid 'link' dep, we don't actually link, and that adds rpath + # that conflicts with app. + depends_on("hip@4.5:", type=("build", "run"), when="+rocm") + depends_on("hsa-rocr-dev@4.5:", type=("build", "run"), when="+rocm") + depends_on("roctracer-dev@4.5:", type=("build", "run"), when="+rocm") + depends_on("rocprofiler-dev@4.5:", type=("build", "run"), when="+rocm") conflicts("%gcc@:7", when="@2022.10:", msg="hpctoolkit requires gnu gcc 8.x or later") conflicts("%gcc@:6", when="@2021.00:2022.06", msg="hpctoolkit requires gnu gcc 7.x or later") |