diff options
author | Moritz Haase <Moritz.Haase@bmw.de> | 2025-07-11 15:12:55 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-07-11 08:35:05 -0700 |
commit | 90e240756c159001b66580cadc1cef5380f81a1f (patch) | |
tree | 1741239902940285f4286122179f803ba41ab841 | |
parent | 6e78caafa3b3cfaf3e69aafb0cc87b7f0cbe9ac1 (diff) | |
download | meta-openembedded-90e240756c159001b66580cadc1cef5380f81a1f.tar.gz |
vulkan-cts: upgrade 1.4.2.1 -> 1.4.3.1
New version includes support to build against CMake 4+.
Release notes are available at [0].
The SRC_URI update helper script required adaptations, as it was broken by
recent Poky changes. The SRC_URI entries were only updated manually back then
via [1].
[0]: https://github.com/KhronosGroup/VK-GL-CTS/releases
[1]: https://git.openembedded.org/meta-openembedded/commit/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts-sources.inc?h=master-next&id=fc78d37ff0ce9e0d60455465851dbe4e86d7a8b3
Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-oe/recipes-graphics/vk-gl-cts/files/0001-cmake-Define-WAYLAND_SCANNER-and-WAYLAND_PROTOCOLS_D.patch | 29 | ||||
-rwxr-xr-x | meta-oe/recipes-graphics/vk-gl-cts/files/generate-srcuri.py | 8 | ||||
-rw-r--r-- | meta-oe/recipes-graphics/vk-gl-cts/khronos-cts.inc | 1 | ||||
-rw-r--r-- | meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts-sources.inc | 17 | ||||
-rw-r--r-- | meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts_1.4.3.1.bb (renamed from meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts_1.4.2.1.bb) | 2 |
5 files changed, 15 insertions, 42 deletions
diff --git a/meta-oe/recipes-graphics/vk-gl-cts/files/0001-cmake-Define-WAYLAND_SCANNER-and-WAYLAND_PROTOCOLS_D.patch b/meta-oe/recipes-graphics/vk-gl-cts/files/0001-cmake-Define-WAYLAND_SCANNER-and-WAYLAND_PROTOCOLS_D.patch deleted file mode 100644 index 9eef9a702e..0000000000 --- a/meta-oe/recipes-graphics/vk-gl-cts/files/0001-cmake-Define-WAYLAND_SCANNER-and-WAYLAND_PROTOCOLS_D.patch +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | From ec12bb7bda60cdf2c848e13df67452a7d30a42be Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sat, 3 Sep 2022 18:52:42 -0700 | ||
4 | Subject: [PATCH] cmake: Define WAYLAND_SCANNER and WAYLAND_PROTOCOLS_DIR if | ||
5 | not already defined | ||
6 | |||
7 | This helps with cross compiling and providing these knobs from cmake | ||
8 | cmdline | ||
9 | |||
10 | Upstream-Status: Pending | ||
11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
12 | --- | ||
13 | framework/platform/CMakeLists.txt | 8 ++++++-- | ||
14 | 1 file changed, 6 insertions(+), 2 deletions(-) | ||
15 | |||
16 | --- a/framework/platform/CMakeLists.txt | ||
17 | +++ b/framework/platform/CMakeLists.txt | ||
18 | @@ -83,8 +83,9 @@ if (NOT DEFINED TCUTIL_PLATFORM_SRCS) | ||
19 | configure_file(${WAYLAND_XDG_SHELL_SRC_DIR}/xdg-shell.c ${DEQP_XDG_SHELL_GEN_OUTPUTS_DIR}/xdg-shell.c COPYONLY) | ||
20 | configure_file(${WAYLAND_XDG_SHELL_SRC_DIR}/xdg-shell.h ${DEQP_XDG_SHELL_GEN_OUTPUTS_DIR}/xdg-shell.h COPYONLY) | ||
21 | else () | ||
22 | - pkg_get_variable(WAYLAND_PROTOCOLS_DIR wayland-protocols pkgdatadir) | ||
23 | - | ||
24 | + if (NOT WAYLAND_PROTOCOL_DIR) | ||
25 | + pkg_get_variable(WAYLAND_PROTOCOLS_DIR wayland-protocols pkgdatadir) | ||
26 | + endif() | ||
27 | if (NOT WAYLAND_SCANNER) | ||
28 | pkg_get_variable(WAYLAND_SCANNER wayland-scanner wayland_scanner) | ||
29 | endif() | ||
diff --git a/meta-oe/recipes-graphics/vk-gl-cts/files/generate-srcuri.py b/meta-oe/recipes-graphics/vk-gl-cts/files/generate-srcuri.py index c2756b592c..3f64e9dc4a 100755 --- a/meta-oe/recipes-graphics/vk-gl-cts/files/generate-srcuri.py +++ b/meta-oe/recipes-graphics/vk-gl-cts/files/generate-srcuri.py | |||
@@ -53,11 +53,15 @@ def convert_fetch(basedir): | |||
53 | # Ignore these as so far we can use the system copies | 53 | # Ignore these as so far we can use the system copies |
54 | pass | 54 | pass |
55 | elif isinstance(p, fetch.SourceFile): | 55 | elif isinstance(p, fetch.SourceFile): |
56 | dest = "/".join(["git/external", p.baseDir, p.extractDir]) | 56 | dest = "/".join( |
57 | ["${BB_GIT_DEFAULT_DESTSUFFIX}/external", p.baseDir, p.extractDir] | ||
58 | ) | ||
57 | url = f"{p.url};subdir={dest};sha256sum={p.checksum}" | 59 | url = f"{p.url};subdir={dest};sha256sum={p.checksum}" |
58 | lines.append(f" {url} \\") | 60 | lines.append(f" {url} \\") |
59 | elif isinstance(p, fetch.GitRepo): | 61 | elif isinstance(p, fetch.GitRepo): |
60 | dest = "/".join(["git/external", p.baseDir, p.extractDir]) | 62 | dest = "/".join( |
63 | ["${BB_GIT_DEFAULT_DESTSUFFIX}/external", p.baseDir, p.extractDir] | ||
64 | ) | ||
61 | url = transform_git(p.httpsUrl, p.revision, dest) | 65 | url = transform_git(p.httpsUrl, p.revision, dest) |
62 | lines.append(f" {url} \\") | 66 | lines.append(f" {url} \\") |
63 | else: | 67 | else: |
diff --git a/meta-oe/recipes-graphics/vk-gl-cts/khronos-cts.inc b/meta-oe/recipes-graphics/vk-gl-cts/khronos-cts.inc index 1cc2da7a49..67a0dc564c 100644 --- a/meta-oe/recipes-graphics/vk-gl-cts/khronos-cts.inc +++ b/meta-oe/recipes-graphics/vk-gl-cts/khronos-cts.inc | |||
@@ -2,7 +2,6 @@ LICENSE = "Apache-2.0" | |||
2 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" | 2 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" |
3 | 3 | ||
4 | SRC_URI = "git://github.com/KhronosGroup/VK-GL-CTS.git;protocol=https;name=vk-gl-cts;nobranch=1 \ | 4 | SRC_URI = "git://github.com/KhronosGroup/VK-GL-CTS.git;protocol=https;name=vk-gl-cts;nobranch=1 \ |
5 | file://0001-cmake-Define-WAYLAND_SCANNER-and-WAYLAND_PROTOCOLS_D.patch \ | ||
6 | file://0001-use-library-sonames-for-linking.patch \ | 5 | file://0001-use-library-sonames-for-linking.patch \ |
7 | file://generate-srcuri.py \ | 6 | file://generate-srcuri.py \ |
8 | " | 7 | " |
diff --git a/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts-sources.inc b/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts-sources.inc index 563da1007a..8d70bf08c3 100644 --- a/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts-sources.inc +++ b/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts-sources.inc | |||
@@ -6,21 +6,20 @@ | |||
6 | RECIPE_UPGRADE_EXTRA_TASKS += "do_refresh_srcuri" | 6 | RECIPE_UPGRADE_EXTRA_TASKS += "do_refresh_srcuri" |
7 | 7 | ||
8 | python __anonymous() { | 8 | python __anonymous() { |
9 | if d.getVar("PV") != "1.4.2.1": | 9 | if d.getVar("PV") != "1.4.3.1": |
10 | bb.warn("-sources.inc out of date, run refresh_srcuri task") | 10 | bb.warn("-sources.inc out of date, run refresh_srcuri task") |
11 | } | 11 | } |
12 | 12 | ||
13 | SRC_URI += " \ | 13 | SRC_URI += " \ |
14 | https://raw.githubusercontent.com/baldurk/renderdoc/v1.1/renderdoc/api/app/renderdoc_app.h;subdir=${BB_GIT_DEFAULT_DESTSUFFIX}/external/renderdoc/src;sha256sum=e7b5f0aa5b1b0eadc63a1c624c0ca7f5af133aa857d6a4271b0ef3d0bdb6868e \ | 14 | https://raw.githubusercontent.com/baldurk/renderdoc/v1.1/renderdoc/api/app/renderdoc_app.h;subdir=${BB_GIT_DEFAULT_DESTSUFFIX}/external/renderdoc/src;sha256sum=e7b5f0aa5b1b0eadc63a1c624c0ca7f5af133aa857d6a4271b0ef3d0bdb6868e \ |
15 | git://github.com/KhronosGroup/SPIRV-Tools.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/spirv-tools/src;rev=3364b982713a0440d1d342dd5eec65b122a61b71 \ | 15 | git://github.com/KhronosGroup/SPIRV-Tools.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/spirv-tools/src;rev=f06e0f3d2e5acfe4b14e714e4103dd1ccdb237e5 \ |
16 | git://github.com/KhronosGroup/glslang.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/glslang/src;rev=1b65bd602b23d401d1c4c86dfa90a36a52c66294 \ | 16 | git://github.com/KhronosGroup/glslang.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/glslang/src;rev=963588074b26326ff0426c8953c1235213309bdb \ |
17 | git://github.com/KhronosGroup/SPIRV-Headers.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/spirv-headers/src;rev=767e901c986e9755a17e7939b3046fc2911a4bbd \ | 17 | git://github.com/KhronosGroup/SPIRV-Headers.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/spirv-headers/src;rev=6d0784e9f1ab92c17eeea94821b2465c14a52be9 \ |
18 | git://github.com/KhronosGroup/Vulkan-Docs.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/vulkan-docs/src;rev=645c59c70e826d9738b6bb103316c03d887dfed3 \ | 18 | git://github.com/KhronosGroup/Vulkan-Docs.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/vulkan-docs/src;rev=112aee75d162412a4623e7d22a3de52e0233cbf5 \ |
19 | git://github.com/KhronosGroup/Vulkan-ValidationLayers.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/vulkan-validationlayers/src;rev=6cf616f131e9870c499a50441bca2d07ccda9733 \ | 19 | git://github.com/KhronosGroup/Vulkan-ValidationLayers.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/vulkan-validationlayers/src;rev=6ae58a2b17b2bcebdc5377995007391b85ffa10f \ |
20 | git://github.com/google/amber.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/amber/src;rev=6fa5ac1fb3b01c93eef3caa2aeb8841565e38d90 \ | 20 | git://github.com/google/amber.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/amber/src;rev=57ba1ca211b6f4890c013dcf42cb16069ae916dd \ |
21 | git://github.com/open-source-parsers/jsoncpp.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/jsoncpp/src;rev=9059f5cad030ba11d37818847443a53918c327b1 \ | 21 | git://github.com/open-source-parsers/jsoncpp.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/jsoncpp/src;rev=9059f5cad030ba11d37818847443a53918c327b1 \ |
22 | git://github.com/Igalia/vk_video_samples.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/nvidia-video-samples/src;rev=45fe88b456c683120138f052ea81f0a958ff3ec4 \ | 22 | git://github.com/Igalia/vk_video_samples.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/nvidia-video-samples/src;rev=45fe88b456c683120138f052ea81f0a958ff3ec4 \ |
23 | git://github.com/KhronosGroup/Vulkan-Video-Samples.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/vulkan-video-samples/src;rev=0e87744edbb84c9c56c3fc8de9ea5150af5ee4ea \ | 23 | git://github.com/KhronosGroup/Vulkan-Video-Samples.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/vulkan-video-samples/src;rev=a22e0084e6f38a16dc0dcebb4c19a14651a6665b \ |
24 | git://github.com/Igalia/video_generator.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/video_generator/src;rev=426300e12a5cc5d4676807039a1be237a2b68187 \ | 24 | git://github.com/Igalia/video_generator.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/video_generator/src;rev=426300e12a5cc5d4676807039a1be237a2b68187 \ |
25 | file://0001-Fix-missing-include-cstdint-causing-build-failures.patch;patchdir=external/amber/src \ | ||
26 | " | 25 | " |
diff --git a/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts_1.4.2.1.bb b/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts_1.4.3.1.bb index abbd026047..3f7a2480ef 100644 --- a/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts_1.4.2.1.bb +++ b/meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts_1.4.3.1.bb | |||
@@ -2,7 +2,7 @@ DESCRIPTION = "Vulkan CTS" | |||
2 | 2 | ||
3 | require khronos-cts.inc | 3 | require khronos-cts.inc |
4 | 4 | ||
5 | SRCREV_vk-gl-cts = "644f10ca39dea3b7d9dbadaa75c56206b499a520" | 5 | SRCREV_vk-gl-cts = "1ef11bc7acde6b53a499de73db4cf78db9572710" |
6 | 6 | ||
7 | require vulkan-cts-sources.inc | 7 | require vulkan-cts-sources.inc |
8 | 8 | ||