Sfoglia il codice sorgente

dynapi: order headers for reproducible behavior

Anonymous Maarten 1 anno fa
parent
commit
ec2ef5f9b5
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3 0
      src/dynapi/gendynapi.py

+ 3 - 0
src/dynapi/gendynapi.py

@@ -444,6 +444,9 @@ def get_header_list() -> list[Path]:
         else:
             logger.debug("Skip %s", f)
 
+    # Order headers for reproducible behavior
+    ret.sort()
+
     return ret
 
 # Write the new API in files: _procs.h _overrivides.h and .sym