[libc++] NFC: Print Lit available features in sorted order

This makes it easier to diff them between bot runs.
This commit is contained in:
Louis Dionne 2020-05-04 10:11:49 -04:00
parent 031265ad8a
commit 9ae23bd0a3
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ class Configuration(object):
self.lit_config.note('Using link flags: %s' % self.cxx.link_flags)
# Print as list to prevent "set([...])" from being printed.
self.lit_config.note('Using available_features: %s' %
list(self.config.available_features))
list(sorted(self.config.available_features)))
show_env_vars = {}
for k,v in self.exec_env.items():
if k not in os.environ or os.environ[k] != v: