Config.in 1.5 KB

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