[PATCH] D77184: Make it possible for lit.site.cfg to contain relative paths, and use it for llvm and clang

Vyacheslav Zakharin via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 26 19:38:10 PDT 2020


vzakhari added a comment.

In D77184#2056306 <https://reviews.llvm.org/D77184#2056306>, @vzakhari wrote:

> It does not work on Windows (msbuild) for me, because `${pathlist_escaped}` contains paths like `%(build_mode)s/bin` (caused by `set_llvm_build_mode`).  This seems to break something so that `python` process does not produce any output at all: I checked both `OUTPUT_VARIABLE` and `ERROR_VARIABLE` and they were empty on any invocation of `execute_process`.  @thakis, do you have any ideas what might be wrong?
>
> FWIW, the code does not seem to work as expected for multi-configuration environments, since the `%(build_mode)` substitution is not done yet and the paths are not real filesystem paths.


Please ignore this.  It turned out the issue was in a python wrapper stuck in the middle.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D77184/new/

https://reviews.llvm.org/D77184





More information about the cfe-commits mailing list