hc
2024-03-22 619f0f87159c5dbd2755b1b0a0eb35784be84e7a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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