Nikolay Molchanov wrote:

>>>Sun Studio 11 compilers have a new feature: "preprocessed include
>>>files". This is some kind of caching, and we can try to use it.
>>>      
>>>
>>This sounds a lot like ccache[0], which caches compiler output and
>>products based on a hash of the compilation command line and the
>>preprocessor output.  But this has little to do with parallelism.
>>    
>>
>
>Completely agree. Though there is one key point: if there is a "bottle
>neck" (a target takes long time, and all other targets cannot start
>while this one is not done), any improvement in this particular target
>will help.  So, it seems to make sense to try to use file caching to 
>minimze the time lost in "bottlenecks".
>
>  
>
As I've suggested before, the best way I can see to improve build times
is to "flatten out" the build.  One way to do this is to create higher
level makefiles with targets from several directories.  This reduces the
number of bottlenecks.

This is how I structure my own code and I can maintain a steady number
of jobs over several build machines this way.

This will also help to bring distributed building to ON.

Ian
_______________________________________________
tools-discuss mailing list
[email protected]

Reply via email to