Re: Scons none-deterministic behavior for incremental build
Mats Wichmann <[email protected]>
| Newsgroups | gmane.comp.programming.tools.scons.user |
|---|---|
| Message-ID | <[email protected]> |
On 12/5/18 2:50 AM, Hua Yanghao wrote: > I finally nailed it down. glad you got it cleaned up! > > It is because the ordering of SConscript files processing, where in > SConscript I allow users/modules to provide additional CFLAGS. > I used a set() to eliminate duplicated SConscript, but in Python3 > set() does not have a stable run-time ordering. I guess that's an implementation detail... cpython 3 doing something different than 2.7. there has never been any promise: "A set object is an unordered collection of distinct hashable objects." > > The fix is very simple to convert the set() back to list and sort it out. sounds good. _______________________________________________ Scons-users mailing list [email protected] https://pairlist4.pair.net/mailman/listinfo/scons-users