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

Eric Engestrom eric.engestrom at intel.com
Thu Jul 5 09:40:17 UTC 2018


On Wednesday, 2018-06-27 12:37:37 +0200, Mathieu Bridon wrote:
> 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.

Series is:
Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>

I'll run it through jenkins to make sure things like MacOS are OK, and
push it once that's done :)

> 
>  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
> 
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list