From 4225a68a9538401d9f5e772d8d090e57eb7adb7b Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Thu, 15 Apr 2010 16:25:14 -0700 Subject: [PATCH] scons: don't maintain files in sorted order This causes builds to happen in sorted order rather than in declaration order. This gets annoying when you make a global change and then you notice that the files that are being compiled are jumping around the directory hierarchy. --- src/SConscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SConscript b/src/SConscript index d02d2a6e7..51616701b 100644 --- a/src/SConscript +++ b/src/SConscript @@ -88,7 +88,7 @@ class SourceFile(object): for base in type(self).__mro__: if issubclass(base, SourceFile): - bisect.insort_right(base.all, self) + base.all.append(self) def __lt__(self, other): return self.filename < other.filename def __le__(self, other): return self.filename <= other.filename