LLVM requires swig version > 3 (#31625)

This commit is contained in:
Paul Ferrell 2022-07-25 07:50:22 -06:00 committed by GitHub
parent bf838fe15f
commit babb0edf07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -221,7 +221,10 @@ class Llvm(CMakePackage, CudaPackage):
depends_on("libxml2")
# lldb dependencies
depends_on("swig", when="+lldb")
with when("+lldb +python"):
depends_on("swig")
depends_on("swig@2:", when="@10:")
depends_on("swig@3:", when="@12:")
depends_on("libedit", when="+lldb")
depends_on("py-six", when="@5.0.0: +lldb +python")