summaryrefslogtreecommitdiff
path: root/lit/lit.cfg.py
diff options
context:
space:
mode:
Diffstat (limited to 'lit/lit.cfg.py')
-rw-r--r--lit/lit.cfg.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lit/lit.cfg.py b/lit/lit.cfg.py
index e1db7621e328..ff4e60e5b4bd 100644
--- a/lit/lit.cfg.py
+++ b/lit/lit.cfg.py
@@ -73,3 +73,6 @@ for i in ['module-cache-clang', 'module-cache-lldb']:
if os.path.isdir(cachedir):
print("Deleting module cache at %s."%cachedir)
shutil.rmtree(cachedir)
+
+if not config.lldb_disable_python:
+ config.available_features.add('python')