[PATCH] D77165: libclc: Use temporary files rather than a pipe

Daniel Stone via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 3 08:35:17 PDT 2020


daniels added a comment.

In D77165#1959565 <https://reviews.llvm.org/D77165#1959565>, @jvesely wrote:

> Windows does have pipes. they work both in `cmd` and `powershell`, but perhaps cmake is not using shell to invoke these commands?
>  What was the generator target you used?


I'm using Ninja, which doesn't support pipes on Windows. The only thing I can think of is that, on Windows, we could execute `CMD.EXE /C "clang | llvm-as"` in order to keep the pipe, but that would be pretty ugly, and also a bit of a nightmare for quoting.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D77165





More information about the llvm-commits mailing list