[Mesa-dev] [PATCH] anv_icd.py: improve reproducible builds

Dylan Baker dylan at pnwbakers.com
Thu Jan 18 18:22:20 UTC 2018


Reviewed-by: Dylan Baker <dylan at pnwbakers.com>

Quoting maxin.john at gmail.com (2018-01-18 03:33:37)
> From: "Maxin B. John" <maxin.john at intel.com>
> 
> Sort the output to ensure build reproducibility
> 
> Signed-off-by: Maxin B. John <maxin.john at intel.com>
> ---
>  src/intel/vulkan/anv_icd.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/intel/vulkan/anv_icd.py b/src/intel/vulkan/anv_icd.py
> index 4ed01fa..31bb068 100644
> --- a/src/intel/vulkan/anv_icd.py
> +++ b/src/intel/vulkan/anv_icd.py
> @@ -44,4 +44,4 @@ if __name__ == '__main__':
>      }
>  
>      with open(args.out, 'w') as f:
> -        json.dump(json_data, f, indent = 4)
> +        json.dump(json_data, f, indent = 4, sort_keys=True)
> -- 
> 2.4.0
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: signature
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180118/e0122278/attachment-0001.sig>


More information about the mesa-dev mailing list