summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authoreugeneswalker <38933153+eugeneswalker@users.noreply.github.com>2021-02-24 19:59:12 -0800
committerGitHub <noreply@github.com>2021-02-24 19:59:12 -0800
commit1d7fc4cbe1cf5f354c6fe0f5d17ad632251d6f36 (patch)
tree553e65b4ebe3a5dad8a1d33261e00faea2246537 /var
parent2b201ba401c933258978f4df2867bc67358fbc65 (diff)
downloadspack-1d7fc4cbe1cf5f354c6fe0f5d17ad632251d6f36.tar.gz
spack-1d7fc4cbe1cf5f354c6fe0f5d17ad632251d6f36.tar.bz2
spack-1d7fc4cbe1cf5f354c6fe0f5d17ad632251d6f36.tar.xz
spack-1d7fc4cbe1cf5f354c6fe0f5d17ad632251d6f36.zip
llvm-doe+lldb: @doe: fix improper set of LLDB_ENABLE_PYTHON (#21935)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/llvm-doe/package.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/llvm-doe/package.py b/var/spack/repos/builtin/packages/llvm-doe/package.py
index 4976753743..0af4a2b0f2 100644
--- a/var/spack/repos/builtin/packages/llvm-doe/package.py
+++ b/var/spack/repos/builtin/packages/llvm-doe/package.py
@@ -410,12 +410,12 @@ class LlvmDoe(CMakePackage, CudaPackage):
if "+python" in spec and "+lldb" in spec:
cmake_args.append("-DLLDB_USE_SYSTEM_SIX:Bool=TRUE")
+ if "+lldb" in spec and spec.satisfies("@10.0.0:,doe"):
+ cmake_args.append("-DLLDB_ENABLE_PYTHON:Bool={0}".format(
+ 'ON' if '+python' in spec else 'OFF'))
if "+lldb" in spec and spec.satisfies("@:9.9.9"):
cmake_args.append("-DLLDB_DISABLE_PYTHON:Bool={0}".format(
'ON' if '~python' in spec else 'OFF'))
- if "+lldb" in spec and spec.satisfies("@10.0.0:"):
- cmake_args.append("-DLLDB_ENABLE_PYTHON:Bool={0}".format(
- 'ON' if '+python' in spec else 'OFF'))
if "+gold" in spec:
cmake_args.append(