aboutsummaryrefslogtreecommitdiff
path: root/cross-project-tests/lit.cfg.py
diff options
context:
space:
mode:
Diffstat (limited to 'cross-project-tests/lit.cfg.py')
-rw-r--r--cross-project-tests/lit.cfg.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/cross-project-tests/lit.cfg.py b/cross-project-tests/lit.cfg.py
index 6a902bc..a3af729 100644
--- a/cross-project-tests/lit.cfg.py
+++ b/cross-project-tests/lit.cfg.py
@@ -107,6 +107,8 @@ lldb_path = llvm_config.use_llvm_tool("lldb", search_env="LLDB")
if lldb_path is not None:
config.available_features.add("lldb")
+if llvm_config.use_llvm_tool("llvm-ar"):
+ config.available_features.add("llvm-ar")
def configure_dexter_substitutions():
"""Configure substitutions for host platform and return list of dependencies"""