aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-dbs/rocksdb
AgeCommit message (Collapse)Author
2024-04-07rocksdb: fix build error for multilibYi Zhao
Fix declaration scope of LE_LOAD32 in crc32c when building lib32-rocksdb: util/crc32c.cc: In function 'void rocksdb::crc32c::DefaultCRC32(uint64_t*, const uint8_t**)': util/crc32c.cc:267:53: error: 'LE_LOAD32' was not declared in this scope 267 | *l = _mm_crc32_u32(static_cast<unsigned int>(*l), LE_LOAD32(*p)); | ^~~~~~~~~ Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-04-04rocksdb: fix build error for DEBUG_BUILDYi Zhao
It fails to build rocksdb when '-Og' is set in CXXFLAGS (e.g. DEBUG_BUILD = '1' in local.conf): rocksdb/9.0.0/git/util/xxhash.h:4491:1: error: inlining failed in call to 'always_inline' 'void XXH3_scrambleAcc_sse2(void*, const void*)': function not considered for inlining 4491 | XXH3_scrambleAcc_sse2(void* XXH_RESTRICT acc, const void* XXH_RESTRICT secret) | ^~~~~~~~~~~~~~~~~~~~~ rocksdb/9.0.0/git/util/xxhash.h:5139:19: note: called from here 5139 | f_scramble(acc, secret + secretSize - XXH_STRIPE_LEN); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rocksdb/9.0.0/git/util/xxhash.h:4177:1: error: inlining failed in call to 'always_inline' 'void XXH3_accumulate_sse2(xxh_u64*, const xxh_u8*, const xxh_u8*, size_t)': function not considered for inlining 4177 | XXH3_accumulate_##name(xxh_u64* XXH_RESTRICT acc, \ | ^~~~~~~~~~~~~~~~ Check and disable inlining when "-Og" is present. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-03-21rocksdb: upgrade 7.9.2 -> 9.0.0Yi Zhao
ChangeLog: https://github.com/facebook/rocksdb/releases/tag/v9.0.0 * Refresh patches. * Drop backport patch. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-21*.patch: add Upstream-Status to all patchesMartin Jansa
There is new patch-status QA check in oe-core: https://git.openembedded.org/openembedded-core/commit/?id=76a685bfcf927593eac67157762a53259089ea8a This is temporary work around just to hide _many_ warnings from optional patch-status (if you add it to WARN_QA). This just added Upstream-Status: Pending everywhere without actually investigating what's the proper status. This is just to hide current QA warnings and to catch new .patch files being added without Upstream-Status, but the number of Pending patches is now terrible: 5 (26%) meta-xfce 6 (50%) meta-perl 15 (42%) meta-webserver 21 (36%) meta-gnome 25 (57%) meta-filesystems 26 (43%) meta-initramfs 45 (45%) meta-python 47 (55%) meta-multimedia 312 (63%) meta-networking 756 (61%) meta-oe Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-26rocksdb: Fix build with clang compilerKhem Raj
Need to drop using -msse4.2 -mpclmul Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-25rocksdb: Upgrade to 7.9.2Khem Raj
Refresh patches Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-25rocksdb: Fix build with gcc13Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-11rocksdb: Upgrade to 7.5.3 releaseKhem Raj
Drop upstreamed patches and forward port existing ones Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-26rocksdb: Exclude on ppc/muslKhem Raj
Needs porting Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-14rocksdb: Use new atomic builtins on powerpc as wellKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04recipes: Update LICENSE variable to use SPDX license identifiersKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03recipes: Update SRC_URI branch and protocolsRichard Purdie
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>
2021-08-03Convert to new override syntaxMartin Jansa
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>
2021-06-18rocksdb: Fix build with gcc on rv32 and mipsKhem Raj
__sync_fetch_and_add (64bit) are not impelemented in gcc and clang smartly converts them to __atomic_fetch_add() APIs, so do that manually when using gcc for compiler Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-18rocksdb: Implement timer for armv6+Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-18rocksdb: Implement timer for mipsKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-18rocksdb: Fix build with ppc64/muslKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-18rocksdb: Implement toku_time_now function for rv32/rv64Khem Raj
Fixes build utilities/transactions/lock/range/range_tree/lib/locktree/../portability/toku_time.h:137:2: error: #error No timer implementation for this platform 137 | #error No timer implementation for this platform | ^~~~~ Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-18rocksdb: Upgrade to 6.20.3Khem Raj
Refresh patches Add a fix to build with clang on musl Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-02-21rocksdb: update to 6.15.5Oleksandr Kravchuk
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-15rocksdb: Update to 6.12.7Khem Raj
Add a patch to fix build on riscv32 Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-10-13rocksdb: 6.6.4 -> 6.11.4Pascal Bach
- Thread patch was fixed upstream - CMake atomic patch is still pending but was refreshed - Additional patch for proper bz2 support in CMake added. Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-21rocksdb: Link with pthreads on riscvKhem Raj
Fixes librocksdb.so.6.6.4: undefined reference to `__atomic_compare_exchange_1' collect2: error: ld returned 1 exit status Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-18rocksdb: Fix build on platforms not having all atomic intrinsicsKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-17rocksdb: upgrade 6.5.2 -> 6.6.4Wang Mingyu
0001-Fix-build-breakage-from-lock_guard-error-6161.patch removed since it is included in 6.6.4 Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-11rocksdb: Disable WerrorKhem Raj
Using newer compilers e.g. gcc10/clang10 it spews new warnings so its better to disable warning as errors for now Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-09rocksdb: Fix compile error for DEBUG_BUILDRobert Yang
Fixed do_compile error when DEBUG_BUILD = "1": db/write_thread.cc:183:14: error: 'state' may be used uninitialized in this function [-Werror=maybe-uninitialized] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-12-29rocksdb: Upgrade to 6.5.2Khem Raj
Backport an upstream patch to fix build Delete patches which are either upstreamed or not required Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-06-15rocksdb: 5.18.3 -> 6.0.2Pascal Bach
Also add support for gflags as these are enabled by default and recipes are available in meta-oe. They can still be disabled via PACKAGECONFIG. zstd is also added as an PACKAGECONFIG but currently the zstd recipe is not in meta-oe so it stays disabled for the moment. This also includes a patch that fixes GCC9 compatibility, it's currently submitted upstream but not yet accepted due to style issues. Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-10rocksdb: Upgrade 5.18.2 -> 5.18.3Adrian Bunk
Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-19utilities: Fix build failure with -Werror=maybe-uninitializedHe Zhe
Initialize magic_number to zero to avoid such failure. utilities/blob_db/blob_log_format.cc:91:3: error: 'magic_number' may be used uninitialized in this function [-Werror=maybe-uninitialized] if (magic_number != kMagicNumber) { ^~ Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-13rocksdb: Fix build with clangKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-05rocksdb: Update to 5.18 branch ( 5.18.2 )Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-19rocksdb: make resulting cmake config relocatablePascal Bach
RocksDB is still using CMake 2.8 and thus does not make use of importet targets. This leads to hardcoded paths to the build directory in the resulting packaged files. The workaround for the issue is to bypass CMakes detection and let the linker deal with finding the right library. This is necessary until RocksDB moves to a more modern CMake. It's also applied in the Poco recipe right now. Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-19rocksdb: fix qa warning of buildpathsKai Kang
rocksdb fails qa check buildpaths: | WARNING: rocksdb-5.17.2-r0 do_package_qa: QA Issue: File | /work/core2-64-poky-linux/rocksdb/5.17.2-r0/packages-split/rocksdb-dev/usr/lib64/cmake/rocksdb/RocksDBTargets.cmake | in package contained reference to tmpdir [buildpaths] Removing buildpath info from the cmake file. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-18rocksdb: Upgrade to 5.17.2Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-05-29rocksdb: rely on cmake.bbclass to put cmake package files in dev packageTrevor Woerner
The cmake.bbclass in oe-core now ensures that ${libdir}/cmake and ${datadir}/cmake end up in the dev package, so recipes no longer need to provide custom packaging rules to handles these files. http://git.openembedded.org/openembedded-core/commit/?id=d91dc4666683a96e9d03cbbd21b8a546f9069c93 Originally-conceived-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-05-26rocksdb: update to 5.13.1Pascal Bach
The GCC 8 patch is still needed as the changes are not yet included in 5.13.x Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-05-17rocksdb: Fix build with gcc8Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-05-01rocksdb: update to 5.12.2Pascal Bach
Also remove the +gitSRCPV suffix from the version. This is an official release and the version should be enough, it adds only clutter. Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
2018-03-29rocksdb: move to recipe-dbsArmin Kuster
Signed-off-by: Armin Kuster <akuster808@gmail.com>