Patches to allow builds with CMake 4+
cover Patches to allow builds with CMake 4+
These patches are part of the coordinated effort to allow builds of meta-openembedded with CMake 4+ as part of the ongoing bump CMake to 4.0.3 in openembedded-core (see [0]).
[0]: https://lists.openembedded.org/g/openembedded-core/topic/patch_v5_0_7_cmake_major/113965735
Moritz Haase (10):
zeromq: Backport patches to support builds with CMake 4+
avro-c: upgrade 1.11.3 -> 1.12.0
cpputest: Backport patches to support builds with CMake 4+
redis-plus-plus: upgrade 1.3.11 -> 1.3.14
heaptrack: Allow to build with CMake 4+
wbxml2: upgrade 0.10.8 -> 0.11.10
upm: Allow to build with CMake 4+
pcapplusplus: upgrade 24.09 -> 25.05
synergy: Allow to build with CMake 4+
[RFC] vulkan-cts: upgrade 1.4.2.1 -> 1.4.3.1
...-Remove-whitespace-in-operator-_json.patch | 52 ---
...lusplus_24.09.bb => pcapplusplus_25.05.bb} | 6 +-
...make_minimum_required-before-project.patch | 41 ++
...pper-bound-in-cmake_minimum_required.patch | 56 +++
.../zeromq/zeromq_4.3.5.bb | 2 +
.../heaptrack/heaptrack_1.2.0.bb | 4 +-
...update-cmake_minimum_required-to-3.5.patch | 34 ++
...us_1.3.11.bb => redis-plus-plus_1.3.14.bb} | 6 +-
meta-oe/recipes-extended/upm/upm_git.bb | 4 +-
...LAND_SCANNER-and-WAYLAND_PROTOCOLS_D.patch | 29 --
.../vk-gl-cts/khronos-cts.inc | 1 -
.../vk-gl-cts/vulkan-cts-sources.inc | 25 +-
...n-cts_1.4.2.1.bb => vulkan-cts_1.4.3.1.bb} | 2 +-
...-Fix-typos-in-docs-and-examples-2795.patch | 59 ---
...O-3960-C-Fix-st-ANYARGS-warning-2798.patch | 386 ------------------
.../{avro-c_1.11.3.bb => avro-c_1.12.0.bb} | 8 +-
.../{wbxml2_0.10.8.bb => wbxml2_0.11.10.bb} | 11 +-
.../recipes-support/synergy/synergy_git.bb | 4 +-
...um_required-before-project-in-CMakeL.patch | 36 ++
.../0002-Squelch-deprecation-warning.patch | 43 ++
meta-oe/recipes-test/cpputest/cpputest_4.0.bb | 5 +-
21 files changed, 250 insertions(+), 564 deletions(-)
delete mode 100644 meta-oe/recipes-connectivity/pcapplusplus/pcapplusplus/0001-Remove-whitespace-in-operator-_json.patch
rename meta-oe/recipes-connectivity/pcapplusplus/{pcapplusplus_24.09.bb => pcapplusplus_25.05.bb} (83%)
create mode 100644 meta-oe/recipes-connectivity/zeromq/files/0002-cmake_minimum_required-before-project.patch
create mode 100644 meta-oe/recipes-connectivity/zeromq/files/0003-set-upper-bound-in-cmake_minimum_required.patch
create mode 100644 meta-oe/recipes-extended/redis-plus-plus/files/0001-update-cmake_minimum_required-to-3.5.patch
rename meta-oe/recipes-extended/redis-plus-plus/{redis-plus-plus_1.3.11.bb => redis-plus-plus_1.3.14.bb} (86%)
delete mode 100644 meta-oe/recipes-graphics/vk-gl-cts/files/0001-cmake-Define-WAYLAND_SCANNER-and-WAYLAND_PROTOCOLS_D.patch
rename meta-oe/recipes-graphics/vk-gl-cts/{vulkan-cts_1.4.2.1.bb => vulkan-cts_1.4.3.1.bb} (92%)
delete mode 100644 meta-oe/recipes-support/avro/avro-c/0001-AVRO-3957-C-Fix-typos-in-docs-and-examples-2795.patch
delete mode 100644 meta-oe/recipes-support/avro/avro-c/0001-AVRO-3960-C-Fix-st-ANYARGS-warning-2798.patch
rename meta-oe/recipes-support/avro/{avro-c_1.11.3.bb => avro-c_1.12.0.bb} (60%)
rename meta-oe/recipes-support/opensync/{wbxml2_0.10.8.bb => wbxml2_0.11.10.bb} (50%)
create mode 100644 meta-oe/recipes-test/cpputest/cpputest/0001-Call-cmake_minimum_required-before-project-in-CMakeL.patch
create mode 100644 meta-oe/recipes-test/cpputest/cpputest/0002-Squelch-deprecation-warning.patchPATCH 1/10 zeromq: Backport patches to support builds with CMake 4+
There hasn't been a new upstream release yet that ships the required changes.
--- ...make_minimum_required-before-project.patch | 41 ++++++++++++++ ...pper-bound-in-cmake_minimum_required.patch | 56 +++++++++++++++++++ .../zeromq/zeromq_4.3.5.bb | 2 + 3 files changed, 99 insertions(+) create mode 100644 meta-oe/recipes-connectivity/zeromq/files/0002-cmake_minimum_required-before-project.patch create mode 100644 meta-oe/recipes-connectivity/zeromq/files/0003-set-upper-bound-in-cmake_minimum_required.patch
meta-oe/recipes-connectivity/zeromq/files/0002-cmake_minimum_required-before-project.patch new file +41 -0
@@ -0,0 +1,41 @@ +From 34f7fa22022bed9e0e390ed3580a1c83ac4a2834 Mon Sep 17 00:00:00 2001 +From: rp42 <[email protected]> +Date: Mon, 30 Dec 2024 11:01:39 +0000 +Subject: [PATCH] cmake_minimum_required() before project() + + * Without this CMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded (MT) Windows builds still produced incompatible MultiThreadedDLL (MD) output. + + * Resolves following warning: + +CMake Warning (dev) at CMakeLists.txt:2 (project): + cmake_minimum_required() should be called prior to this top-level project() + call. + + * Use ${CMAKE_HOST_SYSTEM_NAME} as ${CMAKE_SYSTEM_NAME} not set before project(). + +Signed-off-by: Moritz Haase <[email protected]> +Upstream-Status: Backport [34f7fa22022bed9e0e390ed3580a1c83ac4a2834] +--- + CMakeLists.txt | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 861164ad..e4ce8a3d 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,12 +1,13 @@ + # CMake build script for ZeroMQ +-project(ZeroMQ) + +-if(${CMAKE_SYSTEM_NAME} STREQUAL Darwin) ++if(${CMAKE_HOST_SYSTEM_NAME} STREQUAL Darwin) + cmake_minimum_required(VERSION 3.0.2) + else() + cmake_minimum_required(VERSION 2.8.12) + endif() + ++project(ZeroMQ) ++ + include(CheckIncludeFiles) + include(CheckCCompilerFlag) + include(CheckCXXCompilerFlag)
meta-oe/recipes-connectivity/zeromq/files/0003-set-upper-bound-in-cmake_minimum_required.patch new file +56 -0
56 lines not on this page · raw message
meta-oe/recipes-connectivity/zeromq/zeromq_4.3.5.bb +2 -0
@@ -8,6 +8,8 @@ PACKAGECONFIG[libsodium] = "-DWITH_LIBSODIUM=ON,-DWITH_LIBSODIUM=OFF, libsodium" SRC_URI = "http://github.com/zeromq/libzmq/releases/download/v${PV}/zeromq-${PV}.tar.gz \ file://0001-CMakeLists-txt-Avoid-host-specific-path-to-libsodium.patch \ + file://0002-cmake_minimum_required-before-project.patch \ + file://0003-set-upper-bound-in-cmake_minimum_required.patch \ file://run-ptest \ " SRC_URI[sha256sum] = "6653ef5910f17954861fe72332e68b03ca6e4d9c7160eb3a8de5a5a913bfab43"
PATCH 2/10 avro-c: upgrade 1.11.3 -> 1.12.0
In reply to Moritz HaaseNew version includes support to build against CMake 4+, see [0].
Release notes are available at [1].
[0]: https://github.com/apache/avro/pull/2796
[1]: https://github.com/apache/avro/releases/tag/release-1.12.0
---
...-Fix-typos-in-docs-and-examples-2795.patch | 59 ---
...O-3960-C-Fix-st-ANYARGS-warning-2798.patch | 386 ------------------
.../{avro-c_1.11.3.bb => avro-c_1.12.0.bb} | 8 +-
3 files changed, 3 insertions(+), 450 deletions(-)
delete mode 100644 meta-oe/recipes-support/avro/avro-c/0001-AVRO-3957-C-Fix-typos-in-docs-and-examples-2795.patch
delete mode 100644 meta-oe/recipes-support/avro/avro-c/0001-AVRO-3960-C-Fix-st-ANYARGS-warning-2798.patch
rename meta-oe/recipes-support/avro/{avro-c_1.11.3.bb => avro-c_1.12.0.bb} (60%)meta-oe/recipes-support/avro/avro-c/0001-AVRO-3957-C-Fix-typos-in-docs-and-examples-2795.patch deleted +0 -59
@@ -1,59 +0,0 @@ -From 52f051dbeefad0b7e73187becad6c33747b047d3 Mon Sep 17 00:00:00 2001 -From: Sahil Kang <[email protected]> -Date: Mon, 11 Mar 2024 03:01:21 -0700 -Subject: [PATCH] AVRO-3957: [C] Fix typos in docs and examples (#2795) - -* AVRO-3957: [C] Fix misformatted type in docs - -Signed-off-by: Sahil Kang <[email protected]> -Signed-off-by: Sahil Kang <[email protected]> - -* AVRO-3957: [C] Fix type in quickstop example - -This removes the following warning: - - avro/lang/c/examples/quickstop.c:123:40: warning: incompatible pointer types passing 'int32_t **' (aka 'int **') to parameter of type - 'const char **' [-Wincompatible-pointer-types] - avro_value_get_string(&first_value, &p, &size); - -Signed-off-by: Sahil Kang <[email protected]> -Signed-off-by: Sahil Kang <[email protected]> - ---------- - -Signed-off-by: Sahil Kang <[email protected]> -Signed-off-by: Sahil Kang <[email protected]> - -Upstream-Status: Backport [52f051dbee AVRO-3957: [C] Fix typos in docs and examples (#2795)] -Signed-off-by: mark.yang <[email protected]> ---- - lang/c/docs/index.txt | 2 +- - lang/c/examples/quickstop.c | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/lang/c/docs/index.txt b/lang/c/docs/index.txt -index a439a0526..df16f9d96 100644 ---- a/lang/c/docs/index.txt -+++ b/lang/c/docs/index.txt -@@ -178,7 +178,7 @@ different versions of the Avro library. That means that it's really - only safe to use these hash values internally within the context of a - single execution of a single application. - --The +reset+ method “clears out” an +avro_value_t instance, making sure -+The +reset+ method “clears out” an +avro_value_t+ instance, making sure - that it's ready to accept the contents of a new value. For scalars, - this is usually a no-op, since the new value will just overwrite the old - one. For arrays and maps, this removes any existing elements from the -diff --git a/lang/c/examples/quickstop.c b/lang/c/examples/quickstop.c -index ff9e97005..b26dad10c 100644 ---- a/lang/c/examples/quickstop.c -+++ b/lang/c/examples/quickstop.c -@@ -107,7 +107,7 @@ int print_person(avro_file_reader_t db, avro_schema_t reader_schema) - if (rval == 0) { - int64_t id; - int32_t age; -- int32_t *p; -+ const char *p; - size_t size; - avro_value_t id_value; - avro_value_t first_value;
meta-oe/recipes-support/avro/avro-c/0001-AVRO-3960-C-Fix-st-ANYARGS-warning-2798.patch deleted +0 -386
386 lines not on this page · raw message
meta-oe/recipes-support/avro/avro-c_1.12.0.bb renamed from meta-oe/recipes-support/avro/avro-c_1.11.3.bb +3 -5
@@ -7,12 +7,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=6d502b41f76179fc84e536236f359cae" DEPENDS = "jansson zlib xz" -BRANCH = "branch-1.11" -SRCREV = "579a36762293fa4c9f2831e27e7af7713a0838a0" +BRANCH = "branch-1.12" +SRCREV = "8c27801dc8d42ccc00997f25c0b8f45f8d4a233e" SRC_URI = " \ - git://github.com/apache/avro;branch=${BRANCH};protocol=https \ - file://0001-AVRO-3960-C-Fix-st-ANYARGS-warning-2798.patch;patchdir=../.. \ - file://0001-AVRO-3957-C-Fix-typos-in-docs-and-examples-2795.patch;patchdir=../.. \ + git://github.com/apache/avro;branch=${BRANCH};protocol=https;tag=release-${PV} \ " S = "${UNPACKDIR}/${BP}/lang/c"
PATCH 3/10 cpputest: Backport patches to support builds with CMake 4+
In reply to Moritz HaaseThere hasn't been a new upstream release yet that ships the required changes.
--- ...um_required-before-project-in-CMakeL.patch | 36 ++++++++++++++++ .../0002-Squelch-deprecation-warning.patch | 43 +++++++++++++++++++ meta-oe/recipes-test/cpputest/cpputest_4.0.bb | 5 ++- 3 files changed, 83 insertions(+), 1 deletion(-) create mode 100644 meta-oe/recipes-test/cpputest/cpputest/0001-Call-cmake_minimum_required-before-project-in-CMakeL.patch create mode 100644 meta-oe/recipes-test/cpputest/cpputest/0002-Squelch-deprecation-warning.patch
meta-oe/recipes-test/cpputest/cpputest/0001-Call-cmake_minimum_required-before-project-in-CMakeL.patch new file +36 -0
@@ -0,0 +1,36 @@ +From 5351875cde23340c0a98fe46566cde5535c40e21 Mon Sep 17 00:00:00 2001 +From: georgev93 <[email protected]> +Date: Fri, 26 Jun 2020 19:07:14 -0400 +Subject: [PATCH 1/2] Call cmake_minimum_required() before project() in + CMakeLists.txt. + +From https://cmake.org/cmake/help/latest/command/cmake_minimum_required.html: +Note: Call the cmake_minimum_required() command at the beginning of the top-level CMakeLists.txt file even before calling the project() command. It is important to establish version and policy settings before invoking other commands whose behavior they may affect. See also policy CMP0000. + +Signed-off-by: Moritz Haase <[email protected]> +Upstream-Status: Backport [e0c050d8b614294b2215a62e64628470fab67f20] +--- + CMakeLists.txt | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 88e0cfb5..d36c6491 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,12 +1,12 @@ ++# 2.6.3 is needed for ctest support ++# 3.1 is needed for target_sources ++cmake_minimum_required(VERSION 3.1) ++ + project(CppUTest) + + set(CppUTest_version_major 4) + set(CppUTest_version_minor 0) + +-# 2.6.3 is needed for ctest support +-# 3.1 is needed for target_sources +-cmake_minimum_required(VERSION 3.1) +- + ############### + # Conan support + ###############
meta-oe/recipes-test/cpputest/cpputest/0002-Squelch-deprecation-warning.patch new file +43 -0
43 lines not on this page · raw message
meta-oe/recipes-test/cpputest/cpputest_4.0.bb +4 -1
@@ -5,7 +5,10 @@ SECTION = "devel" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://COPYING;md5=ce5d5f1fe02bcd1343ced64a06fd4177" -SRC_URI = "git://github.com/cpputest/cpputest.git;protocol=https;branch=master" +SRC_URI = "git://github.com/cpputest/cpputest.git;protocol=https;branch=master \ + file://0001-Call-cmake_minimum_required-before-project-in-CMakeL.patch \ + file://0002-Squelch-deprecation-warning.patch \ +" SRCREV = "67d2dfd41e13f09ff218aa08e2d35f1c32f032a1"
PATCH 4/10 redis-plus-plus: upgrade 1.3.11 -> 1.3.14
In reply to Moritz HaaseAdditionally backport a patch to support to build against CMake 4+ that hasn't made it into a release yet.
Release notes are available at [0].
[0]: https://github.com/sewenew/redis-plus-plus/releases
---
...update-cmake_minimum_required-to-3.5.patch | 34 +++++++++++++++++++
...us_1.3.11.bb => redis-plus-plus_1.3.14.bb} | 6 ++--
2 files changed, 37 insertions(+), 3 deletions(-)
create mode 100644 meta-oe/recipes-extended/redis-plus-plus/files/0001-update-cmake_minimum_required-to-3.5.patch
rename meta-oe/recipes-extended/redis-plus-plus/{redis-plus-plus_1.3.11.bb => redis-plus-plus_1.3.14.bb} (86%)meta-oe/recipes-extended/redis-plus-plus/files/0001-update-cmake_minimum_required-to-3.5.patch new file +34 -0
@@ -0,0 +1,34 @@ +From e30d4c4c557568b01d5adce9df2714de8d3921c2 Mon Sep 17 00:00:00 2001 +From: sewenew <[email protected]> +Date: Tue, 15 Apr 2025 22:57:08 +0800 +Subject: [PATCH] update cmake_minimum_required to 3.5 + +Signed-off-by: Moritz Haase <[email protected]> +Upstream-Status: Backport [e30d4c4c557568b01d5adce9df2714de8d3921c2] +--- + CMakeLists.txt | 2 +- + test/CMakeLists.txt | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index e0a8cf4..9c742f9 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required(VERSION 3.1) ++cmake_minimum_required(VERSION 3.5) + + function(GET_VERSION VERSION_PART VERSION_NUM) + set(VERSION_REGEX "^const int VERSION_${VERSION_PART} = (.+);$") +diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt +index 3423956..88aa079 100644 +--- a/test/CMakeLists.txt ++++ b/test/CMakeLists.txt +@@ -1,6 +1,6 @@ + project(test_redis++) + +-cmake_minimum_required(VERSION 3.1) ++cmake_minimum_required(VERSION 3.5) + + set(REDIS_PLUS_PLUS_TEST_SOURCES src/sw/redis++/test_main.cpp) +
meta-oe/recipes-extended/redis-plus-plus/redis-plus-plus_1.3.14.bb renamed from meta-oe/recipes-extended/redis-plus-plus/redis-plus-plus_1.3.11.bb +3 -3
@@ -6,9 +6,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" DEPENDS += "hiredis" -SRC_URI = "git://github.com/sewenew/redis-plus-plus;branch=master;protocol=https \ - file://0001-CMakeLists.txt-fix-substitution-for-static-libs.patch" -SRCREV = "ad6baa121f4c6fbc7622d83d606210ac22549c78" +SRC_URI = "git://github.com/sewenew/redis-plus-plus;branch=master;protocol=https;tag=${PV} \ + file://0001-update-cmake_minimum_required-to-3.5.patch" +SRCREV = "b13fcead60bdc03f9771da25715bb134be89aa2f" inherit cmake
PATCH 5/10 heaptrack: Allow to build with CMake 4+
In reply to Moritz HaaseUpstream is inactive, so use the 'minimum policy version' override.
--- meta-oe/recipes-devtools/heaptrack/heaptrack_1.2.0.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
meta-oe/recipes-devtools/heaptrack/heaptrack_1.2.0.bb +3 -1
@@ -22,7 +22,9 @@ SRCREV = "bc9e3744bcc47de978673d1e382f4125a1ab5fa8" inherit cmake -EXTRA_OECMAKE += "-DHEAPTRACK_BUILD_GUI=OFF" +EXTRA_OECMAKE += "-DHEAPTRACK_BUILD_GUI=OFF \ + -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \ +" # libunwind is not yet ported to RISCV COMPATIBLE_HOST:riscv32 = "null"
PATCH 6/10 wbxml2: upgrade 0.10.8 -> 0.11.10
In reply to Moritz HaaseThe project has moved away from SourceForge to GitHub at [0] and has resumed publishing releases. The new version includes support to build against CMake 4+.
[0]: https://github.com/libwbxml/libwbxml
License-Update: Links to project homepage have been updated
---
.../opensync/{wbxml2_0.10.8.bb => wbxml2_0.11.10.bb} | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
rename meta-oe/recipes-support/opensync/{wbxml2_0.10.8.bb => wbxml2_0.11.10.bb} (50%)meta-oe/recipes-support/opensync/wbxml2_0.11.10.bb renamed from meta-oe/recipes-support/opensync/wbxml2_0.10.8.bb +4 -7
@@ -1,16 +1,13 @@ SUMMARY = "WBXML parsing and encoding library" -HOMEPAGE = "http://libwbxml.opensync.org/" +HOMEPAGE = "https://github.com/libwbxml/libwbxml" SECTION = "libs" LICENSE = "LGPL-2.1-or-later" -LIC_FILES_CHKSUM = "file://COPYING;md5=c1128ee5341ccd5927d8bafe4b6266e1" +LIC_FILES_CHKSUM = "file://COPYING;md5=b17146e5186e05865f75664e910ace79" DEPENDS = "expat" -SRC_URI = "${SOURCEFORGE_MIRROR}/libwbxml/libwbxml-${PV}.tar.gz" - -SRC_URI[sha256sum] = "a057daa098f12838eb4e635bb28413027f1b73819872c3fbf64e3207790a3f7d" - -S = "${UNPACKDIR}/libwbxml-${PV}" +SRC_URI = "git://github.com/libwbxml/libwbxml;branch=master;protocol=https;tag=libwbxml-${PV}" +SRCREV = "e58b1f19f11dbadff53e5b486b8c4b16639a656a" inherit cmake pkgconfig
PATCH 7/10 upm: Allow to build with CMake 4+
In reply to Moritz HaaseUpstream is inactive, so use the 'minimum policy version' override.
--- meta-oe/recipes-extended/upm/upm_git.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
meta-oe/recipes-extended/upm/upm_git.bb +3 -1
@@ -27,7 +27,9 @@ COMPATIBLE_HOST = "(x86_64.*|i.86.*|aarch64.*|arm.*)-linux" inherit setuptools3-base cmake pkgconfig -EXTRA_OECMAKE += "-UPYTHON_EXECUTABLE -DWERROR=off" +EXTRA_OECMAKE += "-UPYTHON_EXECUTABLE -DWERROR=off \ + -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \ +" # override this in local.conf to get needed bindings. # BINDINGS:pn-upm="python"
PATCH 8/10 pcapplusplus: upgrade 24.09 -> 25.05
In reply to Moritz HaaseNew version includes support to build against CMake 4+.
Release notes are available at [0].
[0]: https://github.com/seladb/PcapPlusPlus/releases/tag/v25.05
---
...-Remove-whitespace-in-operator-_json.patch | 52 -------------------
...lusplus_24.09.bb => pcapplusplus_25.05.bb} | 6 +--
2 files changed, 2 insertions(+), 56 deletions(-)
delete mode 100644 meta-oe/recipes-connectivity/pcapplusplus/pcapplusplus/0001-Remove-whitespace-in-operator-_json.patch
rename meta-oe/recipes-connectivity/pcapplusplus/{pcapplusplus_24.09.bb => pcapplusplus_25.05.bb} (83%)meta-oe/recipes-connectivity/pcapplusplus/pcapplusplus/0001-Remove-whitespace-in-operator-_json.patch deleted +0 -52
@@ -1,52 +0,0 @@ -From 16974cb6a9f10fbd08db964ee0d9f074ef430db6 Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Fri, 7 Mar 2025 11:55:12 -0800 -Subject: [PATCH] Remove whitespace in operator"" _json - -Clang 20+ errors about this whitespace. - -Fixes -git/3rdParty/json/include/json.hpp:24428:58: error: identifier '_json' preceded by whitespace in a literal operator declaration is deprecated [-Werror,-Wdeprecated-literal-operator] - 24428 | using nlohmann::literals::json_literals::operator "" _json; // NOLINT(misc-unused-using-decls,google-global-names-in-headers) - | ~~~~~~~~~~~~^~~~~ - | operator""_json - -Upstream-Status: Backport [ Its fixed in json import post 2024.9 release ] -Signed-off-by: Khem Raj <[email protected]> ---- - 3rdParty/json/include/json.hpp | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -diff --git a/3rdParty/json/include/json.hpp b/3rdParty/json/include/json.hpp -index 60ba1df..6eceb7c 100644 ---- a/3rdParty/json/include/json.hpp -+++ b/3rdParty/json/include/json.hpp -@@ -24353,7 +24353,7 @@ inline namespace json_literals - /// @brief user-defined string literal for JSON values - /// @sa https://json.nlohmann.me/api/basic_json/operator_literal_json/ - JSON_HEDLEY_NON_NULL(1) --inline nlohmann::json operator "" _json(const char* s, std::size_t n) -+inline nlohmann::json operator ""_json(const char* s, std::size_t n) - { - return nlohmann::json::parse(s, s + n); - } -@@ -24361,7 +24361,7 @@ inline nlohmann::json operator "" _json(const char* s, std::size_t n) - /// @brief user-defined string literal for JSON pointer - /// @sa https://json.nlohmann.me/api/basic_json/operator_literal_json_pointer/ - JSON_HEDLEY_NON_NULL(1) --inline nlohmann::json::json_pointer operator "" _json_pointer(const char* s, std::size_t n) -+inline nlohmann::json::json_pointer operator ""_json_pointer(const char* s, std::size_t n) - { - return nlohmann::json::json_pointer(std::string(s, n)); - } -@@ -24425,8 +24425,8 @@ inline void swap(nlohmann::NLOHMANN_BASIC_JSON_TPL& j1, nlohmann::NLOHMANN_BASIC - } // namespace std - - #if JSON_USE_GLOBAL_UDLS -- using nlohmann::literals::json_literals::operator "" _json; // NOLINT(misc-unused-using-decls,google-global-names-in-headers) -- using nlohmann::literals::json_literals::operator "" _json_pointer; //NOLINT(misc-unused-using-decls,google-global-names-in-headers) -+ using nlohmann::literals::json_literals::operator ""_json; // NOLINT(misc-unused-using-decls,google-global-names-in-headers) -+ using nlohmann::literals::json_literals::operator ""_json_pointer; //NOLINT(misc-unused-using-decls,google-global-names-in-headers) - #endif - - // #include <nlohmann/detail/macro_unscope.hpp>
meta-oe/recipes-connectivity/pcapplusplus/pcapplusplus_25.05.bb renamed from meta-oe/recipes-connectivity/pcapplusplus/pcapplusplus_24.09.bb +2 -4
@@ -7,10 +7,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=911690f51af322440237a253d695d19f" DEPENDS = "libpcap" -SRC_URI = "git://github.com/seladb/PcapPlusPlus.git;protocol=https;branch=master \ - file://0001-Remove-whitespace-in-operator-_json.patch \ - " -SRCREV = "4af4b8b04e6d5dd40b8e69cc30c5c1f62e7fe368" +SRC_URI = "git://github.com/seladb/PcapPlusPlus.git;protocol=https;branch=master;tag=v${PV}" +SRCREV = "a49a79e0b67b402ad75ffa96c1795def36df75c8" inherit cmake
PATCH 9/10 synergy: Allow to build with CMake 4+
In reply to Moritz HaaseThe version hasn't been updated in years, so even though there are newer upstream releases, bumping the version is not straightforward. Thus, use the 'minimum policy version' override for now.
--- meta-oe/recipes-support/synergy/synergy_git.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
meta-oe/recipes-support/synergy/synergy_git.bb +3 -1
@@ -19,6 +19,8 @@ PV = "1.10.1+git" inherit cmake features_check -EXTRA_OECMAKE += "-DSYNERGY_BUILD_LEGACY_GUI=OFF" +EXTRA_OECMAKE += "-DSYNERGY_BUILD_LEGACY_GUI=OFF \ + -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \ +" FILES:${PN} += "${datadir}/icons/hicolor"
RFC PATCH 10/10 vulkan-cts: upgrade 1.4.2.1 -> 1.4.3.1
In reply to Moritz HaaseNew version includes support to build against CMake 4+.
Release notes are available at [0].
[0]: https://github.com/KhronosGroup/VK-GL-CTS/releases
---
This is an RFC, as the build doesn't pass for me locally, it fails with:
| CMake Error at external/spirv-tools/CMakeLists.txt:39 (message):
| spirv-tools not found
From what I can tell, the in-place fetching of the submodule doesn't seem to be working correctly.
---
...LAND_SCANNER-and-WAYLAND_PROTOCOLS_D.patch | 29 -------------------
.../vk-gl-cts/khronos-cts.inc | 1 -
.../vk-gl-cts/vulkan-cts-sources.inc | 25 ++++++++--------
...n-cts_1.4.2.1.bb => vulkan-cts_1.4.3.1.bb} | 2 +-
4 files changed, 13 insertions(+), 44 deletions(-)
delete mode 100644 meta-oe/recipes-graphics/vk-gl-cts/files/0001-cmake-Define-WAYLAND_SCANNER-and-WAYLAND_PROTOCOLS_D.patch
rename meta-oe/recipes-graphics/vk-gl-cts/{vulkan-cts_1.4.2.1.bb => vulkan-cts_1.4.3.1.bb} (92%)meta-oe/recipes-graphics/vk-gl-cts/files/0001-cmake-Define-WAYLAND_SCANNER-and-WAYLAND_PROTOCOLS_D.patch deleted +0 -29
@@ -1,29 +0,0 @@ -From ec12bb7bda60cdf2c848e13df67452a7d30a42be Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Sat, 3 Sep 2022 18:52:42 -0700 -Subject: [PATCH] cmake: Define WAYLAND_SCANNER and WAYLAND_PROTOCOLS_DIR if - not already defined - -This helps with cross compiling and providing these knobs from cmake -cmdline - -Upstream-Status: Pending -Signed-off-by: Khem Raj <[email protected]> ---- - framework/platform/CMakeLists.txt | 8 ++++++-- - 1 file changed, 6 insertions(+), 2 deletions(-) - ---- a/framework/platform/CMakeLists.txt -+++ b/framework/platform/CMakeLists.txt -@@ -83,8 +83,9 @@ if (NOT DEFINED TCUTIL_PLATFORM_SRCS) - configure_file(${WAYLAND_XDG_SHELL_SRC_DIR}/xdg-shell.c ${DEQP_XDG_SHELL_GEN_OUTPUTS_DIR}/xdg-shell.c COPYONLY) - configure_file(${WAYLAND_XDG_SHELL_SRC_DIR}/xdg-shell.h ${DEQP_XDG_SHELL_GEN_OUTPUTS_DIR}/xdg-shell.h COPYONLY) - else () -- pkg_get_variable(WAYLAND_PROTOCOLS_DIR wayland-protocols pkgdatadir) -- -+ if (NOT WAYLAND_PROTOCOL_DIR) -+ pkg_get_variable(WAYLAND_PROTOCOLS_DIR wayland-protocols pkgdatadir) -+ endif() - if (NOT WAYLAND_SCANNER) - pkg_get_variable(WAYLAND_SCANNER wayland-scanner wayland_scanner) - endif()
meta-oe/recipes-graphics/vk-gl-cts/khronos-cts.inc +0 -1
@@ -2,7 +2,6 @@ LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" SRC_URI = "git://github.com/KhronosGroup/VK-GL-CTS.git;protocol=https;name=vk-gl-cts;nobranch=1 \ - file://0001-cmake-Define-WAYLAND_SCANNER-and-WAYLAND_PROTOCOLS_D.patch \ file://0001-use-library-sonames-for-linking.patch \ file://generate-srcuri.py \ "
meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts-sources.inc +12 -13
@@ -6,21 +6,20 @@ RECIPE_UPGRADE_EXTRA_TASKS += "do_refresh_srcuri" python __anonymous() { - if d.getVar("PV") != "1.4.2.1": + if d.getVar("PV") != "1.4.3.1": bb.warn("-sources.inc out of date, run refresh_srcuri task") } SRC_URI += " \ - https://raw.githubusercontent.com/baldurk/renderdoc/v1.1/renderdoc/api/app/renderdoc_app.h;subdir=${BB_GIT_DEFAULT_DESTSUFFIX}/external/renderdoc/src;sha256sum=e7b5f0aa5b1b0eadc63a1c624c0ca7f5af133aa857d6a4271b0ef3d0bdb6868e \ - git://github.com/KhronosGroup/SPIRV-Tools.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/spirv-tools/src;rev=3364b982713a0440d1d342dd5eec65b122a61b71 \ - git://github.com/KhronosGroup/glslang.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/glslang/src;rev=1b65bd602b23d401d1c4c86dfa90a36a52c66294 \ - git://github.com/KhronosGroup/SPIRV-Headers.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/spirv-headers/src;rev=767e901c986e9755a17e7939b3046fc2911a4bbd \ - git://github.com/KhronosGroup/Vulkan-Docs.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/vulkan-docs/src;rev=645c59c70e826d9738b6bb103316c03d887dfed3 \ - git://github.com/KhronosGroup/Vulkan-ValidationLayers.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/vulkan-validationlayers/src;rev=6cf616f131e9870c499a50441bca2d07ccda9733 \ - git://github.com/google/amber.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/amber/src;rev=6fa5ac1fb3b01c93eef3caa2aeb8841565e38d90 \ - git://github.com/open-source-parsers/jsoncpp.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/jsoncpp/src;rev=9059f5cad030ba11d37818847443a53918c327b1 \ - git://github.com/Igalia/vk_video_samples.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/nvidia-video-samples/src;rev=45fe88b456c683120138f052ea81f0a958ff3ec4 \ - git://github.com/KhronosGroup/Vulkan-Video-Samples.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/vulkan-video-samples/src;rev=0e87744edbb84c9c56c3fc8de9ea5150af5ee4ea \ - git://github.com/Igalia/video_generator.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/video_generator/src;rev=426300e12a5cc5d4676807039a1be237a2b68187 \ - file://0001-Fix-missing-include-cstdint-causing-build-failures.patch;patchdir=external/amber/src \ + https://raw.githubusercontent.com/baldurk/renderdoc/v1.1/renderdoc/api/app/renderdoc_app.h;subdir=git/external/renderdoc/src;sha256sum=e7b5f0aa5b1b0eadc63a1c624c0ca7f5af133aa857d6a4271b0ef3d0bdb6868e \ + git://github.com/KhronosGroup/SPIRV-Tools.git;protocol=https;nobranch=1;destsuffix=git/external/spirv-tools/src;rev=f06e0f3d2e5acfe4b14e714e4103dd1ccdb237e5 \ + git://github.com/KhronosGroup/glslang.git;protocol=https;nobranch=1;destsuffix=git/external/glslang/src;rev=963588074b26326ff0426c8953c1235213309bdb \ + git://github.com/KhronosGroup/SPIRV-Headers.git;protocol=https;nobranch=1;destsuffix=git/external/spirv-headers/src;rev=6d0784e9f1ab92c17eeea94821b2465c14a52be9 \ + git://github.com/KhronosGroup/Vulkan-Docs.git;protocol=https;nobranch=1;destsuffix=git/external/vulkan-docs/src;rev=112aee75d162412a4623e7d22a3de52e0233cbf5 \ + git://github.com/KhronosGroup/Vulkan-ValidationLayers.git;protocol=https;nobranch=1;destsuffix=git/external/vulkan-validationlayers/src;rev=6ae58a2b17b2bcebdc5377995007391b85ffa10f \ + git://github.com/google/amber.git;protocol=https;nobranch=1;destsuffix=git/external/amber/src;rev=57ba1ca211b6f4890c013dcf42cb16069ae916dd \ + git://github.com/open-source-parsers/jsoncpp.git;protocol=https;nobranch=1;destsuffix=git/external/jsoncpp/src;rev=9059f5cad030ba11d37818847443a53918c327b1 \ + git://github.com/Igalia/vk_video_samples.git;protocol=https;nobranch=1;destsuffix=git/external/nvidia-video-samples/src;rev=45fe88b456c683120138f052ea81f0a958ff3ec4 \ + git://github.com/KhronosGroup/Vulkan-Video-Samples.git;protocol=https;nobranch=1;destsuffix=git/external/vulkan-video-samples/src;rev=a22e0084e6f38a16dc0dcebb4c19a14651a6665b \ + git://github.com/Igalia/video_generator.git;protocol=https;nobranch=1;destsuffix=git/external/video_generator/src;rev=426300e12a5cc5d4676807039a1be237a2b68187 \ "
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 +1 -1
@@ -2,7 +2,7 @@ DESCRIPTION = "Vulkan CTS" require khronos-cts.inc -SRCREV_vk-gl-cts = "644f10ca39dea3b7d9dbadaa75c56206b499a520" +SRCREV_vk-gl-cts = "1ef11bc7acde6b53a499de73db4cf78db9572710" require vulkan-cts-sources.inc
Re: [oe] [meta-oe][PATCH 10/10] [RFC] vulkan-cts: upgrade 1.4.2.1 -> 1.4.3.1
Quoted 9 lines · Moritz Haase via lists.openembedded.org
New version includes support to build against CMake 4+.
Release notes are available at [0].
[0]: https://github.com/KhronosGroup/VK-GL-CTS/releases
---
Quoted 7 lines
This is an RFC, as the build doesn't pass for me locally, it fails with:
| CMake Error at
external/spirv-tools/CMakeLists.txt:39(message):
| spirv-tools not foundFrom what I can tell, the in-place fetching of the submodule doesn't seem to be working correctly.
Isn't it because in this change you have (probably accidentally) changed the destsuffix in SRC_URI?
Cheers,
Quoted 120 lines
Signed-off-by Moritz Haase <[email protected]>--- ...LAND_SCANNER-and-WAYLAND_PROTOCOLS_D.patch | 29 ------------------- .../vk-gl-cts/khronos-cts.inc | 1 - .../vk-gl-cts/vulkan-cts-sources.inc | 25 ++++++++-------- ...n-cts_1.4.2.1.bb => vulkan-cts_1.4.3.1.bb} | 2 +- 4 files changed, 13 insertions(+), 44 deletions(-) delete mode 100644 meta-oe/recipes-graphics/vk-gl-cts/files/0001-cmake-Define-WAYLAND_SCANNER-and-WAYLAND_PROTOCOLS_D.patch rename meta-oe/recipes-graphics/vk-gl-cts/{vulkan-cts_1.4.2.1.bb => vulkan-cts_1.4.3.1.bb} (92%)meta-oe/recipes-graphics/vk-gl-cts/files/0001-cmake-Define-WAYLAND_SCANNER-and-WAYLAND_PROTOCOLS_D.patch deleted +0
-29@@ -1,29 +0,0 @@ -From ec12bb7bda60cdf2c848e13df67452a7d30a42be Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Sat, 3 Sep 2022 18:52:42 -0700 -Subject: [PATCH] cmake: Define WAYLAND_SCANNER and WAYLAND_PROTOCOLS_DIR if - not already defined - -This helps with cross compiling and providing these knobs from cmake -cmdline - -Upstream-Status: Pending -Signed-off-by: Khem Raj <[email protected]> ---- - framework/platform/CMakeLists.txt | 8 ++++++-- - 1 file changed, 6 insertions(+), 2 deletions(-) - ---- a/framework/platform/CMakeLists.txt -+++ b/framework/platform/CMakeLists.txt -@@ -83,8 +83,9 @@ if (NOT DEFINED TCUTIL_PLATFORM_SRCS) - configure_file(${WAYLAND_XDG_SHELL_SRC_DIR}/xdg-shell.c ${DEQP_XDG_SHELL_GEN_OUTPUTS_DIR}/xdg-shell.c COPYONLY) - configure_file(${WAYLAND_XDG_SHELL_SRC_DIR}/xdg-shell.h ${DEQP_XDG_SHELL_GEN_OUTPUTS_DIR}/xdg-shell.h COPYONLY) - else () -- pkg_get_variable(WAYLAND_PROTOCOLS_DIR wayland-protocols pkgdatadir) -- -+ if (NOT WAYLAND_PROTOCOL_DIR) -+ pkg_get_variable(WAYLAND_PROTOCOLS_DIR wayland-protocols pkgdatadir) -+ endif() - if (NOT WAYLAND_SCANNER) - pkg_get_variable(WAYLAND_SCANNER wayland-scanner wayland_scanner) - endif()meta-oe/recipes-graphics/vk-gl-cts/khronos-cts.inc +0
-1@@ -2,7 +2,6 @@ LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" SRC_URI = "git://github.com/KhronosGroup/VK-GL-CTS.git;protocol=https;name=vk-gl-cts;nobranch=1 \ - file://0001-cmake-Define-WAYLAND_SCANNER-and-WAYLAND_PROTOCOLS_D.patch \ file://0001-use-library-sonames-for-linking.patch \ file://generate-srcuri.py \ "meta-oe/recipes-graphics/vk-gl-cts/vulkan-cts-sources.inc +12
-13@@ -6,21 +6,20 @@ RECIPE_UPGRADE_EXTRA_TASKS += "do_refresh_srcuri" python __anonymous() { - if d.getVar("PV") != "1.4.2.1": + if d.getVar("PV") != "1.4.3.1": bb.warn("-sources.inc out of date, run refresh_srcuri task") } SRC_URI += " \ - https://raw.githubusercontent.com/baldurk/renderdoc/v1.1/renderdoc/api/app/renderdoc_app.h;subdir=${BB_GIT_DEFAULT_DESTSUFFIX}/external/renderdoc/src;sha256sum=e7b5f0aa5b1b0eadc63a1c624c0ca7f5af133aa857d6a4271b0ef3d0bdb6868e \ - git://github.com/KhronosGroup/SPIRV-Tools.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/spirv-tools/src;rev=3364b982713a0440d1d342dd5eec65b122a61b71 \ - git://github.com/KhronosGroup/glslang.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/glslang/src;rev=1b65bd602b23d401d1c4c86dfa90a36a52c66294 \ - git://github.com/KhronosGroup/SPIRV-Headers.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/spirv-headers/src;rev=767e901c986e9755a17e7939b3046fc2911a4bbd \ - git://github.com/KhronosGroup/Vulkan-Docs.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/vulkan-docs/src;rev=645c59c70e826d9738b6bb103316c03d887dfed3 \ - git://github.com/KhronosGroup/Vulkan-ValidationLayers.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/vulkan-validationlayers/src;rev=6cf616f131e9870c499a50441bca2d07ccda9733 \ - git://github.com/google/amber.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/amber/src;rev=6fa5ac1fb3b01c93eef3caa2aeb8841565e38d90 \ - git://github.com/open-source-parsers/jsoncpp.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/jsoncpp/src;rev=9059f5cad030ba11d37818847443a53918c327b1 \ - git://github.com/Igalia/vk_video_samples.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/nvidia-video-samples/src;rev=45fe88b456c683120138f052ea81f0a958ff3ec4 \ - git://github.com/KhronosGroup/Vulkan-Video-Samples.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/vulkan-video-samples/src;rev=0e87744edbb84c9c56c3fc8de9ea5150af5ee4ea \ - git://github.com/Igalia/video_generator.git;protocol=https;nobranch=1;destsuffix=${BB_GIT_DEFAULT_DESTSUFFIX}/external/video_generator/src;rev=426300e12a5cc5d4676807039a1be237a2b68187 \ - file://0001-Fix-missing-include-cstdint-causing-build-failures.patch;patchdir=external/amber/src \ + https://raw.githubusercontent.com/baldurk/renderdoc/v1.1/renderdoc/api/app/renderdoc_app.h;subdir=git/external/renderdoc/src;sha256sum=e7b5f0aa5b1b0eadc63a1c624c0ca7f5af133aa857d6a4271b0ef3d0bdb6868e \ + git://github.com/KhronosGroup/SPIRV-Tools.git;protocol=https;nobranch=1;destsuffix=git/external/spirv-tools/src;rev=f06e0f3d2e5acfe4b14e714e4103dd1ccdb237e5 \ + git://github.com/KhronosGroup/glslang.git;protocol=https;nobranch=1;destsuffix=git/external/glslang/src;rev=963588074b26326ff0426c8953c1235213309bdb \ + git://github.com/KhronosGroup/SPIRV-Headers.git;protocol=https;nobranch=1;destsuffix=git/external/spirv-headers/src;rev=6d0784e9f1ab92c17eeea94821b2465c14a52be9 \ + git://github.com/KhronosGroup/Vulkan-Docs.git;protocol=https;nobranch=1;destsuffix=git/external/vulkan-docs/src;rev=112aee75d162412a4623e7d22a3de52e0233cbf5 \ + git://github.com/KhronosGroup/Vulkan-ValidationLayers.git;protocol=https;nobranch=1;destsuffix=git/external/vulkan-validationlayers/src;rev=6ae58a2b17b2bcebdc5377995007391b85ffa10f \ + git://github.com/google/amber.git;protocol=https;nobranch=1;destsuffix=git/external/amber/src;rev=57ba1ca211b6f4890c013dcf42cb16069ae916dd \ + git://github.com/open-source-parsers/jsoncpp.git;protocol=https;nobranch=1;destsuffix=git/external/jsoncpp/src;rev=9059f5cad030ba11d37818847443a53918c327b1 \ + git://github.com/Igalia/vk_video_samples.git;protocol=https;nobranch=1;destsuffix=git/external/nvidia-video-samples/src;rev=45fe88b456c683120138f052ea81f0a958ff3ec4 \ + git://github.com/KhronosGroup/Vulkan-Video-Samples.git;protocol=https;nobranch=1;destsuffix=git/external/vulkan-video-samples/src;rev=a22e0084e6f38a16dc0dcebb4c19a14651a6665b \ + git://github.com/Igalia/video_generator.git;protocol=https;nobranch=1;destsuffix=git/external/video_generator/src;rev=426300e12a5cc5d4676807039a1be237a2b68187 \ "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 +1
-2@@ -2,7 +2,7 @@ DESCRIPTION = "Vulkan CTS" require khronos-cts.inc -SRCREV_vk-gl-cts = "644f10ca39dea3b7d9dbadaa75c56206b499a520" +SRCREV_vk-gl-cts = "1ef11bc7acde6b53a499de73db4cf78db9572710" require vulkan-cts-sources.inc -=-=-=-=-=-=-=-=-=-=-=-Links: You receive all messages sent to this group.
View/Reply Online (#118436): https://lists.openembedded.org/g/openembedded-devel/message/118436
Mute This Topic: https://lists.openembedded.org/mt/114097814/3617156
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [oe] [meta-oe][PATCH 10/10] [RFC] vulkan-cts: upgrade 1.4.2.1 -> 1.4.3.1
Hi Martin,
Quoted 2 lines
Isn't it because in this change you have (probably accidentally) changed the destsuffix in
SRC_URI?
awesome, thanks! Totally missed that. I updated the file using
bitbake -c refresh_srcuri vulkan-cts
but the script is broken, as it wasn't adapted to recent UNPACKDIR changes apparently. The SRC_URI entries were only updated manually in [0]. After adapting the script, the build passes. Will send v2 tomorrow.
Moritz