summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-dbs/rocksdb
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>
* rocksdb: fix build with gcc-13mark.yang2025-04-073-0/+108
| | | | | | | | * From gcc 13, cstdint header must be explicitly included for uint_X data types. * See also: https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes Signed-off-by: mark.yang <mark.yang@lge.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rocksdb: upgrade 9.0.0 -> 9.10.0Changqing Li2025-03-111-2/+2
| | | | | | | | Upgrade to the latest version, refer: https://github.com/facebook/rocksdb/releases Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rocksdb: Add ptest supportMingli Yu2024-09-293-2/+73
| | | | | | | | | | | | # ./run-ptest PASS: agg_merge_test PASS: cache_test PASS: db_basic_test PASS: env_basic_test PASS: testutil_test Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rocksdb: Add an option to set static libraryNikhil R2024-08-102-0/+73
| | | | | | | | | | | | | Modify the CMakeLists.txt to add an Option for STATIC target import, as available for shared library. Link: https://github.com/facebook/rocksdb/pull/12890 Configure static library default to switched off as shared libraries are sufficient in most cases. Signed-off-by: Bhabu Bindu <bindu.bhabu@kpit.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rocksdb: fix build error for multilibYi Zhao2024-04-072-0/+40
| | | | | | | | | | | | 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>
* rocksdb: fix build error for DEBUG_BUILDYi Zhao2024-04-041-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* rocksdb: upgrade 7.9.2 -> 9.0.0Yi Zhao2024-03-2110-121/+103
| | | | | | | | | | | 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>
* *.patch: add Upstream-Status to all patchesMartin Jansa2023-06-214-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* rocksdb: Fix build with clang compilerKhem Raj2023-01-262-0/+34
| | | | | | Need to drop using -msse4.2 -mpclmul Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rocksdb: Upgrade to 7.9.2Khem Raj2023-01-255-6/+6
| | | | | | Refresh patches Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rocksdb: Fix build with gcc13Khem Raj2023-01-252-0/+71
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rocksdb: Upgrade to 7.5.3 releaseKhem Raj2022-09-119-135/+13
| | | | | | Drop upstreamed patches and forward port existing ones Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rocksdb: Exclude on ppc/muslKhem Raj2022-03-261-0/+4
| | | | | | Needs porting Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rocksdb: Use new atomic builtins on powerpc as wellKhem Raj2022-03-141-0/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Update LICENSE variable to use SPDX license identifiersKhem Raj2022-03-041-1/+1
| | | | 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>
* Convert to new override syntaxMartin Jansa2021-08-031-5/+5
| | | | | | | | | | 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>
* rocksdb: Fix build with gcc on rv32 and mipsKhem Raj2021-06-182-0/+63
| | | | | | | | __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>
* rocksdb: Implement timer for armv6+Khem Raj2021-06-182-0/+27
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rocksdb: Implement timer for mipsKhem Raj2021-06-182-0/+20
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rocksdb: Fix build with ppc64/muslKhem Raj2021-06-182-0/+29
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rocksdb: Implement toku_time_now function for rv32/rv64Khem Raj2021-06-182-0/+45
| | | | | | | | | 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>
* rocksdb: Upgrade to 6.20.3Khem Raj2021-06-185-23/+29
| | | | | | | Refresh patches Add a fix to build with clang on musl Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rocksdb: update to 6.15.5Oleksandr Kravchuk2021-02-211-3/+2
| | | | | Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rocksdb: Update to 6.12.7Khem Raj2020-11-152-3/+51
| | | | | | Add a patch to fix build on riscv32 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rocksdb: 6.6.4 -> 6.11.4Pascal Bach2020-10-134-43/+63
| | | | | | | | | - 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>
* rocksdb: Link with pthreads on riscvKhem Raj2020-04-211-0/+2
| | | | | | | | 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>
* rocksdb: Fix build on platforms not having all atomic intrinsicsKhem Raj2020-03-182-0/+116
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rocksdb: upgrade 6.5.2 -> 6.6.4Wang Mingyu2020-03-172-40/+3
| | | | | | | | 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>
* rocksdb: Disable WerrorKhem Raj2020-01-111-0/+1
| | | | | | | 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>
* rocksdb: Fix compile error for DEBUG_BUILDRobert Yang2020-01-092-0/+32
| | | | | | | | 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>
* rocksdb: Upgrade to 6.5.2Khem Raj2019-12-296-211/+43
| | | | | | | 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>
* rocksdb: 5.18.3 -> 6.0.2Pascal Bach2019-06-153-5/+118
| | | | | | | | | | | | | | | 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>
* rocksdb: Upgrade 5.18.2 -> 5.18.3Adrian Bunk2019-05-101-2/+2
| | | | | Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* utilities: Fix build failure with -Werror=maybe-uninitializedHe Zhe2019-03-192-0/+36
| | | | | | | | | | | 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>
* rocksdb: Fix build with clangKhem Raj2019-02-132-0/+58
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rocksdb: Update to 5.18 branch ( 5.18.2 )Khem Raj2019-02-051-3/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rocksdb: make resulting cmake config relocatablePascal Bach2019-01-191-3/+3
| | | | | | | | | | | | | 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>
* rocksdb: fix qa warning of buildpathsKai Kang2019-01-191-0/+5
| | | | | | | | | | | | | 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>
* rocksdb: Upgrade to 5.17.2Khem Raj2018-12-182-198/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rocksdb: rely on cmake.bbclass to put cmake package files in dev packageTrevor Woerner2018-05-291-2/+0
| | | | | | | | | | | | 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>
* rocksdb: update to 5.13.1Pascal Bach2018-05-261-3/+3
| | | | | | | 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>
* rocksdb: Fix build with gcc8Khem Raj2018-05-172-1/+197
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* rocksdb: update to 5.12.2Pascal Bach2018-05-011-3/+4
| | | | | | | | 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>
* rocksdb: move to recipe-dbsArmin Kuster2018-03-291-0/+31
Signed-off-by: Armin Kuster <akuster808@gmail.com>