diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2023-06-14 11:29:13 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-06-16 15:40:11 +0100 |
commit | 4aa75194e5e052b0119fdea8f40e72c69da7afc3 (patch) | |
tree | b8ca44d9709c874cc32ba513c1298a4e36abd252 /meta/recipes-graphics | |
parent | 55ceb030357604f5c8a87a961420b88e2b4f643c (diff) | |
download | poky-4aa75194e5e052b0119fdea8f40e72c69da7afc3.tar.gz |
vulkan: upgrade 1.3.243.0 -> 1.3.250.0
Add a patch to vulkan-tools that unbreaks cross-builds.
(From OE-Core rev: 2c42e3a39cc1dfd6f145489e3e85dab17056e301)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r-- | meta/recipes-graphics/glslang/glslang_1.3.250.0.bb (renamed from meta/recipes-graphics/glslang/glslang_1.3.243.0.bb) | 2 | ||||
-rw-r--r-- | meta/recipes-graphics/spir/spirv-headers_1.3.250.0.bb (renamed from meta/recipes-graphics/spir/spirv-headers_1.3.243.0.bb) | 2 | ||||
-rw-r--r-- | meta/recipes-graphics/spir/spirv-tools_1.3.250.0.bb (renamed from meta/recipes-graphics/spir/spirv-tools_1.3.243.0.bb) | 2 | ||||
-rw-r--r-- | meta/recipes-graphics/vulkan/vulkan-headers_1.3.250.0.bb (renamed from meta/recipes-graphics/vulkan/vulkan-headers_1.3.243.0.bb) | 2 | ||||
-rw-r--r-- | meta/recipes-graphics/vulkan/vulkan-loader_1.3.250.0.bb (renamed from meta/recipes-graphics/vulkan/vulkan-loader_1.3.243.0.bb) | 4 | ||||
-rw-r--r-- | meta/recipes-graphics/vulkan/vulkan-tools/0001-scripts-CMakeLists.txt-do-not-make-special-arrangeme.patch | 29 | ||||
-rw-r--r-- | meta/recipes-graphics/vulkan/vulkan-tools_1.3.250.0.bb (renamed from meta/recipes-graphics/vulkan/vulkan-tools_1.3.243.0.bb) | 6 |
7 files changed, 39 insertions, 8 deletions
diff --git a/meta/recipes-graphics/glslang/glslang_1.3.243.0.bb b/meta/recipes-graphics/glslang/glslang_1.3.250.0.bb index c50d67a652..6e9c666d46 100644 --- a/meta/recipes-graphics/glslang/glslang_1.3.243.0.bb +++ b/meta/recipes-graphics/glslang/glslang_1.3.250.0.bb | |||
@@ -8,7 +8,7 @@ HOMEPAGE = "https://www.khronos.org/opengles/sdk/tools/Reference-Compiler" | |||
8 | LICENSE = "BSD-3-Clause & BSD-2-Clause & MIT & Apache-2.0 & GPL-3-with-bison-exception" | 8 | LICENSE = "BSD-3-Clause & BSD-2-Clause & MIT & Apache-2.0 & GPL-3-with-bison-exception" |
9 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2a2b5acd7bc4844964cfda45fe807dc3" | 9 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2a2b5acd7bc4844964cfda45fe807dc3" |
10 | 10 | ||
11 | SRCREV = "14e5a04e70057972eef8a40df422e30a3b70e4b5" | 11 | SRCREV = "d1517d64cfca91f573af1bf7341dc3a5113349c0" |
12 | SRC_URI = "git://github.com/KhronosGroup/glslang.git;protocol=https;branch=main \ | 12 | SRC_URI = "git://github.com/KhronosGroup/glslang.git;protocol=https;branch=main \ |
13 | file://0001-generate-glslang-pkg-config.patch \ | 13 | file://0001-generate-glslang-pkg-config.patch \ |
14 | " | 14 | " |
diff --git a/meta/recipes-graphics/spir/spirv-headers_1.3.243.0.bb b/meta/recipes-graphics/spir/spirv-headers_1.3.250.0.bb index e27c0a67dc..d0a2e2e991 100644 --- a/meta/recipes-graphics/spir/spirv-headers_1.3.243.0.bb +++ b/meta/recipes-graphics/spir/spirv-headers_1.3.250.0.bb | |||
@@ -4,7 +4,7 @@ HOMEPAGE = "https://www.khronos.org/registry/spir-v" | |||
4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c938b85bceb8fb26c1a807f28a52ae2d" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c938b85bceb8fb26c1a807f28a52ae2d" |
6 | 6 | ||
7 | SRCREV = "1feaf4414eb2b353764d01d88f8aa4bcc67b60db" | 7 | SRCREV = "268a061764ee69f09a477a695bf6a11ffe311b8d" |
8 | SRC_URI = "git://github.com/KhronosGroup/SPIRV-Headers;protocol=https;branch=main" | 8 | SRC_URI = "git://github.com/KhronosGroup/SPIRV-Headers;protocol=https;branch=main" |
9 | PE = "1" | 9 | PE = "1" |
10 | # These recipes need to be updated in lockstep with each other: | 10 | # These recipes need to be updated in lockstep with each other: |
diff --git a/meta/recipes-graphics/spir/spirv-tools_1.3.243.0.bb b/meta/recipes-graphics/spir/spirv-tools_1.3.250.0.bb index ba89c35c09..bde6ddd04b 100644 --- a/meta/recipes-graphics/spir/spirv-tools_1.3.243.0.bb +++ b/meta/recipes-graphics/spir/spirv-tools_1.3.250.0.bb | |||
@@ -7,7 +7,7 @@ SECTION = "graphics" | |||
7 | LICENSE = "Apache-2.0" | 7 | LICENSE = "Apache-2.0" |
8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" | 8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" |
9 | 9 | ||
10 | SRCREV = "44d72a9b36702f093dd20815561a56778b2d181e" | 10 | SRCREV = "e7c6084fd1d6d6f5ac393e842728d8be309688ca" |
11 | SRC_URI = "git://github.com/KhronosGroup/SPIRV-Tools.git;branch=main;protocol=https" | 11 | SRC_URI = "git://github.com/KhronosGroup/SPIRV-Tools.git;branch=main;protocol=https" |
12 | PE = "1" | 12 | PE = "1" |
13 | # These recipes need to be updated in lockstep with each other: | 13 | # These recipes need to be updated in lockstep with each other: |
diff --git a/meta/recipes-graphics/vulkan/vulkan-headers_1.3.243.0.bb b/meta/recipes-graphics/vulkan/vulkan-headers_1.3.250.0.bb index 6ddc35e5d8..2970767ff3 100644 --- a/meta/recipes-graphics/vulkan/vulkan-headers_1.3.243.0.bb +++ b/meta/recipes-graphics/vulkan/vulkan-headers_1.3.250.0.bb | |||
@@ -11,7 +11,7 @@ LICENSE = "Apache-2.0" | |||
11 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57" | 11 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57" |
12 | SRC_URI = "git://github.com/KhronosGroup/Vulkan-Headers.git;branch=main;protocol=https" | 12 | SRC_URI = "git://github.com/KhronosGroup/Vulkan-Headers.git;branch=main;protocol=https" |
13 | 13 | ||
14 | SRCREV = "65ad768d8603671fc1085fe115019e72a595ced8" | 14 | SRCREV = "9e61870ecbd32514113b467e0a0c46f60ed222c7" |
15 | 15 | ||
16 | S = "${WORKDIR}/git" | 16 | S = "${WORKDIR}/git" |
17 | 17 | ||
diff --git a/meta/recipes-graphics/vulkan/vulkan-loader_1.3.243.0.bb b/meta/recipes-graphics/vulkan/vulkan-loader_1.3.250.0.bb index 20128667f1..456c973406 100644 --- a/meta/recipes-graphics/vulkan/vulkan-loader_1.3.243.0.bb +++ b/meta/recipes-graphics/vulkan/vulkan-loader_1.3.250.0.bb | |||
@@ -9,8 +9,8 @@ SECTION = "libs" | |||
9 | 9 | ||
10 | LICENSE = "Apache-2.0" | 10 | LICENSE = "Apache-2.0" |
11 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=7dbefed23242760aa3475ee42801c5ac" | 11 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=7dbefed23242760aa3475ee42801c5ac" |
12 | SRC_URI = "git://github.com/KhronosGroup/Vulkan-Loader.git;branch=sdk-1.3.243;protocol=https" | 12 | SRC_URI = "git://github.com/KhronosGroup/Vulkan-Loader.git;branch=sdk-1.3.250;protocol=https" |
13 | SRCREV = "22407d7804f111fbc0e31fa0db592d658e19ae8b" | 13 | SRCREV = "f372068d09fc13bcf54b8c81274f37aa5f46aea3" |
14 | 14 | ||
15 | S = "${WORKDIR}/git" | 15 | S = "${WORKDIR}/git" |
16 | 16 | ||
diff --git a/meta/recipes-graphics/vulkan/vulkan-tools/0001-scripts-CMakeLists.txt-do-not-make-special-arrangeme.patch b/meta/recipes-graphics/vulkan/vulkan-tools/0001-scripts-CMakeLists.txt-do-not-make-special-arrangeme.patch new file mode 100644 index 0000000000..6b70a1e62d --- /dev/null +++ b/meta/recipes-graphics/vulkan/vulkan-tools/0001-scripts-CMakeLists.txt-do-not-make-special-arrangeme.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | From 9060e916ca05d34b56c62f2be0b4a77dd104e2aa Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex@linutronix.de> | ||
3 | Date: Fri, 2 Jun 2023 14:13:00 +0200 | ||
4 | Subject: [PATCH] scripts/CMakeLists.txt: append to CMAKE_FIND_ROOT_PATH | ||
5 | instead of replacing it | ||
6 | |||
7 | Resetting CMAKE_FIND_ROOT_PATH in particular breaks builds in Yocto | ||
8 | (which is a major cross compiling framework). | ||
9 | |||
10 | Upstream-Status: Submitted [https://github.com/KhronosGroup/Vulkan-Tools/pull/808] | ||
11 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> | ||
12 | |||
13 | --- | ||
14 | scripts/CMakeLists.txt | 2 +- | ||
15 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
16 | |||
17 | diff --git a/scripts/CMakeLists.txt b/scripts/CMakeLists.txt | ||
18 | index 5b979d43..19a58bf9 100644 | ||
19 | --- a/scripts/CMakeLists.txt | ||
20 | +++ b/scripts/CMakeLists.txt | ||
21 | @@ -114,7 +114,7 @@ if (MOLTENVK_REPO_ROOT) | ||
22 | endif() | ||
23 | |||
24 | if (CMAKE_CROSSCOMPILING) | ||
25 | - set(CMAKE_FIND_ROOT_PATH ${CMAKE_PREFIX_PATH} PARENT_SCOPE) | ||
26 | + set(CMAKE_FIND_ROOT_PATH ${CMAKE_FIND_ROOT_PATH} ${CMAKE_PREFIX_PATH} PARENT_SCOPE) | ||
27 | else() | ||
28 | set(CMAKE_PREFIX_PATH ${CMAKE_PREFIX_PATH} PARENT_SCOPE) | ||
29 | endif() | ||
diff --git a/meta/recipes-graphics/vulkan/vulkan-tools_1.3.243.0.bb b/meta/recipes-graphics/vulkan/vulkan-tools_1.3.250.0.bb index dfdd716abd..0346b380ee 100644 --- a/meta/recipes-graphics/vulkan/vulkan-tools_1.3.243.0.bb +++ b/meta/recipes-graphics/vulkan/vulkan-tools_1.3.250.0.bb | |||
@@ -6,8 +6,10 @@ SECTION = "libs" | |||
6 | 6 | ||
7 | LICENSE = "Apache-2.0" | 7 | LICENSE = "Apache-2.0" |
8 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57" | 8 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57" |
9 | SRC_URI = "git://github.com/KhronosGroup/Vulkan-Tools.git;branch=sdk-1.3.243;protocol=https" | 9 | SRC_URI = "git://github.com/KhronosGroup/Vulkan-Tools.git;branch=main;protocol=https \ |
10 | SRCREV = "18bdf5565f5d02831869785cbf758fa7b295b7d5" | 10 | file://0001-scripts-CMakeLists.txt-do-not-make-special-arrangeme.patch \ |
11 | " | ||
12 | SRCREV = "695887a994ef9cc00a7aa3f9c00b31a56ea79534" | ||
11 | 13 | ||
12 | S = "${WORKDIR}/git" | 14 | S = "${WORKDIR}/git" |
13 | 15 | ||