2015-07-24 10:14:53 +02:00
|
|
|
comment "boost needs a toolchain w/ C++, threads, wchar"
|
|
|
|
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
|
2012-03-03 21:00:05 +01:00
|
|
|
|
2011-10-13 12:39:12 +02:00
|
|
|
config BR2_PACKAGE_BOOST
|
|
|
|
bool "boost"
|
|
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
2013-01-15 01:45:26 +01:00
|
|
|
# Boost could theorically be built with threading=single, but
|
|
|
|
# that unfortunately doesn't work. Until someone fixes that,
|
|
|
|
# let's depend on threads.
|
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
2015-07-24 10:14:53 +02:00
|
|
|
depends on BR2_USE_WCHAR
|
2011-10-13 12:39:12 +02:00
|
|
|
help
|
|
|
|
A general purpose C++ library
|
|
|
|
|
|
|
|
http://www.boost.org/
|
|
|
|
|
|
|
|
if BR2_PACKAGE_BOOST
|
|
|
|
|
2014-03-15 05:27:52 +01:00
|
|
|
choice
|
|
|
|
prompt "Layout"
|
|
|
|
default BR2_PACKAGE_BOOST_LAYOUT_SYSTEM
|
|
|
|
help
|
|
|
|
Selects the layout of Boost binary names
|
|
|
|
|
|
|
|
config BR2_PACKAGE_BOOST_LAYOUT_SYSTEM
|
|
|
|
bool "system"
|
|
|
|
help
|
|
|
|
Boost binary names do not include the Boost version number
|
|
|
|
or the name and version number of the compiler.
|
|
|
|
|
|
|
|
config BR2_PACKAGE_BOOST_LAYOUT_TAGGED
|
|
|
|
bool "tagged"
|
|
|
|
help
|
|
|
|
Boost binary names include the encoded build properties such
|
|
|
|
as variant and threading, but do not include compiler name
|
|
|
|
and version, or Boost version. This option is useful if you
|
|
|
|
build several variants of Boost, using the same compiler.
|
|
|
|
|
|
|
|
config BR2_PACKAGE_BOOST_LAYOUT_VERSIONED
|
|
|
|
bool "versioned"
|
|
|
|
help
|
|
|
|
Boost binary names include the Boost version number, name
|
|
|
|
and version of the compiler and encoded build properties.
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config BR2_PACKAGE_BOOST_LAYOUT
|
|
|
|
string
|
|
|
|
default "system" if BR2_PACKAGE_BOOST_LAYOUT_SYSTEM
|
|
|
|
default "tagged" if BR2_PACKAGE_BOOST_LAYOUT_TAGGED
|
|
|
|
default "versioned" if BR2_PACKAGE_BOOST_LAYOUT_VERSIONED
|
|
|
|
|
2015-03-12 10:44:24 +01:00
|
|
|
config BR2_PACKAGE_BOOST_ATOMIC
|
|
|
|
bool "boost-atomic"
|
|
|
|
|
2011-10-13 12:39:12 +02:00
|
|
|
config BR2_PACKAGE_BOOST_CHRONO
|
|
|
|
bool "boost-chrono"
|
|
|
|
|
2015-04-20 12:15:02 +02:00
|
|
|
config BR2_PACKAGE_BOOST_CONTAINER
|
|
|
|
bool "boost-container"
|
|
|
|
|
2015-11-03 21:18:00 +01:00
|
|
|
# see
|
|
|
|
# http://www.boost.org/doc/libs/1_59_0/libs/context/doc/html/context/architectures.html
|
2015-11-16 21:50:56 +01:00
|
|
|
# for the list of supported architectures. Sparc pretends to be
|
|
|
|
# supported, but it doesn't build.
|
2013-02-06 07:27:16 +01:00
|
|
|
config BR2_PACKAGE_BOOST_CONTEXT
|
|
|
|
bool "boost-context"
|
2016-08-02 19:01:04 +02:00
|
|
|
depends on ((BR2_arm || BR2_armeb) && BR2_ARM_CPU_HAS_ARM) || \
|
|
|
|
BR2_i386 || BR2_mips || BR2_mipsel || BR2_powerpc || BR2_x86_64
|
2017-06-15 11:40:00 +02:00
|
|
|
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735
|
2013-02-06 07:27:16 +01:00
|
|
|
|
2015-11-03 17:59:38 +01:00
|
|
|
config BR2_PACKAGE_BOOST_COROUTINE
|
2015-12-11 14:57:58 +01:00
|
|
|
bool "boost-coroutine"
|
|
|
|
depends on BR2_PACKAGE_BOOST_CONTEXT
|
2015-11-03 17:59:38 +01:00
|
|
|
|
2015-12-11 14:57:59 +01:00
|
|
|
config BR2_PACKAGE_BOOST_COROUTINE2
|
|
|
|
bool "boost-coroutine2"
|
|
|
|
depends on BR2_PACKAGE_BOOST_CONTEXT
|
|
|
|
|
2011-10-13 12:39:12 +02:00
|
|
|
config BR2_PACKAGE_BOOST_DATE_TIME
|
|
|
|
bool "boost-date_time"
|
|
|
|
|
|
|
|
config BR2_PACKAGE_BOOST_EXCEPTION
|
|
|
|
bool "boost-exception"
|
|
|
|
|
|
|
|
config BR2_PACKAGE_BOOST_FILESYSTEM
|
|
|
|
bool "boost-filesystem"
|
|
|
|
|
|
|
|
config BR2_PACKAGE_BOOST_GRAPH
|
|
|
|
bool "boost-graph"
|
|
|
|
|
|
|
|
config BR2_PACKAGE_BOOST_GRAPH_PARALLEL
|
|
|
|
bool "boost-graph_parallel"
|
|
|
|
|
|
|
|
config BR2_PACKAGE_BOOST_IOSTREAMS
|
|
|
|
bool "boost-iostreams"
|
2013-06-11 09:30:03 +02:00
|
|
|
select BR2_PACKAGE_BZIP2
|
|
|
|
select BR2_PACKAGE_ZLIB
|
2011-10-13 12:39:12 +02:00
|
|
|
|
2012-04-16 21:46:46 +02:00
|
|
|
config BR2_PACKAGE_BOOST_LOCALE
|
|
|
|
bool "boost-locale"
|
2017-05-14 23:45:56 +02:00
|
|
|
# When boost-locale is enabled with icu support, Boost no
|
|
|
|
# longer supports building the libboost_* libraries as static
|
|
|
|
# libraries, causing build failures when other boost features
|
|
|
|
# than boost-locale are enabled. To work around this, we
|
|
|
|
# prevent using boost-locale on static linking configurations
|
|
|
|
# with icu enabled. See
|
|
|
|
# https://svn.boost.org/trac/boost/ticket/9685 for more
|
|
|
|
# details.
|
|
|
|
depends on !(BR2_STATIC_LIBS && BR2_PACKAGE_ICU)
|
2016-02-06 12:30:32 +01:00
|
|
|
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
|
2012-04-16 21:46:46 +02:00
|
|
|
|
2017-05-14 23:45:56 +02:00
|
|
|
comment "boost-locale needs a toolchain w/ dynamic library"
|
|
|
|
depends on BR2_PACKAGE_ICU
|
|
|
|
depends on BR2_STATIC_LIBS
|
|
|
|
|
2014-10-20 15:27:24 +02:00
|
|
|
config BR2_PACKAGE_BOOST_LOG
|
2015-04-09 23:30:48 +02:00
|
|
|
bool "boost-log"
|
2015-04-09 23:54:53 +02:00
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
2015-05-15 20:23:49 +02:00
|
|
|
# for some reason, uClibc on PowerPC fails to build the boost
|
|
|
|
# log module
|
|
|
|
depends on !(BR2_powerpc && BR2_TOOLCHAIN_USES_UCLIBC)
|
2015-04-09 23:54:53 +02:00
|
|
|
|
|
|
|
comment "boost-log needs a toolchain w/ NPTL"
|
|
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL
|
2015-05-15 20:23:49 +02:00
|
|
|
depends on !(BR2_powerpc && BR2_TOOLCHAIN_USES_UCLIBC)
|
2014-10-20 15:27:24 +02:00
|
|
|
|
2011-10-13 12:39:12 +02:00
|
|
|
config BR2_PACKAGE_BOOST_MATH
|
|
|
|
bool "boost-math"
|
|
|
|
|
2016-06-04 15:17:37 +02:00
|
|
|
config BR2_PACKAGE_BOOST_METAPARSE
|
2017-04-22 19:17:49 +02:00
|
|
|
bool "boost-metaparse"
|
2016-06-19 11:22:49 +02:00
|
|
|
depends on BR2_USE_MMU # boost-test
|
|
|
|
select BR2_PACKAGE_BOOST_TEST
|
2016-06-04 15:17:37 +02:00
|
|
|
|
2011-10-13 12:39:12 +02:00
|
|
|
config BR2_PACKAGE_BOOST_MPI
|
|
|
|
bool "boost-mpi"
|
|
|
|
|
|
|
|
config BR2_PACKAGE_BOOST_PROGRAM_OPTIONS
|
|
|
|
bool "boost-program_options"
|
|
|
|
|
2014-03-10 09:38:48 +01:00
|
|
|
config BR2_PACKAGE_BOOST_PYTHON
|
|
|
|
bool "boost-python"
|
2017-04-22 19:17:49 +02:00
|
|
|
depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
|
2014-03-10 09:38:48 +01:00
|
|
|
|
2011-10-13 12:39:12 +02:00
|
|
|
config BR2_PACKAGE_BOOST_RANDOM
|
|
|
|
bool "boost-random"
|
|
|
|
|
|
|
|
config BR2_PACKAGE_BOOST_REGEX
|
|
|
|
bool "boost-regex"
|
|
|
|
|
|
|
|
config BR2_PACKAGE_BOOST_SERIALIZATION
|
|
|
|
bool "boost-serialization"
|
|
|
|
|
|
|
|
config BR2_PACKAGE_BOOST_SIGNALS
|
|
|
|
bool "boost-signals"
|
|
|
|
|
|
|
|
config BR2_PACKAGE_BOOST_SYSTEM
|
|
|
|
bool "boost-system"
|
|
|
|
|
|
|
|
config BR2_PACKAGE_BOOST_TEST
|
|
|
|
bool "boost-test"
|
2014-02-12 10:14:57 +01:00
|
|
|
depends on BR2_USE_MMU # fork()
|
2011-10-13 12:39:12 +02:00
|
|
|
|
|
|
|
config BR2_PACKAGE_BOOST_THREAD
|
|
|
|
bool "boost-thread"
|
|
|
|
|
2012-04-16 21:46:46 +02:00
|
|
|
config BR2_PACKAGE_BOOST_TIMER
|
|
|
|
bool "boost-timer"
|
|
|
|
|
2016-07-02 17:29:52 +02:00
|
|
|
config BR2_PACKAGE_BOOST_TYPE_ERASURE
|
|
|
|
bool "boost-type_erasure"
|
|
|
|
|
2011-10-13 12:39:12 +02:00
|
|
|
config BR2_PACKAGE_BOOST_WAVE
|
|
|
|
bool "boost-wave"
|
2016-07-31 18:46:26 +02:00
|
|
|
# limitation of assembler for coldfire
|
|
|
|
# error: Tried to convert PC relative branch to absolute jump
|
|
|
|
depends on !BR2_m68k_cf
|
2011-10-13 12:39:12 +02:00
|
|
|
|
|
|
|
endif
|