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 /meta-oe/recipes-graphics/vk-gl-cts/files | |
| 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>
Diffstat (limited to 'meta-oe/recipes-graphics/vk-gl-cts/files')
| -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 |
2 files changed, 6 insertions, 31 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: |
