Gabe Black has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/48360 )

Change subject: util: Sort the "updater tags" in cpt_upgrader.py --get-cc-file.
......................................................................

util: Sort the "updater tags" in cpt_upgrader.py --get-cc-file.

This ensures that the same tags will create the same file, and avoids
spurious rebuilds/relinks for null builds.

Change-Id: Ic8e37a24e2c60d74d8c921dde1c5e102d3a764e3
---
M util/cpt_upgrader.py
1 file changed, 1 insertion(+), 1 deletion(-)



diff --git a/util/cpt_upgrader.py b/util/cpt_upgrader.py
index e091af4..abbaba2 100755
--- a/util/cpt_upgrader.py
+++ b/util/cpt_upgrader.py
@@ -297,7 +297,7 @@
         print("{")
         print()
         print("std::set<std::string> version_tags = {")
-        for tag in Upgrader.tag_set:
+        for tag in sorted(Upgrader.tag_set):
             print("  \"{}\",".format(tag))
         print("};")
         print()

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/48360
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: Ic8e37a24e2c60d74d8c921dde1c5e102d3a764e3
Gerrit-Change-Number: 48360
Gerrit-PatchSet: 1
Gerrit-Owner: Gabe Black <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to