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