GH-115869: Make jit_stencils.h reproducible (GH-127166)

This commit is contained in:
Brandt Bucher 2024-11-24 14:42:50 -08:00 committed by GitHub
parent 307c633586
commit 17c16aea66
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 18 additions and 9 deletions

View file

@ -77,6 +77,6 @@ def dump(
groups: dict[str, _stencils.StencilGroup], symbols: dict[str, int]
) -> typing.Iterator[str]:
"""Yield a JIT compiler line-by-line as a C header file."""
for opname, group in sorted(groups.items()):
for opname, group in groups.items():
yield from _dump_stencil(opname, group)
yield from _dump_footer(groups, symbols)