My usual question about does is N smaller files somehow better than 1 file 
applies. I guess put another way, why is the length of this file bad? If it 
logically all belongs it one place I don't feel like there is any reason to 
split it up. Especially since it will probably confuse people in the future and 
I've never seen site_scons used before so probably other people won't be 
expecting it either.

Ali
 


On Apr 11, 2011, at 3:20 AM, Gabe Black wrote:

>    I went digging through our SCons files today, and it occurs to me
> that the two main files, SConstruct and src/SConscript, are quite long
> and intimidating. They tend (as far as I could tell) to be split up into
> sections which is very helpful, but there's still a sea of text and it's
> easy to get disoriented and hard to get a high level idea of what's in
> there and what it's all for.
> 
>    Does anyone have any objections to breaking those files into several
> smaller ones, likely similar to how they're already grouped into
> sections? SCons supports a site_scons directory which automatically gets
> added to the python path and where you can put extra utility source
> files. That seems like a good place to spin sections off into.
> 
> Gabe
> _______________________________________________
> m5-dev mailing list
> [email protected]
> http://m5sim.org/mailman/listinfo/m5-dev
> 

_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to