Config.in 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. config BR2_PACKAGE_MONGODB
  8. bool "mongodb"
  9. depends on BR2_PACKAGE_MONGODB_ARCH_SUPPORTS
  10. depends on BR2_TOOLCHAIN_USES_GLIBC # needs glibc malloc_usable_size
  11. depends on BR2_USE_WCHAR
  12. depends on BR2_TOOLCHAIN_HAS_THREADS
  13. depends on BR2_INSTALL_LIBSTDCPP
  14. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17
  15. select BR2_PACKAGE_BOOST
  16. select BR2_PACKAGE_BOOST_FILESYSTEM
  17. select BR2_PACKAGE_BOOST_IOSTREAMS
  18. select BR2_PACKAGE_BOOST_PROGRAM_OPTIONS
  19. select BR2_PACKAGE_BOOST_SYSTEM
  20. select BR2_PACKAGE_PCRE
  21. select BR2_PACKAGE_PCRE_UTF # runtime
  22. select BR2_PACKAGE_SNAPPY
  23. select BR2_PACKAGE_SQLITE
  24. select BR2_PACKAGE_YAML_CPP
  25. select BR2_PACKAGE_ZLIB
  26. help
  27. MongoDB is a cross-platform document-oriented database
  28. (NoSQL).
  29. It uses JSON-like documents with dynamic schemas (BSON),
  30. making the integration of data in certain types of
  31. applications easier and faster.
  32. https://www.mongodb.org/
  33. comment "mongodb needs a glibc toolchain w/ wchar, threads, C++, gcc >= 7"
  34. depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
  35. !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_USES_GLIBC || \
  36. !BR2_TOOLCHAIN_GCC_AT_LEAST_7
  37. depends on BR2_PACKAGE_MONGODB_ARCH_SUPPORTS