Commit b3f6b55a authored by Denis Bilenko's avatar Denis Bilenko

cythonpp.py: process configurations in order

parent 666c1353
......@@ -74,7 +74,7 @@ def process_filename(filename, output_filename=None):
sources = []
counter = 0
for configuration, lines in preprocessed.items():
for configuration, lines in sorted(preprocessed.items()):
counter += 1
value = ''.join(lines)
sourcehash = md5(value.encode("utf-8")).hexdigest()
......@@ -313,7 +313,7 @@ def format_cond(cond):
def format_tag(tag):
if not isinstance(tag, set):
raise TypeError(repr(tag))
return ' && '.join([format_cond(x) for x in tag])
return ' && '.join([format_cond(x) for x in sorted(tag)])
def format_tags(tags):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment