[LLVMdev] RFC: Upcoming Build System Changes

Óscar Fuentes ofv at wanadoo.es
Tue Nov 1 18:49:47 PDT 2011


Hello John.

John Criswell <criswell at illinois.edu> writes:

[snip]

> I did not use CMake but the standard autoconf + Makefile build.
>
> Not sure if this helps, but here it is, for what it's worth.

Very interesting, thanks!

CMake introduces more parallelism and it would be great to see how much
impact it makes. If you can, please run the cmake build with -j32, just
to compare with the `make' build.

If you simply ran `configure && time make' for the autoconf build, that
builds the Debug+Asserts mode. For replicating it on cmake, run

mkdir build-directory && cd build-directory
cmake -DCMAKE_BUILD_TYPE=Debug path/to/llvm/source/root
time make -j32

Thanks again.



More information about the llvm-dev mailing list