llvm-doe+lldb: @doe: fix improper set of LLDB_ENABLE_PYTHON (#21935)
This commit is contained in:
parent
2b201ba401
commit
1d7fc4cbe1
1 changed files with 3 additions and 3 deletions
|
@ -410,12 +410,12 @@ def cmake_args(self):
|
|||
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(
|
||||
|
|
Loading…
Reference in a new issue