[PATCH] D29335: [lld] [test] Use LLD-specific binary&library dirs when building stand-alone

Reid Kleckner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 8 10:50:11 PST 2017


rnk accepted this revision.
rnk added a comment.
This revision is now accepted and ready to land.

lgtm



================
Comment at: test/lit.cfg:183
     tool_name = tool_match.group(4)
-    tool_path = lit.util.which(tool_name, llvm_tools_dir)
+    tool_path = lit.util.which(tool_name, config.environment['PATH'])
     if not tool_path:
----------------
I guess there is a risk here that if llvm_tools_dir is missing an LLVM tool, we might accidentally pick up an old verison from PATH, but... I don't think that's a big deal.


Repository:
  rL LLVM

https://reviews.llvm.org/D29335





More information about the llvm-commits mailing list