From: Nathan Binkert Date: Thu, 15 Apr 2010 23:25:14 +0000 (-0700) Subject: scons: don't maintain files in sorted order X-Git-Tag: stable_2012_02_02~1424 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4225a68a9538401d9f5e772d8d090e57eb7adb7b;p=gem5.git 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. --- 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