Commit Graph

14742 Commits

Author SHA1 Message Date
Jeroen Hofstee bb896f6b6f php: sort PACKAGECONFIG options
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-15 12:52:17 -07:00
Khem Raj 540aae8b3f meta-oe-image-ptest-all: Do not include PTESTS_PROBLEMS_META_OE
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-12 10:06:28 -07:00
Khem Raj 90383092e1 meta-oe: Move tests out or into problematic test lists
This is based on current results

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-12 10:06:23 -07:00
Yi Zhao 12e69dd555 nmap: set UPSTREAM_CHECK_REGEX
Set UPSTREAM_CHECK_REGEX to check the correct latest stable verison.

Before the fix:
$ devtool latest-version nmap
INFO: Current version: 7.95
INFO: Latest version: 7.95-1

After the fix:
$ devtool latest-version nmap
INFO: Current version: 7.95
INFO: Latest version: 7.95

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-12 07:09:49 -07:00
Jason Schonberg b0cc9ddc32 c-ares: upgrade 1.34.1 -> 1.34.2
Changelog: https://github.com/c-ares/c-ares/releases/tag/v1.34.2

This release contains a fix for downstream packages detecting the c-ares
version based on the contents of the header file rather than the
distributed pkgconf or cmake files.

Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-11 20:51:30 -07:00
Khem Raj 9c99f403f7 libspdm: Fix build with openssl 3.5
Backport new API signature, since the vendored version of openssl in
libspdm is 3.0.14, asn1.h has to sync for providing it.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alistair Francis <alistair.francis@wdc.com>
Cc: Martin Jansa <martin.jansa@gmail.com>
2025-04-11 20:51:29 -07:00
Khem Raj 528df68be6 kernel-selftest: Convert to use a dedicated UNPACKDIR
Avoid following warning by using a dedicated unpack directory for sources.

WARNING: kernel-selftest-1.0-r0 do_unpack: kernel-selftest: the directory ${WORKDIR}/${BP} (/home/kraj200/yoe/build/tmp/work/qemux86_64-yoe-linux/kernel-self test/1.0/kernel-selftest-1.0) pointed to by the S variable doesn't exist - please set S within the recipe to point to where the source has been unpacked to

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-11 20:51:29 -07:00
Khem Raj b019b4bd68 layers: Add whinlatter (5.3) to compatible layer series
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-11 20:51:29 -07:00
Yoann Congal acde3d2efe cmatrix: Improve reproducibility patch to handle libdir!=/usr/lib
The upstream code basically hard-code libdir to /usr/lib. This was
hidden by the upstream non-reproducible path existence check.

Improve the reproducibility patch to use the cmake variables derived
from $libdir and $datadir :
CMAKE_INSTALL_LIBDIR and CMAKE_INSTALL_DATAROOTDIR.

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Reported-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-11 20:51:29 -07:00
Jason Schonberg 57f1ff43e5 source-highlight: Fix warning : lack of whitespace around assignment
Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-11 20:51:29 -07:00
Etienne Cordonnier 285142657b source-highlight: add recipe
source-highlight version 3.1.8 was removed from openembedded-core in
https://web.git.yoctoproject.org/poky/commit/?id=6560db9ddfd39a2715ede96430228306b00f53dd
in June 2019 because the was no user left, however there is now a gdb
PACKAGECONFIG option which uses it. Since the last release was in 2019, let's
use the latest git version rather than the latest formal release.

Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-11 08:20:13 -07:00
Khem Raj 92bb251b1e qhull: Add recipe
This recipe is needed to build latest version of matplotlib python module
when internal vendored modules are not used which is preferred here, avoids
complicating recipe to counter meson's wrap logic

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Rob Woolley <rob.woolley@windriver.com>
2025-04-10 18:39:31 -07:00
Dmitry Baryshkov 8a05318c62 opengl-es-cts: upgrade to 3.2.12
Upgrade OpenGL ES CTS to the latest release.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-10 17:28:56 -07:00
Dmitry Baryshkov 13d38dc52a vulkan-cts: upgrade to 1.4.1.0
Upgrade Vulkan CTS to the latest release.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-10 17:28:56 -07:00
Dmitry Baryshkov 7713dff203 opencl-cts: upgrade to 2025.01.22
Upgrade OpenCL CTS to the latest release.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-10 17:28:56 -07:00
Dmitry Baryshkov 1408acac54 opencl-headers: backport patch from trunk
Latest OpenCL CTS is released after the latest OpenCL Headers and uses a
symbol which is not defined in the release. Backport a patch to make
OpenCL CTS compile.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-10 17:28:56 -07:00
Dmitry Baryshkov ce5320aed3 opencl-headers: upgrade to 2024.10.24
Upgrade OpenCL-Headers to the latest release. Upgrade opencl-clhpp with
the same commit so that they stay in sync, otherwise projects using
clhpp might fail to build.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-10 17:28:56 -07:00
Haixiao Yan 86b20b84ec lmsensors: Clean stale files for sensord to avoid incorrect GCC header dependencies
After upgrading GCC—for example, from 14.1.0 to 14.2.0—building lmsensors that
was previously compiled with GCC 14.1.0 may fail with an error like:
lmsensors/3.6.0/recipe-sysroot-native/usr/lib/x86_64-wrs-linux/gcc/x86_64-wrs-linux/
14.1.0/include/stddef.h can't find, which is needed by 'prog/sensord/args.rd'.

This occurs because prog/sensord/args.rd still references stale headers from the
older GCC version.
The root cause is that stale *.rd and *.ro files under prog/sensord are not
properly cleaned during do_configure. This patch ensures those files are removed
to prevent broken dependencies when GCC is upgraded.
Also remove the same statement in do_compile.

Signed-off-by: Haixiao Yan <haixiao.yan.cn@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-10 08:31:05 -07:00
Changqing Li 2fb85f67dd pmtools: remove recipes
Remove this not maintained recipe. The latest commit of pmtools is 12
years ago. And it generates 3 binaries: acpidump/acpixtract/madt, but
there is a recipe acpica in oe-core provides acpidump/acpixtract, and
according to README.madt, it is hacked out from Linux kernel, if someone
requests it, mayb user can add one recipe similar like turbostat.

[1] https://github.com/anyc/pmtools/tree/master

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-10 08:31:05 -07:00
mark.yang 41ea133851 dhrystone: fix build error with gcc-15
* fix too many arguments error
dhry_1.c: In function 'main':
dhry_1.c:176:23: error: too many arguments to function 'Func_1'; expected 0, have 2
  176 |       if (Enum_Loc == Func_1 (Ch_Index, 'C'))
      |                       ^~~~~~  ~~~~~~~~
dhry_1.c:33:17: note: declared here
   33 | Enumeration     Func_1 ();
      |                 ^~~~~~

Signed-off-by: mark.yang <mark.yang@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-10 08:31:05 -07:00
mark.yang 6fd65c506a lmbench: fix build error with gcc-15
* see more details
  http://errors.yoctoproject.org/Errors/Details/851798/

    lat_rpc.c:172:1: error: conflicting types for 'client_rpc_xact_1'; have 'char *(char *, CLIENT *)' {aka 'char *(char *, struct __rpc_client *)'}
    172 | client_rpc_xact_1(char *argp, CLIENT *clnt)
        | ^~~~~~~~~~~~~~~~~
    bench.h:349:14: note: previous declaration of 'client_rpc_xact_1' with type 'char *(void)'
    349 | extern char *client_rpc_xact_1();
        |              ^~~~~~~~~~~~~~~~~
    lat_rpc.c: In function 'rpc_xact_1':
    lat_rpc.c:189:1: warning: old-style function definition [-Wold-style-definition]
    189 | rpc_xact_1(msg, transp)
        | ^~~~~~~~~~
    lat_rpc.c:192:1: error: number of arguments doesn't match prototype
    192 | {
        | ^
    bench.h:348:14: error: prototype declaration
    348 | extern char *rpc_xact_1();
        |              ^~~~~~~~~~

  Fix errors due to old-style function declarations

  The code was using old-style function declarations without proper prototypes,
  which causes compilation errors with newer GCC versions. This patch updates
  the function declarations to use modern C syntax with proper parameter types.

Signed-off-by: mark.yang <mark.yang@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-10 08:31:05 -07:00
Changqing Li 8c9c67abda libbpf: fix a segmentation fault error
A valid ELF file may contain a SHT_NOBITS .BTF section. This case is not
handled correctly in btf_parse_elf, which leads to a segfault.

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-10 08:31:05 -07:00
mark.yang a638a26509 memtester: Upgrade 4.6.0 -> 4.7.1
Upgrade to release 4.7.1:
  - Change log: https://pyropus.ca./software/memtester/CHANGELOG

    Version 4.7.1
    16 December 2024
    -fix compile error with stricter C23/gcc-15 due to incompatible type declaration.
    Thanks: Rudi Heitbaum.

    Version 4.7.0
    28 November 2024
    -fix alignment issue causing crash when specifying a memory amount to test
    that is more than the minimum 1 page of memory, but less than 2 full pages.
    Thanks: Erwan Szymanski.  Also reported by Chenghan Lee and K R Pallavi.
    -add `-u` option to allow uncached memory semantics on some systems when
    using the -p option.  Thanks: Florian Fainelli.
    -fix manpage highlighting of args.  Thanks: László Böszörményi.
    -add missing option documentation to man page.

Signed-off-by: mark.yang <mark.yang@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-10 08:31:05 -07:00
mark.yang bb41040137 nbench-byte: fix build error with gcc-15
* Fix the following build error with gcc-15:
nbench1.c:3520:13: error: conflicting types for 'adjust_mid_wts'; have 'void(int)'
 3520 | static void adjust_mid_wts(int patt)
      |             ^~~~~~~~~~~~~~
In file included from nbench1.c:64:
nbench1.h:373:13: note: previous declaration of 'adjust_mid_wts' with type 'void(void)'
  373 | static void adjust_mid_wts();
      |             ^~~~~~~~~~~~~~

Signed-off-by: mark.yang <mark.yang@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-10 08:31:04 -07:00
Alistair Francis a3e34d2ada libnvme: Support keyutils and openssl by default
Use PACKAGECONFIG to support keyutils and openssl by default. This
allows NVMe-OF connections with TLS.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-10 08:31:04 -07:00
Bartosz Golaszewski 5ff8307465 b4: new package
Add a recipe for b4 - a utility for working with mailing-list based
development workflows.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-10 08:31:04 -07:00
Khem Raj 0adbbeacc7 pv: Add valgrind dependency on platform where its available
valgrind does not build for RISCV platforms yet and so are some other
platforms ( taken from rsyslog recipe )

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-10 08:31:04 -07:00
mark.yang 4be3b3acba paho-mqtt-c: fix error with gcc-15
* gcc-15 uses gnu23 for c.
  'bool' is a keyword.
TOPDIR/tmp/work/core2-64-oe-linux/paho-mqtt-c/1.3.14/git/src/MQTTPacket.h:31:22: error: 'bool' cannot be defined via 'typedef'
   31 | typedef unsigned int bool;
      |                      ^~~~
TOPDIR/tmp/work/core2-64-oe-linux/paho-mqtt-c/1.3.14/git/src/MQTTPacket.h:31:22: note: 'bool' is a keyword with '-std=c23' onwards
TOPDIR/tmp/work/core2-64-oe-linux/paho-mqtt-c/1.3.14/git/src/MQTTPacket.h:31:1: warning: useless type name in empty declaration
   31 | typedef unsigned int bool;
      | ^~~~~~~

Signed-off-by: mark.yang <mark.yang@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-10 08:31:04 -07:00
mark.yang 8afcf6a70d perfetto: fix error with gcc-15
* Backport fix from:
    https://github.com/google/perfetto/commit/3953f56f98420e2ecb0e1c4542e20bfbb81da965
  * To fix the error with gcc-15.
  http://errors.yoctoproject.org/Errors/Details/851189/
    ../git/include/perfetto/ext/tracing/core/slice.h:47:46: error: 'uint8_t' was not declared in this scope
    47 |   static Slice TakeOwnership(std::unique_ptr<uint8_t[]> buf, size_t size) {
        |                                              ^~~~~~~
    ../git/include/perfetto/ext/tracing/core/slice.h:25:1: note: 'uint8_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
    24 | #include <string>
    +++ |+#include <cstdint>

Signed-off-by: mark.yang <mark.yang@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-10 08:31:03 -07:00
Markus Volk 7ebcf348c2 iwd: update 3.3 -> 3.6
ver 3.6:
	Fix issue with handling blacklisting and roaming requests.
	Fix issue with handling CQM thresholds for FullMAC devices.
	Add support for PMKSA when using FullMAC devices.

ver 3.5:
	Add support for option to disable blacklist handling.
	Add support for option to disable SAE for broken drivers.

ver 3.4:
	Add support for the Test Anything Protocol.

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-10 08:31:03 -07:00
Wang Mingyu d06234704e libspdm: upgrade 3.6.0 -> 3.7.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-10 08:31:02 -07:00
Jason Schonberg a7bc0ed175 usbids: upgrade 2023.01.16 -> 2025.04.01
Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-08 21:03:47 -07:00
Alistair Francis 519a3749c8 ktls-utils: Initial commit
Package ktls-utils which includes tlsd.

This is used when in-kernel TLS consumers need a mechanism to perform TLS
handshakes on a connected socket to negotiate TLS session parameters that
can then be programmed into the kernel's TLS record protocol engine.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-08 21:03:47 -07:00
mark.yang fc28826b61 dhex: fix error with gcc-15
* A strict error handling for function parameters in gcc-15 causes errors.
output.c:9:6: error: conflicting types for 'initcolors'; have 'void(tOutput *)' {aka 'void(struct _tOutput *)'}
    9 | void initcolors(tOutput* output)
      |      ^~~~~~~~~~
In file included from output.c:7:
output.h:10:6: note: previous declaration of 'initcolors' with type 'void(void)'
   10 | void initcolors();
      |      ^~~~~~~~~~

Signed-off-by: mark.yang <mark.yang@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-08 08:22:06 -07:00
Martin Jansa 31f49abf20 icon-slicer: add x11 to REQUIRED_DISTRO_FEATURES
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-08 08:22:05 -07:00
mark.yang b63fe6f437 avro-c: fix error with gcc-15
* backport fix from:
  https://github.com/apache/avro/pull/2795
  https://github.com/apache/avro/pull/2798
  to fix:
  http://errors.yoctoproject.org/Errors/Details/851184/
  442 |         st_foreach(table, HASH_FUNCTION_CAST delete_never, never);
      |                                              ^~~~~~~~~~~~
      |                                              |
      |                                              int (*)(st_data_t,  st_data_t,  st_data_t) {aka int (*)(long unsigned int,  long unsigned int,  long unsigned int)}

TOPDIR/tmp/work/core2-64-oe-linux/avro-c/1.11.3/git/lang/c/src/st.c:442:46: warning: passing argument 2 of 'st_foreach' from incompatible pointer type [-Wincompatible-pointer-types]
Signed-off-by: mark.yang <mark.yang@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-08 08:22:05 -07:00
mark.yang c33e08b19f enscript: fix error with gcc-15
* Imported the submitted patch from:
  https://savannah.gnu.org/bugs/?66845
  to fix:
  http://errors.yoctoproject.org/Errors/Details/851187/
  ../../enscript-1.6.6/compat/regex.c:3565:13: error: too many arguments to function 're_match_2_internal'; expected 0, have 8
 3565 |       val = re_match_2_internal (bufp, string1, size1, string2, size2,
      |             ^~~~~~~~~~~~~~~~~~~  ~~~~

* Modified the Upstream-Status since the same content as
  0001-getopt-Include-string.h-for-strcmp-stcncmp-functions.patch is already in the backport.

Signed-off-by: mark.yang <mark.yang@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-08 08:22:05 -07:00
mark.yang 94819a3e4e freeipmi: fix error with gcc-15
* Import submitted patch from:
  https://lists.gnu.org/archive/html/freeipmi-devel/2025-02/msg00000.html

  to fix:
  http://errors.yoctoproject.org/Errors/Details/851185/
  Error occurs with gcc version 15.
  In gcc-15, C23 is the default and 'bool' is used as a reserved keyword.
  https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=55e3bd376b2214e200fa76d12b67ff259b06c212

Signed-off-by: mark.yang <mark.yang@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-08 08:22:05 -07:00
mark.yang 4b30277f2a bubblewrap: fix error with gcc-15
* backport fix from:
  https://github.com/containers/bubblewrap/pull/660
  But patch rework for this version.
  In gcc 15, bool became a reserved keyword in C23, causing conflicts with our custom bool definition.

  See also, https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=55e3bd376b2214e200fa76d12b67ff259b06c212

* to fix:
  http://errors.yoctoproject.org/Errors/Details/851183/
  ../bubblewrap-0.10.0/utils.h:46:13: error: 'bool' cannot be defined via 'typedef'
   46 | typedef int bool;
      |             ^~~~

Signed-off-by: mark.yang <mark.yang@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-08 08:22:05 -07:00
mark.yang 5d475ee536 opentelemetry-cpp: upgrade 1.17.0 -> 1.19.0
Changelog:
  https://github.com/open-telemetry/opentelemetry-cpp/releases/tag/v1.19.0

Signed-off-by: mark.yang <mark.yang@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-08 08:22:05 -07:00
mark.yang 314df95684 daemontools: fix build with gcc-15
* Fix prototype declaration and too many arguments function errors due to outdated style
byte_chr.c:9:1: error: number of arguments doesn't match prototype
    9 | {
      | ^
In file included from byte_chr.c:3:
byte.h:6:21: error: prototype declaration
    6 | extern unsigned int byte_chr();
      |                     ^~~~~~~~
...
./compile buffer_get.c
buffer_get.c: In function 'oneread':
buffer_get.c:12:9: error: too many arguments to function 'op'; expected 0, have 3
   12 |     r = op(fd,buf,len);
      |         ^~ ~~
...
supervise.c: In function 'doit':
supervise.c:144:11: error: too many arguments to function 'wait_nohang'; expected 0, have 1
  144 |       r = wait_nohang(&wstat);
      |           ^~~~~~~~~~~ ~~~~~~

Signed-off-by: mark.yang <mark.yang@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-07 23:33:19 -07:00
Alistair Francis 788c27a846 nvme-cli: Update to 1.12
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-07 23:33:19 -07:00
Khem Raj 36bf5dea7e webkitgtk3: Fix build break due to a typo
Also fix building on riscv64

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-07 19:49:49 -07:00
Khem Raj f66fc1d2e5 mariadb: Fix build on riscv32
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-07 17:50:06 -07:00
Khem Raj 09f110b8a0 mariadb: Fix build with clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-07 14:29:58 -07:00
Changqing Li 8e423a43b8 mariadb: upgrade 11.4.4 -> 11.4.5
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-07 14:29:58 -07:00
Sofiane HAMAM 6d67cc96c8 reproducibility: Remove OpenOCD from non reproducible list
OpenOCD non reproducible build has been fixed.
See commit : 60d88818646dc418c3b505ea8b2e24c9a7e48ef0
Remove OpenOCD from the known non reproducibles.

Signed-off-by: Sofiane HAMAM <sofiane.hamam@smile.fr>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-07 12:21:23 -07:00
Sofiane HAMAM 63f4299841 openocd: Update patch upstream status
The patch has been merged.
see: https://review.openocd.org/q/6834f022b96fb1c7f5829166578e01a0ac223cb0

Signed-off-by: Sofiane HAMAM <sofiane.hamam@smile.fr>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-07 12:21:23 -07:00
Peter Marko 36b1e2b140 bit7z: add ptest support
Main problem with ptest for this component is that it uses cmake's
FetchContent and CPM to get dependencies.
This adds lot of ugly code to the recipe including conditional patch.

Second big problem is that tests need BIT7Z_DISABLE_USE_STD_FILESYSTEM
which uses test library. This means that when building with ptests, the
code is significantly different than when building without it.
But in production case we don't want to use testing library...
This is known at upstream and will be fixed eventually as github CI is
failing on this too when submitting unrelated patches upstream.

Other considerations:
* created patch for new cmake option to pass path to test data on target
* created patch for new cmake option to pass path to lib7zip on target
* skipped test which consumes too much RAM (it passes if machine has
  plenty of RAM)
* testdata contains files for other architectures, so INSANE_SKIP is
  needed for ptest package
* created patch for tests failing with musl

Tests usually take 9s on my build machine so added them to fast ptests.
However since the dependency 7zip recipe does not build on 64-bit
architectures, I could not add it to PTESTS_FAST_META_OE.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-07 12:21:23 -07:00
Peter Marko 3e7086cdde bit7z: add new recipe
bit7z is a cross-platform C++ static library that allows the
compression/extraction of archive files through a clean and simple
wrapper interface to the dynamic libraries from the 7-Zip project.
It supports compression and extraction to and from the filesystem or
the memory, reading archives metadata, updating existing ones,
creating multi-volume archives, operation progress callbacks, and many
other functionalities.

Recipe comments:
* 2 patches needed for successful build+ptest were submitted upstream
* to upstream dependency inclusion patch we'd have to completely rework
  dependency handling and would be probably against their concepts

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-07 12:21:23 -07:00