[PATCH] D101896: [lit] Report tool path from use_llvm_tool if found via env variable
    Thomas Preud'homme via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed May  5 04:57:47 PDT 2021
    
    
  
thopre added inline comments.
================
Comment at: llvm/utils/lit/lit/llvm/config.py:414
 
-        # Otherwise look in the path.
-        tool = lit.util.which(name, self.config.environment['PATH'])
+        if not tool or not search_env:
+            # Otherwise look in the path.
----------------
Is the check for search_env needed?
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D101896/new/
https://reviews.llvm.org/D101896
    
    
More information about the llvm-commits
mailing list