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")