summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/libcereal
Commit message (Collapse)AuthorAgeFilesLines
* meta-openembedded/all: adapt to UNPACKDIR changesAlexander Kanavin2025-06-251-1/+0
| | | | | | | | | | | | | Please see https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265 for what changes are needed, and sed commands that can be used to make them en masse. I've verified that bitbake -c patch world works with these, but did not run a world build; the majority of recipes shouldn't need further fixups, but if there are some that still fall out, they can be fixed in followups. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcereal: Fix build with clang-19Khem Raj2024-09-102-0/+42
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcereal: Disable c++11-narrowing-const-reference warning as errorKhem Raj2024-02-091-0/+2
| | | | | | | | | | Clang 18 is fussy about it Fixes unittests/map.hpp:65:25: error: non-constant-expression cannot be narrowed from type 'typename std::enable_if<std::is_integral<char>::value && sizeof(char) == sizeof(char), char>::type' (aka 'char') to 'const signed char' in initializer list [-Wc++11-narrowing-const-reference] Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: drop ${SRCPV} usageMartin Jansa2024-02-091-1/+1
| | | | | | | | | | * Drop SRCPV similarly like oe-core did in: https://git.openembedded.org/openembedded-core/commit/?h=nanbield&id=843f82a246a535c353e08072f252d1dc78217872 * SRCPV is deferred now from PV to PKGV since: https://git.openembedded.org/openembedded-core/commit/?h=nanbield&id=a8e7b0f932b9ea69b3a218fca18041676c65aba0 Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
* libcereal: Fix TMPDIR leaking into debug_str sectionKhem Raj2023-04-172-0/+39
| | | | | | | Fixes errors like File /usr/lib/libcereal/ptest/tests/.debug/test_unordered_map in package libcereal-dbg contains reference to TMPDIR Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcereal: Use -idirafter instead of -isystemKhem Raj2023-01-212-0/+53
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcereal,poco: Link with -latomic on ppc32 as wellKhem Raj2023-01-041-0/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcereal: Do not use uniform_int_distribution<char> templateKhem Raj2022-09-052-0/+55
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcereal: Enable for glibc/ppcKhem Raj2022-04-301-3/+3
| | | | | | The error is not observed with glibc latest clang 14 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcereal: Link libatomics with gcc as wellKhem Raj2022-04-191-2/+2
| | | | | | | | | Since gcc-12, gcc is also emitting calls to 64bit atomics Fixes unittests/CMakeFiles/test_atomic.dir/atomic.cpp.o:/usr/include/c++/12.0.1/atomic:285: more undefined references to `__atomic_load_8' follow collect2: error: ld returned 1 exit status Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcereal: Disable on ppc/ppc64Khem Raj2022-04-101-0/+4
| | | | | | It does not support 128-bit long doubles Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcereal: Link in libatomic on rv32 for ptestsKhem Raj2022-04-101-0/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcereal: Link libatomics on mips for ptestsKhem Raj2022-03-111-2/+3
| | | | | | | | | | | | clang/mips emits calls to atomic builtins which it expects from C runtime perhaps but compiler-rt does not provide them so link in libatomics Fixes atomic.cpp:(.text._ZN6cereal12Inpu tArchiveINS_16JSONInputArchiveELj0EE7processIRNSt3__16atomicIdEEEEvOT_[_ZN6cereal12InputArchiveINS_16JSONInputArchiveELj0EE7processIRNSt3__16atomicIdEEEEvOT_]+0x10c): undefined reference to `__atomic_store_8' Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcereal: Disable Werror with ptestsKhem Raj2022-03-111-2/+3
| | | | | | | skip portability tests on 64bit targets since we do not have 32bit multilib enabled in compiler Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcereal: add ptest supportMingli Yu2022-03-112-3/+27
| | | | | | | Add ptest support. Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcereal: upgrade 1.3.1 -> 1.3.2Wang Mingyu2022-03-071-1/+1
| | | | | | | | | | | | | | | This is a minor bug fix and build enhancement release for cereal. The primary reason for this release is to correctly increment the version for cereal in include/cereal/version.hpp. Bug fixes and enhancements -------------------------- Make doxygen docs reproducible Add CMake options for building doc and sandbox Correct patch version for 1.3.2 Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcereal: upgrade 1.3.0 -> 1.3.1wangmy2022-01-252-42/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | License-Update: year updated to 2022 0001-Use-GNUInstallDirs-instead-of-hard-wiring-install-di.patch removed since it is included in 1.3.1 Changelog: ========= Highlighted fixes and enhancements include: ------------------------------------------ Github actions in place of Travis CI Doctest updates (and upstream patches!) to support all targeted compilers Cmake modernization Bug fixes and minor enhancements: --------------------------------- Fix typo in docs in #597 Add MSVC 2019 to build, default ctor for static object Fix json.hpp compilation issue when int32_t is a long [cpp20] explicitly capture 'this' as copy Fix rapidjson for Clang 10 Fixes to prevent clang-diagnostic errors cleanup cmake files to be a little more moderen CVE-2020-11105: Store a copy of each serialized shared_ptr within the archive to prevent the shared_ptr to be freed to early add license files for components of cereal Catch short documents in JSON input C++17: use inline globals for StaticObjects Use std::variant::emplace when loading Use std::optional::emplace() when loading non-empty optional Fix itsNextName not clearing when not found + style change Update doctest to 2.4.6 + local fixes slated for upstream Fixed loading of std::vector Update license to match BSD template Update doctest to 2.4.7 Use GNUInstallDirs instead of hard wiring install directories Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Update SRC_URI branch and protocolsRichard Purdie2021-11-031-1/+1
| | | | | | | | | This patch updates SRC_URIs using git to include branch=master if no branch is set and also to use protocol=https for github urls as generated by the conversion script in OE-Core. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* cereal: Use GNUInstallDirs instead of hard wiring install directoriesAnton Blanchard2021-08-192-1/+40
| | | | | | | On a multilib setup cmake files should go into lib64. Signed-off-by: Anton Blanchard <anton@ozlabs.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Convert to new override syntaxMartin Jansa2021-08-031-2/+2
| | | | | | | | | | This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* librcereal: A couple of improvementsPeter Kjellerstedt2021-02-281-7/+3
| | | | | | | | | | * Add "+git${SRCPV}" to PV to indicate that a non-released version is used. * Do not redefine FILES_${PN}-dev; the default will work just fine. * Move PROVIDES to better match the style guide. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcereal: add dev package that can be included into toolchain sdkAdam Miartus2021-02-261-1/+10
| | | | | Signed-off-by: Adam Miartus <adam.miartus@softhows.eu> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcereal: pick up additional licenses of cereal componentsAdam Miartus2021-02-261-2/+8
| | | | | Signed-off-by: Adam Miartus <adam.miartus@softhows.eu> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcereal: update to newer versionAdam Miartus2021-02-261-1/+1
| | | | | | | | fixes CVE-2020-11105 adds license information for components of cerial Signed-off-by: Adam Miartus <adam.miartus@softhows.eu> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcereal: upgrade 1.2.2 -> 1.3.0Pierre-Jean Texier2020-03-231-1/+1
| | | | | | | | | This is a feature and bug fix release. See full changelog https://github.com/USCiLab/cereal/releases/tag/v1.3.0 Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcereal: Allow empty packageBrad Bishop2018-11-291-0/+2
| | | | | | | | | libcereal is header-only so create the empty base package so that libcereal can be sanely included in an SDK via IMAGE_INSTALL, RDEPENDS, and the like. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcereal: Add native and nativesdk classesBrad Bishop2018-11-261-0/+2
| | | | | Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Move lonely libcereal from meta to meta-oeFritjof Jonsson2018-08-151-0/+16
Change-Id: I2462274575e121466b5afc4cda006215e32fd34b Signed-off-by: Fritjof Jonsson <fritjofj@axis.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>