[Scons-users] global cleanup
Wilhelm Duembeg
wduembeg at hotmail.com
Tue Sep 25 21:31:39 EDT 2012
A suggestion, specially when cleaning very large build is to use in combination of options; with -c option also use --implicit-deps-unchanged. This will allow SCons to skip digging for the implicit dependencies since this where already caught in the .sconsign.dblite.
For example a build that would take 5min to clean with --implicit-deps-unchanged it goes down to 30sec to 1min.
-Wilhelm
> From: jason.l.kenny at intel.com
> To: scons-users at scons.org
> Date: Mon, 27 Aug 2012 15:02:37 +0000
> Subject: Re: [Scons-users] global cleanup
>
> I think this was about a quick clean with using the command line..
>
> Jason
>
> -----Original Message-----
> From: scons-users-bounces at scons.org [mailto:scons-users-bounces at scons.org] On Behalf Of LRN
> Sent: Monday, August 27, 2012 9:56 AM
> To: scons-users at scons.org
> Subject: Re: [Scons-users] global cleanup
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 23.08.2012 21:06, Kenny, Jason L wrote:
> > A common trick that is often you is make a variant directories that
> > start with '_' then you can say rm -rf _* or rm -r -for _* ( on
> > powershell for windows)
> Or you can use shutil [1] and glob [2]. I mean, powershell? When you have Python? Seriously?
>
> [1] http://docs.python.org/library/shutil.html#shutil.rmtree
> [2] http://docs.python.org/library/glob.html
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (MingW32)
> Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
>
> iQEcBAEBAgAGBQJQO4ptAAoJEOs4Jb6SI2CwCIkIALeUUauiSauPiQ6+59Weudyj
> IOg1DOS5lOqSs9KdU6dkRMCpHqWBh9knsUGEjzQdY+KQ9M+c84LN0JkQjLbPyjgp
> +ZjLI8nScWwOfzR+V2NFa/HqP9Gtj3JurAw0OfS2FbJOv2hSUK5Ye7PNQGJIzVXq
> i45Z4AHKnH/fomvdwSRQSpAHgpr3HnYfWgmrWE1naRh11+obeP+V3XLOlt0lcSCj
> 5y6r3I5kFr6N0E58PyWl0Sy5fw+n4czNDBJ9wmtv55BTKUxroMvwGA9RWezBnBFy
> eN59kf7Z2TQDnRX3hHq9b3u1ZPRpS9bdkWkWqNgueOBGSbez9bo4eWFFdsjuRwM=
> =V0Mn
> -----END PGP SIGNATURE-----
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> http://four.pairlist.net/mailman/listinfo/scons-users
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> http://four.pairlist.net/mailman/listinfo/scons-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20120926/6221d85c/attachment.htm>
More information about the Scons-users
mailing list