xref: /OK3568_Linux_fs/buildroot/package/rocksdb/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_ROCKSDB_ARCH_SUPPORTS
2	bool
3	# see utilities/transactions/lock/range/range_tree/lib/portability/toku_time.h
4	default y if BR2_aarch64 || BR2_aarch64_be
5	default y if BR2_i386 || BR2_x86_64
6	default y if BR2_powerpc64 || BR2_powerpc64le
7
8config BR2_PACKAGE_ROCKSDB
9	bool "rocksdb"
10	depends on BR2_PACKAGE_ROCKSDB_ARCH_SUPPORTS
11	depends on BR2_INSTALL_LIBSTDCPP
12	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
13	depends on BR2_TOOLCHAIN_HAS_THREADS
14	depends on BR2_USE_WCHAR
15	depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::future
16	help
17	  The RocksDB library provides a persistent key value store.
18	  Keys and values are arbitrary byte arrays. The keys are
19	  ordered within the key value store according to a
20	  user-specified comparator function.
21
22	  The library is maintained by the Facebook Database Engineering
23	  Team, and is based on LevelDB, by Sanjay Ghemawat and Jeff
24	  Dean at Google.
25
26	  http://rocksdb.org
27
28comment "rocksdb needs a toolchain w/ C++, threads, wchar, gcc >= 4.8"
29	depends on BR2_PACKAGE_ROCKSDB_ARCH_SUPPORTS
30	depends on !BR2_INSTALL_LIBSTDCPP || \
31		!BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || \
32		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
33
34comment "rocksdb needs a toolchain not affected by GCC bug 64735"
35	depends on BR2_PACKAGE_ROCKSDB_ARCH_SUPPORTS
36	depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
37