summaryrefslogtreecommitdiffstats
path: root/src/intel
diff options
context:
space:
mode:
authorMaxin B. John <[email protected]>2018-01-18 13:33:37 +0200
committerEmil Velikov <[email protected]>2018-01-26 19:53:02 +0000
commit74b39c0bbf2467799b2b225c8059ce56413147cb (patch)
tree10dab692288949c07a5910782698933b16ddeea7 /src/intel
parenta5bdf2abf9d87c34ab5ebec5a2bbf78b4e19db5b (diff)
anv_icd.py: improve reproducible builds
Sort the output to ensure build reproducibility Signed-off-by: Maxin B. John <[email protected]> Reviewed-by: Emil Velikov <[email protected]> Fixes: 0ab04ba979b ("anv: Use python to generate ICD json files") Reviewed-by: Dylan Baker <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> (cherry picked from commit 8116b9170bc36bb15512f97a7680ad97bddd56a8)
Diffstat (limited to 'src/intel')
-rw-r--r--src/intel/vulkan/anv_icd.py2
1 files changed, 1 insertions, 1 deletions
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)