[LLVMdev] make check rebuilds the project?

Reid Kleckner rnk at google.com
Wed Apr 17 11:43:23 PDT 2013


FWIW, the cmake build has the "check" target depend on the binaries under test.

On Apr 17, 2013, at 10:43 AM, Eli Bendersky <eliben at google.com> wrote:
> If development speed / turnaround time is important for you, 'make' is the
> wrong solution in the first plane. Use a cmake+ninja build, which is way
> faster, especially for null builds (where all the build system does is make
> sure there's nothing new to build, or very few things to build).

I would 100% recommend it for that reason, but one thing to note is
that ninja buffers subprocess output.  Usually this is good because
you can avoid interleaved diagnostics from multiple source files, but
it means "ninja check" buffers lit's output until it's done.  That's
OK for me when I'm doing final testing for a change, but it means it's
not quite a drop-in replacement for "make check".



More information about the llvm-dev mailing list