Config.in 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. config BR2_PACKAGE_OSM2PGSQL
  2. bool "osm2pgsql"
  3. depends on BR2_ARCH_IS_64
  4. depends on BR2_INSTALL_LIBSTDCPP # boost, libosmium, protozero
  5. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++14
  6. depends on BR2_TOOLCHAIN_HAS_THREADS # boost, libosmium
  7. depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS # boost-filesystem
  8. depends on BR2_USE_WCHAR # boost, libosmium
  9. depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::future
  10. select BR2_PACKAGE_BOOST
  11. select BR2_PACKAGE_BOOST_SYSTEM
  12. select BR2_PACKAGE_BOOST_FILESYSTEM
  13. select BR2_PACKAGE_BZIP2
  14. select BR2_PACKAGE_EXPAT
  15. select BR2_PACKAGE_JSON_FOR_MODERN_CPP
  16. select BR2_PACKAGE_LIBOSMIUM
  17. select BR2_PACKAGE_PROTOZERO
  18. select BR2_PACKAGE_ZLIB
  19. help
  20. osm2pgsql is a tool for loading OpenStreetMap data into a
  21. PostgreSQL / PostGIS database suitable for applications like
  22. rendering into a map, geocoding with Nominatim,
  23. or general analysis.
  24. https://osm2pgsql.org
  25. comment "osm2pgsql needs a toolchain w/ C++, wchar, threads, gcc >= 4.9"
  26. depends on BR2_ARCH_IS_64
  27. depends on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS
  28. depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
  29. !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || !BR2_TOOLCHAIN_HAS_THREADS
  30. comment "osm2pgsql needs a toolchain not affected by GCC bug 64735"
  31. depends on BR2_ARCH_IS_64
  32. depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735