xref: /OK3568_Linux_fs/buildroot/package/mongodb/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# from https://docs.mongodb.com/manual/installation/#supported-platforms
2*4882a593Smuzhiyunconfig BR2_PACKAGE_MONGODB_ARCH_SUPPORTS
3*4882a593Smuzhiyun	bool
4*4882a593Smuzhiyun	# ARM needs LDREX/STREX, so ARMv6+
5*4882a593Smuzhiyun	default y if BR2_arm && !BR2_ARM_CPU_ARMV4 && !BR2_ARM_CPU_ARMV5
6*4882a593Smuzhiyun	default y if BR2_aarch64 || BR2_x86_64
7*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-filesystem
8*4882a593Smuzhiyun
9*4882a593Smuzhiyunconfig BR2_PACKAGE_MONGODB
10*4882a593Smuzhiyun	bool "mongodb"
11*4882a593Smuzhiyun	depends on BR2_PACKAGE_MONGODB_ARCH_SUPPORTS
12*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_USES_GLIBC # needs glibc malloc_usable_size
13*4882a593Smuzhiyun	depends on BR2_USE_WCHAR
14*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_THREADS
15*4882a593Smuzhiyun	depends on BR2_INSTALL_LIBSTDCPP
16*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17
17*4882a593Smuzhiyun	select BR2_PACKAGE_BOOST
18*4882a593Smuzhiyun	select BR2_PACKAGE_BOOST_FILESYSTEM
19*4882a593Smuzhiyun	select BR2_PACKAGE_BOOST_IOSTREAMS
20*4882a593Smuzhiyun	select BR2_PACKAGE_BOOST_PROGRAM_OPTIONS
21*4882a593Smuzhiyun	select BR2_PACKAGE_BOOST_SYSTEM
22*4882a593Smuzhiyun	select BR2_PACKAGE_PCRE
23*4882a593Smuzhiyun	select BR2_PACKAGE_PCRE_UTF # runtime
24*4882a593Smuzhiyun	select BR2_PACKAGE_SNAPPY
25*4882a593Smuzhiyun	select BR2_PACKAGE_SQLITE
26*4882a593Smuzhiyun	select BR2_PACKAGE_YAML_CPP
27*4882a593Smuzhiyun	select BR2_PACKAGE_ZLIB
28*4882a593Smuzhiyun	help
29*4882a593Smuzhiyun	  MongoDB is a cross-platform document-oriented database
30*4882a593Smuzhiyun	  (NoSQL).
31*4882a593Smuzhiyun
32*4882a593Smuzhiyun	  It uses JSON-like documents with dynamic schemas (BSON),
33*4882a593Smuzhiyun	  making the integration of data in certain types of
34*4882a593Smuzhiyun	  applications easier and faster.
35*4882a593Smuzhiyun
36*4882a593Smuzhiyun	  https://www.mongodb.org/
37*4882a593Smuzhiyun
38*4882a593Smuzhiyuncomment "mongodb needs a glibc toolchain w/ wchar, threads, C++, gcc >= 7"
39*4882a593Smuzhiyun	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
40*4882a593Smuzhiyun		!BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_USES_GLIBC || \
41*4882a593Smuzhiyun		!BR2_TOOLCHAIN_GCC_AT_LEAST_7
42*4882a593Smuzhiyun	depends on BR2_PACKAGE_MONGODB_ARCH_SUPPORTS
43