[LLVMdev] RFC: Upcoming Build System Changes

John Criswell criswell at illinois.edu
Wed Nov 2 07:10:24 PDT 2011


On 11/1/11 8:49 PM, Óscar Fuentes wrote:
> 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.
Autoconf + GMake:

16: 1681.512u 189.706s  2:48.96 1107.4%      0+0k 0+0io 0pf+0w

32: 1698.817u 209.073s  2:02.88 1552.6%      0+0k 0+0io 0pf+0w



CMake:

32: 1700.340u 222.174s 1:38.27 1956.3%      0+0k 0+0io 0pf+0w


-- John T.




More information about the llvm-dev mailing list