[Cmake] VTK new build is *slow*
Bill Hoffman
bill.hoffman at kitware.com
Wed Jun 6 15:53:24 EDT 2001
If you remove the idb files, you would also have to remove all the obj files as well.
From what I can tell, the /FD flag causes the compiler to write the depends into
the idb files DURING compilation. Which adds minimal time on to the build of each
file.
However, the depend information is much more complete than what was in the old
VTK, it now includes system files as well as the vtk files. I think this
is the real source of the slow downs, it is checking the time on more files.
msdev may look at all the .idb files, and perhaps slightly modify them, but I do
not think that it is computing depends each time it is run. It computes depends
each time cl is run with the /FD flag.
BTW, with the old nmake files, if I build tcl and java, running nmake from
the top of my vtkbin directory takes this long:
real 0m27.462s
user 0m0.030s
sys 0m0.000s
With tcl and the old nmake:
real 0m19.129s
user 0m0.010s
sys 0m0.020s
With the new dsw/dsp msdev command line and tcl:
real 0m24.105s
user 0m0.010s
sys 0m0.010s
All of the above were run with up-to-date builds, i.e. nothing was built.
So, with the dsp/dsw stuff it adds a whooping 5 seconds to the build.
-Bill
At 01:05 PM 6/6/2001 +0200, Sebastien BARRE wrote:
>Hi
>
>At 05/06/2001 10:42, Bill Hoffman wrote:
>
>I've installed a fresh copy of MSVC++ 6 Entreprise Edition, then applied the latest Service Pack (SP5). I've also downloaded a fresh copy of the new tree from the CVS, and removed my CMakeCache.txt.
>
>No changes :(
>(Tcl + Python included)
>
>real 1m9.630s
>user 0m0.010s
>sys 0m0.020s
>
>Nevertheless, I've noticed that during this call to msdev, *all* .idb files are touched (check the modification date).
>
>This represents 11 files, 3.2 Mo, when Tcl and Python are "On".
>
>BUT, if I remove all .idb files manually, they are *not* re-created, and the build time goes to a crazy :
>
>real 2m21.394s
>user 0m0.010s
>sys 0m0.010s
>
>Puzzling.
>Are these files modified or recreated in during your build ?
>
>
>_______________________________________________
>Cmake mailing list
>Cmake at public.kitware.com
>http://public.kitware.com/mailman/listinfo/cmake
More information about the CMake
mailing list