[llvm] 553c2af - Don't warn when 'llvm' isn't found

Alex Brachet via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 6 07:29:49 PDT 2022


Author: Alex Brachet
Date: 2022-06-06T14:29:44Z
New Revision: 553c2af5360b993376d3c000cf53850605940307

URL: https://github.com/llvm/llvm-project/commit/553c2af5360b993376d3c000cf53850605940307
DIFF: https://github.com/llvm/llvm-project/commit/553c2af5360b993376d3c000cf53850605940307.diff

LOG: Don't warn when 'llvm' isn't found

Added: 
    

Modified: 
    llvm/test/lit.cfg.py

Removed: 
    


################################################################################
diff  --git a/llvm/test/lit.cfg.py b/llvm/test/lit.cfg.py
index a1f4f86b8456..fe1a37ae1d01 100644
--- a/llvm/test/lit.cfg.py
+++ b/llvm/test/lit.cfg.py
@@ -139,7 +139,7 @@ def get_asan_rtlib():
 config.llvm_locstats_used = os.path.exists(llvm_locstats_tool)
 
 tools = [
-    ToolSubst('%llvm', FindTool('llvm')),
+    ToolSubst('%llvm', FindTool('llvm'), unresolved='ignore'),
     ToolSubst('%lli', FindTool('lli'), post='.', extra_args=lli_args),
     ToolSubst('%llc_dwarf', FindTool('llc'), extra_args=llc_args),
     ToolSubst('%go', config.go_executable, unresolved='ignore'),


        


More information about the llvm-commits mailing list