diff options
author | Paul Ferrell <51765748+Paul-Ferrell@users.noreply.github.com> | 2022-07-25 07:50:22 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-25 15:50:22 +0200 |
commit | babb0edf077dfccf8e66ab63784437b06bdc3963 (patch) | |
tree | 26c6dab74e56f023f33b0cd142c9ce836e47a9ad /var | |
parent | bf838fe15f1654c11d5fcac2b52b7fa7219ff977 (diff) | |
download | spack-babb0edf077dfccf8e66ab63784437b06bdc3963.tar.gz spack-babb0edf077dfccf8e66ab63784437b06bdc3963.tar.bz2 spack-babb0edf077dfccf8e66ab63784437b06bdc3963.tar.xz spack-babb0edf077dfccf8e66ab63784437b06bdc3963.zip |
LLVM requires swig version > 3 (#31625)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/llvm/package.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/llvm/package.py b/var/spack/repos/builtin/packages/llvm/package.py index 91e928cead..ecff9f8ee3 100644 --- a/var/spack/repos/builtin/packages/llvm/package.py +++ b/var/spack/repos/builtin/packages/llvm/package.py @@ -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") |