1 comment "boost needs a toolchain w/ C++, threads, wchar"
2 depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
4 config BR2_PACKAGE_BOOST
6 depends on BR2_INSTALL_LIBSTDCPP
7 # Boost could theorically be built with threading=single, but
8 # that unfortunately doesn't work. Until someone fixes that,
9 # let's depend on threads.
10 depends on BR2_TOOLCHAIN_HAS_THREADS
11 depends on BR2_USE_WCHAR
13 A general purpose C++ library
21 default BR2_PACKAGE_BOOST_LAYOUT_SYSTEM
23 Selects the layout of Boost binary names
25 config BR2_PACKAGE_BOOST_LAYOUT_SYSTEM
28 Boost binary names do not include the Boost version number
29 or the name and version number of the compiler.
31 config BR2_PACKAGE_BOOST_LAYOUT_TAGGED
34 Boost binary names include the encoded build properties such
35 as variant and threading, but do not include compiler name
36 and version, or Boost version. This option is useful if you
37 build several variants of Boost, using the same compiler.
39 config BR2_PACKAGE_BOOST_LAYOUT_VERSIONED
42 Boost binary names include the Boost version number, name
43 and version of the compiler and encoded build properties.
47 config BR2_PACKAGE_BOOST_LAYOUT
49 default "system" if BR2_PACKAGE_BOOST_LAYOUT_SYSTEM
50 default "tagged" if BR2_PACKAGE_BOOST_LAYOUT_TAGGED
51 default "versioned" if BR2_PACKAGE_BOOST_LAYOUT_VERSIONED
53 config BR2_PACKAGE_BOOST_ATOMIC
56 config BR2_PACKAGE_BOOST_CHRONO
59 config BR2_PACKAGE_BOOST_CONTAINER
60 bool "boost-container"
63 # http://www.boost.org/doc/libs/1_59_0/libs/context/doc/html/context/architectures.html
64 # for the list of supported architectures. Sparc pretends to be
65 # supported, but it doesn't build.
66 config BR2_PACKAGE_BOOST_CONTEXT
68 depends on ((BR2_arm || BR2_armeb) && BR2_ARM_CPU_HAS_ARM) || \
69 BR2_i386 || BR2_mips || BR2_mipsel || BR2_powerpc || BR2_x86_64
71 config BR2_PACKAGE_BOOST_COROUTINE
72 bool "boost-coroutine"
73 depends on BR2_PACKAGE_BOOST_CONTEXT
75 config BR2_PACKAGE_BOOST_COROUTINE2
76 bool "boost-coroutine2"
77 depends on BR2_PACKAGE_BOOST_CONTEXT
79 config BR2_PACKAGE_BOOST_DATE_TIME
80 bool "boost-date_time"
82 config BR2_PACKAGE_BOOST_EXCEPTION
83 bool "boost-exception"
85 config BR2_PACKAGE_BOOST_FILESYSTEM
86 bool "boost-filesystem"
88 config BR2_PACKAGE_BOOST_GRAPH
91 config BR2_PACKAGE_BOOST_GRAPH_PARALLEL
92 bool "boost-graph_parallel"
94 config BR2_PACKAGE_BOOST_IOSTREAMS
95 bool "boost-iostreams"
96 select BR2_PACKAGE_BZIP2
97 select BR2_PACKAGE_ZLIB
99 config BR2_PACKAGE_BOOST_LOCALE
101 select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
103 config BR2_PACKAGE_BOOST_LOG
105 depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
106 # for some reason, uClibc on PowerPC fails to build the boost
108 depends on !(BR2_powerpc && BR2_TOOLCHAIN_USES_UCLIBC)
110 comment "boost-log needs a toolchain w/ NPTL"
111 depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL
112 depends on !(BR2_powerpc && BR2_TOOLCHAIN_USES_UCLIBC)
114 config BR2_PACKAGE_BOOST_MATH
117 config BR2_PACKAGE_BOOST_METAPARSE
118 depends on BR2_USE_MMU # boost-test
119 select BR2_PACKAGE_BOOST_TEST
120 bool "boost-metaparse"
122 config BR2_PACKAGE_BOOST_MPI
125 config BR2_PACKAGE_BOOST_PROGRAM_OPTIONS
126 bool "boost-program_options"
128 config BR2_PACKAGE_BOOST_PYTHON
129 depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
132 config BR2_PACKAGE_BOOST_RANDOM
135 config BR2_PACKAGE_BOOST_REGEX
138 config BR2_PACKAGE_BOOST_SERIALIZATION
139 bool "boost-serialization"
141 config BR2_PACKAGE_BOOST_SIGNALS
144 config BR2_PACKAGE_BOOST_SYSTEM
147 config BR2_PACKAGE_BOOST_TEST
149 depends on BR2_USE_MMU # fork()
151 config BR2_PACKAGE_BOOST_THREAD
154 config BR2_PACKAGE_BOOST_TIMER
157 config BR2_PACKAGE_BOOST_TYPE_ERASURE
158 bool "boost-type_erasure"
160 config BR2_PACKAGE_BOOST_WAVE
162 # limitation of assembler for coldfire
163 # error: Tried to convert PC relative branch to absolute jump
164 depends on !BR2_m68k_cf