[Scons-users] Scanners

Tom Tanner (BLOOMBERG/ LONDON) ttanner2 at bloomberg.net
Wed Jan 20 06:22:53 EST 2016


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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20160120/f98516ad/attachment.html>


More information about the Scons-users mailing list