mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-13 07:13:32 +08:00
b84acf3f1d
- Refresh first patch - Add BR2_PACKAGE_ROCKSDB_ARCH_SUPPORTS due to toku_time.h which has been added in version 6.16.3 by98236fb10e
and contains the following blob: #if defined(__x86_64__) || defined(__i386__) uint32_t lo, hi; __asm__ __volatile__("rdtsc" : "=a"(lo), "=d"(hi)); return (uint64_t)hi << 32 | lo; #elif defined(__aarch64__) uint64_t result; __asm __volatile__("mrs %[rt], cntvct_el0" : [ rt ] "=r"(result)); return result; #elif defined(__powerpc__) return __ppc_get_timebase(); #else #error No timer implementation for this platform #endif - Also drop second patch and disable build on powerpc as it seems that upstream is not really testing powerpc (patch not merged after more than one year + build failure with uclibc/musl only fixed on ppc64:24b7ebee80
) - Update hash of README.md (change not related to license:f4ade82ad2
) As a side effect, this will remove the autobuilder failures on arm, powerpc and m68k https://github.com/facebook/rocksdb/blob/v6.20.3/HISTORY.md Fixes: - http://autobuild.buildroot.org/results/059ebe270e6e7c23e40060c4cf0112c4cd72b0e7 - http://autobuild.buildroot.org/results/f007412f29ab2e03a6904e2f548e77654abde6de - http://autobuild.buildroot.org/results/83505f78fcb4d925779177411d830bea127b6800 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
37 lines
1.3 KiB
Plaintext
37 lines
1.3 KiB
Plaintext
config BR2_PACKAGE_ROCKSDB_ARCH_SUPPORTS
|
|
bool
|
|
# see utilities/transactions/lock/range/range_tree/lib/portability/toku_time.h
|
|
default y if BR2_aarch64 || BR2_aarch64_be
|
|
default y if BR2_i386 || BR2_x86_64
|
|
default y if BR2_powerpc64 || BR2_powerpc64le
|
|
|
|
config BR2_PACKAGE_ROCKSDB
|
|
bool "rocksdb"
|
|
depends on BR2_PACKAGE_ROCKSDB_ARCH_SUPPORTS
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
depends on BR2_USE_WCHAR
|
|
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::future
|
|
help
|
|
The RocksDB library provides a persistent key value store.
|
|
Keys and values are arbitrary byte arrays. The keys are
|
|
ordered within the key value store according to a
|
|
user-specified comparator function.
|
|
|
|
The library is maintained by the Facebook Database Engineering
|
|
Team, and is based on LevelDB, by Sanjay Ghemawat and Jeff
|
|
Dean at Google.
|
|
|
|
http://rocksdb.org
|
|
|
|
comment "rocksdb needs a toolchain w/ C++, threads, wchar, gcc >= 4.8"
|
|
depends on BR2_PACKAGE_ROCKSDB_ARCH_SUPPORTS
|
|
depends on !BR2_INSTALL_LIBSTDCPP || \
|
|
!BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || \
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
|
|
|
|
comment "rocksdb needs a toolchain not affected by GCC bug 64735"
|
|
depends on BR2_PACKAGE_ROCKSDB_ARCH_SUPPORTS
|
|
depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
|