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. llvm-svn: 318564
This commit is contained in:
parent
56a1f07156
commit
dfeb170011
|
@ -316,7 +316,7 @@ class LLVMConfig(object):
|
|||
return tool
|
||||
|
||||
# Otherwise look in the path.
|
||||
tool = lit.util.which(name, self.config.llvm_tools_dir)
|
||||
tool = lit.util.which(name, self.config.environment['PATH'])
|
||||
|
||||
if required and not tool:
|
||||
message = "couldn't find '{}' program".format(name)
|
||||
|
|
Loading…
Reference in New Issue