micropython: Set MICROPY_GCREGS_SETJMP=1 for xtensa and sh
[buildroot-gz.git] / package / boost / Config.in
blobac701524f91b5b64368f0f4101d7ac5597860845
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_ARCH_SUPPORTS
5         bool
6         default y if !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201405 && \
7                 !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII201305
9 config BR2_PACKAGE_BOOST
10         bool "boost"
11         depends on BR2_INSTALL_LIBSTDCPP
12         depends on BR2_PACKAGE_BOOST_ARCH_SUPPORTS
13         # Boost could theorically be built with threading=single, but
14         # that unfortunately doesn't work. Until someone fixes that,
15         # let's depend on threads.
16         depends on BR2_TOOLCHAIN_HAS_THREADS
17         depends on BR2_USE_WCHAR
18         help
19           A general purpose C++ library
21           http://www.boost.org/
23 if BR2_PACKAGE_BOOST
25 choice
26         prompt "Layout"
27         default BR2_PACKAGE_BOOST_LAYOUT_SYSTEM
28         help
29           Selects the layout of Boost binary names
31 config BR2_PACKAGE_BOOST_LAYOUT_SYSTEM
32         bool "system"
33         help
34           Boost binary names do not include the Boost version number
35           or the name and version number of the compiler.
37 config BR2_PACKAGE_BOOST_LAYOUT_TAGGED
38         bool "tagged"
39         help
40           Boost binary names include the encoded build properties such
41           as variant and threading, but do not include compiler name
42           and version, or Boost version. This option is useful if you
43           build several variants of Boost, using the same compiler.
45 config BR2_PACKAGE_BOOST_LAYOUT_VERSIONED
46         bool "versioned"
47         help
48           Boost binary names include the Boost version number, name
49           and version of the compiler and encoded build properties.
51 endchoice
53 config BR2_PACKAGE_BOOST_LAYOUT
54         string
55         default "system" if BR2_PACKAGE_BOOST_LAYOUT_SYSTEM
56         default "tagged" if BR2_PACKAGE_BOOST_LAYOUT_TAGGED
57         default "versioned" if BR2_PACKAGE_BOOST_LAYOUT_VERSIONED
59 config BR2_PACKAGE_BOOST_ATOMIC
60         bool "boost-atomic"
62 config BR2_PACKAGE_BOOST_CHRONO
63         bool "boost-chrono"
65 config BR2_PACKAGE_BOOST_CONTAINER
66         bool "boost-container"
68 config BR2_PACKAGE_BOOST_CONTEXT
69         bool "boost-context"
70         depends on (BR2_arm || BR2_armeb || BR2_i386 || BR2_mips || BR2_mipsel \
71                         || BR2_powerpc || BR2_sparc || BR2_x86_64)
73 config BR2_PACKAGE_BOOST_DATE_TIME
74         bool "boost-date_time"
76 config BR2_PACKAGE_BOOST_EXCEPTION
77         bool "boost-exception"
79 config BR2_PACKAGE_BOOST_FILESYSTEM
80         bool "boost-filesystem"
82 config BR2_PACKAGE_BOOST_GRAPH
83         bool "boost-graph"
85 config BR2_PACKAGE_BOOST_GRAPH_PARALLEL
86         bool "boost-graph_parallel"
88 config BR2_PACKAGE_BOOST_IOSTREAMS
89         bool "boost-iostreams"
90         select BR2_PACKAGE_BZIP2
91         select BR2_PACKAGE_ZLIB
93 config BR2_PACKAGE_BOOST_LOCALE
94         bool "boost-locale"
96 config BR2_PACKAGE_BOOST_LOG
97         bool "boost-log"
98         depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
99         # for some reason, uClibc on PowerPC fails to build the boost
100         # log module
101         depends on !(BR2_powerpc && BR2_TOOLCHAIN_USES_UCLIBC)
103 comment "boost-log needs a toolchain w/ NPTL"
104         depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL
105         depends on !(BR2_powerpc && BR2_TOOLCHAIN_USES_UCLIBC)
107 config BR2_PACKAGE_BOOST_MATH
108         bool "boost-math"
110 config BR2_PACKAGE_BOOST_MPI
111         bool "boost-mpi"
113 config BR2_PACKAGE_BOOST_PROGRAM_OPTIONS
114         bool "boost-program_options"
116 config BR2_PACKAGE_BOOST_PYTHON
117         depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
118         bool "boost-python"
120 config BR2_PACKAGE_BOOST_RANDOM
121         bool "boost-random"
123 config BR2_PACKAGE_BOOST_REGEX
124         bool "boost-regex"
126 config BR2_PACKAGE_BOOST_SERIALIZATION
127         bool "boost-serialization"
129 config BR2_PACKAGE_BOOST_SIGNALS
130         bool "boost-signals"
132 config BR2_PACKAGE_BOOST_SYSTEM
133         bool "boost-system"
135 config BR2_PACKAGE_BOOST_TEST
136         bool "boost-test"
137         depends on BR2_USE_MMU # fork()
139 config BR2_PACKAGE_BOOST_THREAD
140         bool "boost-thread"
142 config BR2_PACKAGE_BOOST_TIMER
143         bool "boost-timer"
145 config BR2_PACKAGE_BOOST_WAVE
146         bool "boost-wave"
148 endif