summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorMikael Simberg <mikael.simberg@iki.fi>2024-04-17 22:41:33 +0200
committerGitHub <noreply@github.com>2024-04-17 13:41:33 -0700
commitb362362291816679873d5f2dad37a31748d7e42c (patch)
treedbbbcfdc6e68e778be55bf8d6d36c03ac68b891d /var
parent32bb5c75239a81e19421fdfe900722c4799c7b8a (diff)
downloadspack-b362362291816679873d5f2dad37a31748d7e42c.tar.gz
spack-b362362291816679873d5f2dad37a31748d7e42c.tar.bz2
spack-b362362291816679873d5f2dad37a31748d7e42c.tar.xz
spack-b362362291816679873d5f2dad37a31748d7e42c.zip
cvise package: add version 2.10.0 and ncurses constraint (#43319)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/cvise/package.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/cvise/package.py b/var/spack/repos/builtin/packages/cvise/package.py
index 48def2cf00..945fc4d08f 100644
--- a/var/spack/repos/builtin/packages/cvise/package.py
+++ b/var/spack/repos/builtin/packages/cvise/package.py
@@ -17,12 +17,14 @@ class Cvise(CMakePackage):
license("NCSA")
version("master", branch="master")
+ version("2.10.0", tag="v2.10.0", commit="c8606497e354ddab273745cf823823bdd3e86bd8")
version("2.7.0", tag="v2.7.0", commit="d9e4a50514d9931b2a1293755a7e96e0f9520032")
variant("pytest", default=False, description="Add py-pytest as dependency")
variant("colordiff", default=False, description="Add colordiff support")
- depends_on("cmake", type="build")
+ depends_on("cmake@2.8.12:", type="build")
+ depends_on("cmake@3.14:", when="@2.9:", type="build")
depends_on("flex", type=("build", "run"))
depends_on("llvm@9.0.0:", type=("build", "run"))
depends_on("python@3.6:", type=("build", "run"))
@@ -33,3 +35,8 @@ class Cvise(CMakePackage):
depends_on("py-pytest", when="+pytest", type=("build", "run"))
depends_on("colordiff", when="+colordiff", type=("build", "run"))
+
+ # C-Vise doesn't directly depend on ncurses, but LLVM does. However, LLVM
+ # doesn't provide correctly export terminfo CMake targets that it depends on
+ # and C-Vise fails during configuration with ncurses +termlib.
+ depends_on("ncurses ~termlib", when="^llvm +lldb")