mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-05 03:40:28 +01:00
anv_icd.py: improve reproducible builds
Sort the output to ensure build reproducibility Signed-off-by: Maxin B. John <maxin.john@intel.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com> Fixes:0ab04ba979("anv: Use python to generate ICD json files") Reviewed-by: Dylan Baker <dylan@pnwbakers.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> (cherry picked from commit8116b9170b)
This commit is contained in:
parent
5ef9c58f4b
commit
d2258c5538
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue