diff options
author | Zachary Turner <zturner@google.com> | 2017-11-17 22:51:43 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2017-11-17 22:51:43 +0000 |
commit | cf9af88805cf0d5a7957e6634ad4255d3f28d500 (patch) | |
tree | 05636ee9947a9f039d93d4955730c1a148ff31dc /utils/lit | |
parent | fc1a0ac68ee3b97aa52841b63bb316442fb880ae (diff) |
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
Diffstat (limited to 'utils/lit')
-rw-r--r-- | utils/lit/lit/llvm/config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/lit/lit/llvm/config.py b/utils/lit/lit/llvm/config.py index 798f08af1be..565220c06f0 100644 --- a/utils/lit/lit/llvm/config.py +++ b/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) |