projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56a1f07
)
Fix an issue with llvm lit tool substitutions.
author
Zachary Turner
<zturner@google.com>
Fri, 17 Nov 2017 22:51:43 +0000
(22:51 +0000)
committer
Zachary Turner
<zturner@google.com>
Fri, 17 Nov 2017 22:51:43 +0000
(22:51 +0000)
When using an installed clang with an in-tree llvm, we were not
searching in the right paths for the tools.
llvm-svn: 318564
llvm/utils/lit/lit/llvm/config.py
patch
|
blob
|
history
diff --git
a/llvm/utils/lit/lit/llvm/config.py
b/llvm/utils/lit/lit/llvm/config.py
index
798f08a
..
565220c
100644
(file)
--- a/
llvm/utils/lit/lit/llvm/config.py
+++ b/
llvm/utils/lit/lit/llvm/config.py
@@
-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)