search for: ninja_isatty

Displaying 3 results from an estimated 3 matches for "ninja_isatty".

2013 Jan 06
0
[LLVMdev] FileCheck + Ninja coloured output
Nope. An easy solution (both here and for clang) is for ninja to set an environment variable (`NINJA_ISATTY`?), and add some magic to LLVM's "isatty" to return true if it sees it. (for matters of correctness, it would actually be best if ninja sets the environment variable only when *it's* stdout/stderr isatty (also taking into account this environment variable), so that everything wor...
2013 Jan 06
2
[LLVMdev] FileCheck + Ninja coloured output
I'm just wondering if anyone's using Ninja (which buffers output from subcommands, such as lit/FileCheck/etc) & has thought about/found a way to force FileCheck to use colour in spite of Ninja's buffering. Thanks, - David
2013 Jan 11
1
[LLVMdev] FileCheck + Ninja coloured output
...fix both Ninja and lit to resolve this issue - but everyone should at least be a little invested in fixing lit). On Sun, Jan 6, 2013 at 12:18 AM, Sean Silva <silvas at purdue.edu> wrote: > Nope. An easy solution (both here and for clang) is for ninja to set > an environment variable (`NINJA_ISATTY`?), and add some magic to > LLVM's "isatty" to return true if it sees it. I'm a little unsure what you mean by "LLVM's 'isatty'" - isn't that just a system call LLVM would be making? (I suppose we probably have a wrapper somewhere to handle platform-s...