[Mesa-dev] Make the output of the Python build scripts more reproducible

Mathieu Bridon bochecha at daitauha.fr
Wed Jun 27 10:37:37 UTC 2018


I ported the Mesa build system to Python 3.

The result of this work can be seen on my fork:

    https://gitlab.freedesktop.org/bochecha/mesa/tree/python3

When porting, I tried to ensure that the generated files are identical
to the ones generated by a build on master. This was made difficult by
some scripts not having reproducible outputs.

This patch series only makes these scripts generate reproducible output,
to ease verification of the port.

 src/amd/common/sid_tables.py          | 2 +-
 src/amd/vulkan/radv_icd.py            | 2 +-
 src/compiler/nir/nir_algebraic.py     | 3 ++-
 src/compiler/nir/nir_opt_algebraic.py | 3 ++-
 src/intel/vulkan/anv_icd.py           | 2 +-
 src/mapi/glapi/gen/glX_proto_size.py  | 2 +-
 src/mapi/glapi/gen/gl_XML.py          | 3 ++-
 7 files changed, 10 insertions(+), 7 deletions(-)
 
* [PATCH 1/2] build: Stabilize some script outputs
* [PATCH 2/2] build: Specify the JSON separators




More information about the mesa-dev mailing list