On Mac* the WebCore Xcode project has a separate build target  
"webcore_bindings" that contains DerivedSourcesAllInOne.cpp and a  
handful of other files. This setup is really slowing down the build  
process on my Mac Pro, because DerivedSourcesAllInOne takes much  
longer to compile than any of the other sources in that target (since  
it #includes about 100 .cpp files), so there's a long period where one  
of the 8 cores is compiling that one file while the others are  
twiddling their thumbs.

(I notice this especially because I've been working on V8 bindings  
stuff lately, so everything I touch tends to force that target to  
rebuild.)

This could be improved either by
a- merging this target in with the main WebCore target (didn't it use  
to be that way?)
b- adding more files to this target to give the other cores something  
to do
c- breaking up DerivedSourcesAllInOne into several pieces to compile  
simultaneously

Anyone have any thoughts about this? (Option c seems attractively easy  
to do...)

—Jens

*maybe this applies to other platforms too, since the basic build  
structure comes from the shared .gyp file?

-- 
Chromium Developers mailing list: [email protected] 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev

Reply via email to