summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorMark W. Krentel <krentel@rice.edu>2023-03-09 07:37:21 -0600
committerGitHub <noreply@github.com>2023-03-09 08:37:21 -0500
commite9173a59fdfe6bd48120283ea324a5d42cb9e563 (patch)
treed8e12360cf43f8860054722c7dea5c54e9a8e778 /var
parent7401c970371d3cedbaed978010da6104739ee28b (diff)
downloadspack-e9173a59fdfe6bd48120283ea324a5d42cb9e563.tar.gz
spack-e9173a59fdfe6bd48120283ea324a5d42cb9e563.tar.bz2
spack-e9173a59fdfe6bd48120283ea324a5d42cb9e563.tar.xz
spack-e9173a59fdfe6bd48120283ea324a5d42cb9e563.zip
hpctoolkit: adjust dependency and conflict for xz (#35950)
Hpctoolkit doesn't build cleanly with xz 5.2.7 and 5.2.8 due to a misuse of the symver attribute. This is now fixed in 5.2.9 and later.
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/hpctoolkit/package.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/hpctoolkit/package.py b/var/spack/repos/builtin/packages/hpctoolkit/package.py
index 3f7e53f7e4..d874d50fdd 100644
--- a/var/spack/repos/builtin/packages/hpctoolkit/package.py
+++ b/var/spack/repos/builtin/packages/hpctoolkit/package.py
@@ -131,7 +131,7 @@ class Hpctoolkit(AutotoolsPackage):
depends_on("libunwind@1.4: +xz+pic")
depends_on("mbedtls+pic", when="@:2022.03")
depends_on("xerces-c transcoder=iconv")
- depends_on("xz+pic@:5.2.6", type="link")
+ depends_on("xz+pic libs=static", type="link")
depends_on("yaml-cpp@0.7.0: +shared", when="@2022.10:")
depends_on("zlib+shared")
@@ -163,6 +163,7 @@ class Hpctoolkit(AutotoolsPackage):
conflicts("%gcc@:4", when="@:2020", msg="hpctoolkit requires gnu gcc 5.x or later")
conflicts("^binutils@2.35:2.35.1", msg="avoid binutils 2.35 and 2.35.1 (spews errors)")
+ conflicts("xz@5.2.7:5.2.8", msg="avoid xz 5.2.7:5.2.8 (broken symbol versions)")
conflicts("+cray", when="@2022.10.01", msg="hpcprof-mpi is not available in 2022.10.01")
conflicts("+mpi", when="@2022.10.01", msg="hpcprof-mpi is not available in 2022.10.01")