[Scons-dev] New symlink copy support

anatoly techtonik techtonik at gmail.com
Tue Jul 29 12:51:58 EDT 2014


On Mon, Jul 28, 2014 at 6:25 PM, Kenny, Jason L <jason.l.kenny at intel.com> wrote:
> Anatoly,
>
> What is your take on the CCopy behavior in Parts. I believe this addresses the issue you are concern over. The logic be default is to do a hard-soft-copy which is to say make a hard link, else symlink, else full copy.

My take is that's the way to go if we are making this Copy logic
implicit. If there is a fallback mechanism then there won't be any
issues.

> The code allow the user to explicitly set the "copy" logic for the whole build and allow a given copy to be set to have exact semantics the user wants independent of what the whole build is set to.

I can't foresee any situation where global switch will be useful, but
it may be worthy to set one. I hope our goal is to to have intelligent
and fast build system, not the one creeping with options. So if we can
make automatic defaults that work fast thanks to symlinks where this
is supported without breaking former logic - I am all +1.


More information about the Scons-dev mailing list