[cmake-developers] CMake 3.5 generation time (was: CMake 3.5.0-rc1 now ready for testing!)

Brad King brad.king at kitware.com
Thu Feb 4 08:30:47 EST 2016


On 02/04/2016 07:09 AM, Bartosz Kosiorek wrote:
> There is huge difference in Unix Makefile generation time between
> 32 vs 64 bit cmake version:
> 
> 32 bit CMake 3.5.0 generation time:
> real    5m33.310s
> user    5m27.268s
> sys    0m3.540s
> 
> 64 bit  CMake 3.5.0 generation time:
> real    2m36.457s
> user    2m32.008s
> sys    0m3.184s
> 
> Unfortunately there no 64bit CMake version for Windows:
> https://cmake.org/download/
> 
> Is it possible to create 64 bit build for Windows?

Perhaps eventually, but please try running those timings with local
builds of CMake on Windows to see if the difference carries across
platforms.

>     64bit cmake 3.5.0-rc1 Makefile Generation
>     1. Run
>     real    2m36.457s
>     user    2m32.008s
>     sys    0m3.184s
>     2. Run
>     real    2m36.764s
>     user    2m31.672s
>     sys    0m3.296s
> 
>     64bit cmake 3.4.3 Makefile Generation
>     1. Run
>     real    1m29.679s
>     user    1m24.696s
>     sys    0m2.920s
>     2. Run
>     real    1m28.266s
>     user    1m24.220s
>     sys    0m2.976s

There has been some refactoring but it has not had that effect on
projects I've seen.  What project are you configuring?  Were both
of these versions built the same way?  Is this consistent when
configuring, say, CMake itself?

Thanks,
-Brad



More information about the cmake-developers mailing list