[Cmake] Autological Makefiles (+ VTK new build is *slow*)

William A. Hoffman bill.hoffman at kitware.com
Mon Jun 4 22:30:48 EDT 2001


I am not building with tcl or any of the wrapped stuff, perhaps it is the 
custom commands that
slow things down.

Here is a run with no wrapping:
$ time msdev VTK.dsw /MAKE "ALL_BUILD - Win32 Release"
--------------------Configuration: ALL_BUILD - Win32 
Release--------------------
Performing Custom Build Step on ALL_BUILD
"Build all projects"
ALL_BUILD - 0 error(s), 0 warning(s)
real    0m10.064s
user    0m0.020s
sys     0m0.030s

Here is a run with TCL wrapping:
$ time msdev VTK.dsw /MAKE "ALL_BUILD - Win32 Release"
--------------------Configuration: ALL_BUILD - Win32 
Release--------------------
Performing Custom Build Step on ALL_BUILD
"Build all projects"
ALL_BUILD - 0 error(s), 0 warning(s)
real    0m24.105s
user    0m0.010s
sys     0m0.010s


The .ncb file gets quite big because it has all those .h files as 
sources.  That makes
it generate the class browser stuff which I think is slow for all of VTK.
But, I am not seeing anything over a minute.

-Bill

At 12:46 AM 6/5/2001 +0200, Sebastien BARRE wrote:
>At 04/06/2001 18:15, Bill Hoffman wrote:
>>Here are some examples with VTK builds using msdev from the cygwin 
>>command line using
>>time:
>>
>>bash-2.04$ time msdev VTK.dsw /MAKE "vtkCommon - Win32 Release"
>>--------------------Configuration: vtkCommon - Win32 
>>Release--------------------
>>vtkCommon.dll - 0 error(s), 0 warning(s)
>>real    0m3.055s
>>user    0m0.010s
>>sys     0m0.020s
>
>Mine :
>
>real    0m13.760s
>user    0m0.020s
>sys     0m0.010s
>
>>bash-2.04$ touch ../vtknew/Common/vtkTimerLog.cxx
>>bash-2.04$ time msdev VTK.dsw /MAKE "vtkCommon - Win32 Release"
>>--------------------Configuration: vtkCommon - Win32 
>>Release--------------------
>>Compiling...
>>vtkTimerLog.cxx
>>Linking...
>>    Creating library c:/hoffman/vtknew-vc/lib/Release/vtkCommon.lib and 
>> object c:/hoffman/vtknew-vc/lib/Release/vtkCommon.exp
>>vtkCommon.dll - 0 error(s), 0 warning(s)
>>real    0m12.168s
>>user    0m0.020s
>>sys     0m0.010s
>
>real    0m26.839s
>user    0m0.020s
>sys     0m0.020s
>
>Try this please :
>
>barre [505] //s/src/vtk/vtknew-build$ time msdev VTK.dsw /MAKE "ALL_BUILD 
>- Win32 Release"
>--------------------Configuration: ALL_BUILD - Win32 
>Release-------------------
>
>Performing Custom Build Step on ALL_BUILD "Build all projects"
>
>ALL_BUILD - 0 error(s), 0 warning(s)
>
>real    1m12.484s
>user    0m0.030s
>sys     0m0.020s
>
>
>_______________________________________________
>Cmake mailing list
>Cmake at public.kitware.com
>http://public.kitware.com/mailman/listinfo/cmake





More information about the CMake mailing list