xref: /OK3568_Linux_fs/buildroot/package/libmdbx/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_LIBMDBX
2	bool "libmdbx"
3	depends on BR2_USE_MMU
4	depends on BR2_TOOLCHAIN_HAS_SYNC_4
5	depends on BR2_TOOLCHAIN_HAS_THREADS
6	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_4
7	help
8	  One of the fastest compact key-value ACID database
9	  without WAL. libmdbx has a specific set of properties
10	  and capabilities, focused on creating unique lightweight
11	  solutions.
12
13	  libmdbx surpasses the legendary LMDB in terms of
14	  reliability, features and performance.
15
16	  https://github.com/erthink/libmdbx
17
18if BR2_PACKAGE_LIBMDBX
19
20config BR2_PACKAGE_LIBMDBX_TOOLS
21	bool "install tools"
22	help
23	  Install libmdbx tools for checking, dump, restore
24	  and show statistics of databases.
25
26config BR2_PACKAGE_LIBMDBX_CXX
27	bool "C++ API"
28	depends on BR2_INSTALL_LIBSTDCPP
29	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
30	depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735
31	help
32	  Enable modern C++11/14/17/20 API for libmdbx.
33
34comment "libmdbx C++ support needs a toolchain w/ C++11, gcc >= 4.8 w/o bug#64735"
35	depends on !BR2_INSTALL_LIBSTDCPP || \
36		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || \
37		BR2_TOOLCHAIN_HAS_GCC_BUG_64735
38
39endif
40
41comment "libmdbx needs MMU, a toolchain w/ threads, gcc >= 4.4 w/ 4-byte atomics"
42	depends on BR2_USE_MMU
43	depends on !BR2_TOOLCHAIN_HAS_THREADS || \
44		!BR2_TOOLCHAIN_HAS_SYNC_4 || \
45		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_4
46