summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics
diff options
context:
space:
mode:
authorMaxin B. John <maxin.john@intel.com>2018-01-17 16:53:30 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-01-18 12:50:37 +0000
commitf41020e4f679f974ce4143b138fa9b18cc3e04d0 (patch)
treeea01724e829653187eb6792e08cbe7391b0a63c2 /meta/recipes-graphics
parent2ed6e23582e6680561a35bb62e91ed7a9592ef0a (diff)
downloadpoky-f41020e4f679f974ce4143b138fa9b18cc3e04d0.tar.gz
mesa: improve build reproducibility
Sort the output to ensure reproducibility. Fixes [YOCTO #12479] (From OE-Core rev: 287446f5c0f3108efc0429bf84be45413970b7a8) Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r--meta/recipes-graphics/mesa/files/0001-anv_icd.py-improve-reproducible-builds.patch27
-rw-r--r--meta/recipes-graphics/mesa/mesa_17.3.2.bb1
2 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-graphics/mesa/files/0001-anv_icd.py-improve-reproducible-builds.patch b/meta/recipes-graphics/mesa/files/0001-anv_icd.py-improve-reproducible-builds.patch
new file mode 100644
index 0000000000..da7a81f253
--- /dev/null
+++ b/meta/recipes-graphics/mesa/files/0001-anv_icd.py-improve-reproducible-builds.patch
@@ -0,0 +1,27 @@
1From b474abdd91158a52821c34865277d7de38880529 Mon Sep 17 00:00:00 2001
2From: "Maxin B. John" <maxin.john@intel.com>
3Date: Wed, 17 Jan 2018 15:53:29 +0200
4Subject: [PATCH] anv_icd.py: improve reproducible builds
5
6Sort the output to ensure reproducibility
7
8Upstream-Status: Pending
9
10Signed-off-by: Maxin B. John <maxin.john@intel.com>
11---
12 src/intel/vulkan/anv_icd.py | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/src/intel/vulkan/anv_icd.py b/src/intel/vulkan/anv_icd.py
16index 4ed01fa..31bb068 100644
17--- a/src/intel/vulkan/anv_icd.py
18+++ b/src/intel/vulkan/anv_icd.py
19@@ -44,4 +44,4 @@ if __name__ == '__main__':
20 }
21
22 with open(args.out, 'w') as f:
23- json.dump(json_data, f, indent = 4)
24+ json.dump(json_data, f, indent = 4, sort_keys=True)
25--
262.4.0
27
diff --git a/meta/recipes-graphics/mesa/mesa_17.3.2.bb b/meta/recipes-graphics/mesa/mesa_17.3.2.bb
index 9e9b23322a..c2143ad32d 100644
--- a/meta/recipes-graphics/mesa/mesa_17.3.2.bb
+++ b/meta/recipes-graphics/mesa/mesa_17.3.2.bb
@@ -9,6 +9,7 @@ SRC_URI = "https://mesa.freedesktop.org/archive/mesa-${PV}.tar.xz \
9 file://llvm-config-version.patch \ 9 file://llvm-config-version.patch \
10 file://0001-winsys-svga-drm-Include-sys-types.h.patch \ 10 file://0001-winsys-svga-drm-Include-sys-types.h.patch \
11 file://0001-Makefile.vulkan.am-explictly-add-lib-expat-to-intel-.patch \ 11 file://0001-Makefile.vulkan.am-explictly-add-lib-expat-to-intel-.patch \
12 file://0001-anv_icd.py-improve-reproducible-builds.patch \
12 " 13 "
13 14
14SRC_URI[md5sum] = "5c59b779925f504ffd0f13c7dcd29ac6" 15SRC_URI[md5sum] = "5c59b779925f504ffd0f13c7dcd29ac6"