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