llvm.org GIT mirror llvm / cf9af88
Fix an issue with llvm lit tool substitutions. When using an installed clang with an in-tree llvm, we were not searching in the right paths for the tools. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@318564 91177308-0d34-0410-b5e6-96231b3b80d8 Zachary Turner 1 year, 10 months ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
315315 return tool
316316
317317 # Otherwise look in the path.
318 tool = lit.util.which(name, self.config.llvm_tools_dir)
318 tool = lit.util.which(name, self.config.environment['PATH'])
319319
320320 if required and not tool:
321321 message = "couldn't find '{}' program".format(name)