Config.in 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. comment "boost needs a toolchain w/ C++, threads, wchar"
  2. depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
  3. config BR2_PACKAGE_BOOST
  4. bool "boost"
  5. depends on BR2_INSTALL_LIBSTDCPP
  6. # Boost could theorically be built with threading=single, but
  7. # that unfortunately doesn't work. Until someone fixes that,
  8. # let's depend on threads.
  9. depends on BR2_TOOLCHAIN_HAS_THREADS
  10. depends on BR2_USE_WCHAR
  11. help
  12. A general purpose C++ library
  13. http://www.boost.org/
  14. if BR2_PACKAGE_BOOST
  15. choice
  16. prompt "Layout"
  17. default BR2_PACKAGE_BOOST_LAYOUT_SYSTEM
  18. help
  19. Selects the layout of Boost binary names
  20. config BR2_PACKAGE_BOOST_LAYOUT_SYSTEM
  21. bool "system"
  22. help
  23. Boost binary names do not include the Boost version number
  24. or the name and version number of the compiler.
  25. config BR2_PACKAGE_BOOST_LAYOUT_TAGGED
  26. bool "tagged"
  27. help
  28. Boost binary names include the encoded build properties such
  29. as variant and threading, but do not include compiler name
  30. and version, or Boost version. This option is useful if you
  31. build several variants of Boost, using the same compiler.
  32. config BR2_PACKAGE_BOOST_LAYOUT_VERSIONED
  33. bool "versioned"
  34. help
  35. Boost binary names include the Boost version number, name
  36. and version of the compiler and encoded build properties.
  37. endchoice
  38. config BR2_PACKAGE_BOOST_LAYOUT
  39. string
  40. default "system" if BR2_PACKAGE_BOOST_LAYOUT_SYSTEM
  41. default "tagged" if BR2_PACKAGE_BOOST_LAYOUT_TAGGED
  42. default "versioned" if BR2_PACKAGE_BOOST_LAYOUT_VERSIONED
  43. config BR2_PACKAGE_BOOST_ATOMIC
  44. bool "boost-atomic"
  45. config BR2_PACKAGE_BOOST_CHRONO
  46. bool "boost-chrono"
  47. config BR2_PACKAGE_BOOST_CONTAINER
  48. bool "boost-container"
  49. # see
  50. # http://www.boost.org/doc/libs/1_59_0/libs/context/doc/html/context/architectures.html
  51. # for the list of supported architectures. Sparc pretends to be
  52. # supported, but it doesn't build.
  53. config BR2_PACKAGE_BOOST_CONTEXT
  54. bool "boost-context"
  55. depends on (BR2_arm || BR2_armeb || BR2_i386 || BR2_mips || BR2_mipsel \
  56. || BR2_powerpc || BR2_x86_64)
  57. config BR2_PACKAGE_BOOST_COROUTINE
  58. bool "boost-coroutine"
  59. depends on BR2_PACKAGE_BOOST_CONTEXT
  60. config BR2_PACKAGE_BOOST_COROUTINE2
  61. bool "boost-coroutine2"
  62. depends on BR2_PACKAGE_BOOST_CONTEXT
  63. config BR2_PACKAGE_BOOST_DATE_TIME
  64. bool "boost-date_time"
  65. config BR2_PACKAGE_BOOST_EXCEPTION
  66. bool "boost-exception"
  67. config BR2_PACKAGE_BOOST_FILESYSTEM
  68. bool "boost-filesystem"
  69. config BR2_PACKAGE_BOOST_GRAPH
  70. bool "boost-graph"
  71. config BR2_PACKAGE_BOOST_GRAPH_PARALLEL
  72. bool "boost-graph_parallel"
  73. config BR2_PACKAGE_BOOST_IOSTREAMS
  74. bool "boost-iostreams"
  75. select BR2_PACKAGE_BZIP2
  76. select BR2_PACKAGE_ZLIB
  77. config BR2_PACKAGE_BOOST_LOCALE
  78. bool "boost-locale"
  79. select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
  80. config BR2_PACKAGE_BOOST_LOG
  81. bool "boost-log"
  82. depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
  83. # for some reason, uClibc on PowerPC fails to build the boost
  84. # log module
  85. depends on !(BR2_powerpc && BR2_TOOLCHAIN_USES_UCLIBC)
  86. comment "boost-log needs a toolchain w/ NPTL"
  87. depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL
  88. depends on !(BR2_powerpc && BR2_TOOLCHAIN_USES_UCLIBC)
  89. config BR2_PACKAGE_BOOST_MATH
  90. bool "boost-math"
  91. config BR2_PACKAGE_BOOST_METAPARSE
  92. depends on BR2_USE_MMU # boost-test
  93. select BR2_PACKAGE_BOOST_TEST
  94. bool "boost-metaparse"
  95. config BR2_PACKAGE_BOOST_MPI
  96. bool "boost-mpi"
  97. config BR2_PACKAGE_BOOST_PROGRAM_OPTIONS
  98. bool "boost-program_options"
  99. config BR2_PACKAGE_BOOST_PYTHON
  100. depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
  101. bool "boost-python"
  102. config BR2_PACKAGE_BOOST_RANDOM
  103. bool "boost-random"
  104. config BR2_PACKAGE_BOOST_REGEX
  105. bool "boost-regex"
  106. config BR2_PACKAGE_BOOST_SERIALIZATION
  107. bool "boost-serialization"
  108. config BR2_PACKAGE_BOOST_SIGNALS
  109. bool "boost-signals"
  110. config BR2_PACKAGE_BOOST_SYSTEM
  111. bool "boost-system"
  112. config BR2_PACKAGE_BOOST_TEST
  113. bool "boost-test"
  114. depends on BR2_USE_MMU # fork()
  115. config BR2_PACKAGE_BOOST_THREAD
  116. bool "boost-thread"
  117. config BR2_PACKAGE_BOOST_TIMER
  118. bool "boost-timer"
  119. config BR2_PACKAGE_BOOST_WAVE
  120. bool "boost-wave"
  121. endif