Config.in 3.9 KB

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