scons: Ensure dictionary iteration is sorted by key
authorAndreas Hansson <andreas.hansson@arm.com>
Tue, 2 Dec 2014 11:08:22 +0000 (06:08 -0500)
committerAndreas Hansson <andreas.hansson@arm.com>
Tue, 2 Dec 2014 11:08:22 +0000 (06:08 -0500)
commit966c3f4bc5581347a411c25db1440afb97f12dab
tree72e14bcb462403383f584a1b10cd03f4c8cb5a84
parent5d22250845f6160bb0529ab510918f56a5c30f94
scons: Ensure dictionary iteration is sorted by key

This patch adds sorting based on the SimObject name or parameter name
for all situations where we iterate over dictionaries. This should
ensure a deterministic and consistent order across the host systems
and hopefully avoid regression results differing across python
versions.
SConstruct
src/SConscript
src/python/m5/SimObject.py