aboutsummaryrefslogtreecommitdiff
path: root/lldb/use_lldb_suite_root.py
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@outlook.com>2024-02-29 15:49:05 +0000
committerAlexey Bataev <a.bataev@outlook.com>2024-02-29 15:49:05 +0000
commita0d744b9cf4a5bd7219c5c1007d8db317b70cf1f (patch)
tree40d806f565e8f0ebdafb78f01db92fe4499096f9 /lldb/use_lldb_suite_root.py
parent46478028cda679b76757cae689a53b11fadad5f5 (diff)
parent4f132dca711f4b425f9d370f5d59efb766b8bffa (diff)
downloadllvm-users/alexey-bataev/spr/ttiriscvimprove-costs-for-fixed-vector-whole-reg-extractinsert.zip
llvm-users/alexey-bataev/spr/ttiriscvimprove-costs-for-fixed-vector-whole-reg-extractinsert.tar.gz
llvm-users/alexey-bataev/spr/ttiriscvimprove-costs-for-fixed-vector-whole-reg-extractinsert.tar.bz2
Created using spr 1.3.5
Diffstat (limited to 'lldb/use_lldb_suite_root.py')
-rw-r--r--lldb/use_lldb_suite_root.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/lldb/use_lldb_suite_root.py b/lldb/use_lldb_suite_root.py
index fd42f63..b8f8acf 100644
--- a/lldb/use_lldb_suite_root.py
+++ b/lldb/use_lldb_suite_root.py
@@ -21,5 +21,7 @@ def add_lldbsuite_packages_dir(lldb_root):
lldb_root = os.path.dirname(inspect.getfile(inspect.currentframe()))
-add_third_party_module_dirs(lldb_root)
+# Use environment variables to avoid plumbing flags, lit configs, etc.
+if os.getenv("LLDB_TEST_USE_VENDOR_PACKAGES"):
+ add_third_party_module_dirs(lldb_root)
add_lldbsuite_packages_dir(lldb_root)