[Scons-users] Scanners
William Blevins
wblevins001 at gmail.com
Wed Jan 20 08:52:52 EST 2016
I don't believe there is a magic switch for this. I assume the real issue
is that the order of the dependencies must always be the same, and not
necessarily sorted alphabetically. What tool are you using that requires
sorting? Is this related to caching?
V/R,
William
On Wed, Jan 20, 2016 at 11:22 AM, Tom Tanner (BLOOMBERG/ LONDON) <
ttanner2 at bloomberg.net> wrote:
> Is there any way to tell the Scanner class to sort the list of scanned
> dependencies? I have a hand written scanner and it has to sort the
> dependencies it returns so as not to get unexpected rebuilds depending on
> the vagaries of todays choice of filing system and how python has decided
> to order dictionaries today.
>
> But even that isn't always enough as the scanner is recursive so it can
> possibly build multiple lists which are individually sorted but the total
> result isn't.
>
> But at least specifically in my case, and possibly in others, the order of
> the dependencies isn't important.
>
> Note: I'm using the scanner factory to create my scanner which I see is
> sort-of-deprecated, but it's the one I found the documentation when writing
> my scanner in the first place.
>
>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20160120/599d48a1/attachment.html>
More information about the Scons-users
mailing list