[LLVMdev] LIT Verbose

Daniel Sanders Daniel.Sanders at imgtec.com
Thu Jan 22 09:23:46 PST 2015


> -----Original Message-----
> From: Renato Golin [mailto:renato.golin at linaro.org]
> Sent: 22 January 2015 11:37
> To: Daniel Sanders
> Cc: David Blaikie; LLVM Dev
> Subject: Re: [LLVMdev] LIT Verbose
> 
> On 23 December 2014 at 11:56, Daniel Sanders
> <Daniel.Sanders at imgtec.com> wrote:
> > I've looked at it a bit more and an updated ninja is part of it. You also
> > need build.ninja to contain 'pool = console' on the lit rules. I added it
> > manually to try it out but presumably a cmake update is needed to add this
> > automatically.
> 
> Hi Daniel,
> 
> So, I got back looking at it, and I have a question.
> 
> It seems that CMake only added support for creating ninja pools in the
> 3.0 version, while most arches use 2.8 or less. But worse, it seems,
> that CMake only understands numeric pools, so far, ruling out the
> console pool.

Support for the console pool should appear in cmake 3.2 (http://www.cmake.org/gitweb?p=cmake.git;a=commitdiff;h=444f61e0)  and our CMakeLists.txt's should be ready for it (http://llvm.org/viewvc/llvm-project?view=revision&revision=222181). I'm on cmake 3.0.2 so I haven't tried it for myself yet.

> I'm not sure we would be able to add the console pool to the lit rules
> from CMake, and I don't want to add an extra step on all CMake builds,
> but I could do so on the buildbot (some smart sed one-liners on the
> rules.ninja file).
>
> Do you know of any alternative? If not, I may have to do that... :/
> 
> cheers,
> --renato

I'm afraid the sed approach is the only thing that I can think of.




More information about the llvm-dev mailing list