From: Maxin B. John Date: Thu, 18 Jan 2018 11:33:37 +0000 (+0200) Subject: anv_icd.py: improve reproducible builds X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8116b9170bc36bb15512f97a7680ad97bddd56a8;p=mesa.git anv_icd.py: improve reproducible builds Sort the output to ensure build reproducibility Signed-off-by: Maxin B. John Reviewed-by: Emil Velikov Fixes: 0ab04ba979b ("anv: Use python to generate ICD json files") Reviewed-by: Dylan Baker Reviewed-by: Jason Ekstrand --- diff --git a/src/intel/vulkan/anv_icd.py b/src/intel/vulkan/anv_icd.py index 4ed01fa2330..31bb0687a8f 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)