boost: 1.63 Revision 3 -> Python 3.6 Support Fixed and Unsupported Target Fixes
Update:
- Python 3.6 support fixed. It is now correctly compiled and available.
Fixes:
- disabled context and fiber for unsupported targets
There are several architectures which are not supported by context nor
fiber. Because of this, Boost build was failing targets. This created the
situation where the other boost libs were not being built and consequently,
becoming unavailable at the OpenWRT/LEDE repositories.
To solve this issue, it was necessary to disabled fiber and context for
the incompatible targets.
Boost.Fiber is disabled for:
-> ar7, rb532, brcm63xx.smp, brcm63xx, brcm47xx, brcm47xx.legacy, brcm2708,
au1000, ath25, adm8668 and adm5120.
Boost.Context is disabled for:
-> avr32, octeon and netlogic.
Signed-off-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>
This package provides the following run-time libraries:
@ -64,11 +72,11 @@ This package provides the following run-time libraries:
- container
- context
- coroutine (Deprecated - use Coroutine2)
- - coroutine2 (Requires GCC v5 and up)
- - coroutine2 (Requires GCC v5 or newer)
- date_time
- exception
- filesystem
- fiber (Requires GCC v5 and up)
- fiber (Requires GCC v5 or newer)
- graph
- - graph-parallel
- iostreams
@ -227,34 +235,69 @@ define Package/boost/config
config boost-libs-all
bool "Include all Boost libraries."
default m if ALL
select PACKAGE_boost-libs
select boost-test-pkg
select boost-coroutine2
select boost-graph-parallel
select PACKAGE_boost-container
select PACKAGE_boost-date_time
select PACKAGE_boost-iostreams
select PACKAGE_boost-math
select PACKAGE_boost-program_options
select PACKAGE_boost-serialization
select PACKAGE_boost-signals
select PACKAGE_boost-regex
select PACKAGE_boost-graph if PACKAGE_boost-regex
select PACKAGE_boost-system
select PACKAGE_boost-atomic if PACKAGE_boost-system
select PACKAGE_boost-chrono if PACKAGE_boost-system
select PACKAGE_boost-random if PACKAGE_boost-system
select PACKAGE_boost-filesystem if PACKAGE_boost-system
select PACKAGE_boost-locale if PACKAGE_boost-system
select PACKAGE_boost-timer if PACKAGE_boost-chrono
select PACKAGE_boost-thread if PACKAGE_boost-chrono&&PACKAGE_boost-atomic
select PACKAGE_boost-context if PACKAGE_boost-chrono&&PACKAGE_boost-thread
select PACKAGE_boost-coroutine if PACKAGE_boost-context
select PACKAGE_boost-fiber if boost-coroutine2
select PACKAGE_boost-log if PACKAGE_boost-chrono&&PACKAGE_boost-date_time&&PACKAGE_boost-thread&&PACKAGE_boost-filesystem&&PACKAGE_boost-regex
select PACKAGE_boost-wave if PACKAGE_boost-date_time&&PACKAGE_boost-thread&&PACKAGE_boost-filesystem
select PACKAGE_boost-python
select PACKAGE_boost-python3
select boost-test-pkg if PACKAGE_boost-system&&PACKAGE_boost-timer
select boost-coroutine2 if PACKAGE_boost-coroutine
select boost-graph-parallel if PACKAGE_boost-graph
config boost-test-pkg
depends on PACKAGE_boost-system&&PACKAGE_boost-timer
bool "Boost test package."
default m if ALL
select PACKAGE_boost-test
config boost-coroutine2
depends on !@GCC_VERSION_4_8
depends on !@GCC_VERSION_4_8&&PACKAGE_boost-coroutine
bool "Boost couroutine2 support."
select PACKAGE_boost-coroutine
default n
default m if ALL
config boost-graph-parallel
depends on PACKAGE_boost-graph
bool "Boost parallel graph support."
select PACKAGE_boost-graph
default n
default m if ALL
$(foreach lib,$(BOOST_LIBS), \
config PACKAGE_boost-$(lib)
prompt "Boost $(lib) library."
default m if ALL
$(if$(findstring locale,$(lib)),depends on BUILD_NLS,)\
$(if$(findstring graph,$(lib)),depends on PACKAGE_boost-regex,)\
$(if$(findstring atomic,$(lib)),depends on PACKAGE_boost-system,)\
$(if$(findstring chrono,$(lib)),depends on PACKAGE_boost-system,)\
$(if$(findstring random,$(lib)),depends on PACKAGE_boost-system,)\
$(if$(findstring filesystem,$(lib)),depends on PACKAGE_boost-system,)\
$(if$(findstring locale,$(lib)),depends on PACKAGE_boost-system&&BUILD_NLS,)\
$(if$(findstring timer,$(lib)),depends on PACKAGE_boost-chrono,)\
$(if$(findstring thread,$(lib)),depends on PACKAGE_boost-chrono&&PACKAGE_boost-atomic,)\
$(if$(findstring context,$(lib)),depends on PACKAGE_boost-chrono&&PACKAGE_boost-thread&&@(!TARGET_avr32&&!TARGET_octeon&&!TARGET_netlogic),)\
$(if$(findstring coroutine,$(lib)),depends on PACKAGE_boost-context,)\
$(if$(findstring fiber,$(lib)),depends on @boost-coroutine2&&@(!TARGET_ar7&&!TARGET_rb532&&!TARGET_brcm63xx_smp&&!TARGET_brcm63xx&&!TARGET_brcm47xx&&!TARGET_brcm47xx_legacy&&!TARGET_brcm2708_bcm2708&&!TARGET_au1000&&!TARGET_ath25&&!TARGET_adm8668&&!TARGET_adm5120),)\
$(if$(findstring log,$(lib)),depends on PACKAGE_boost-chrono&&PACKAGE_boost-date_time&&PACKAGE_boost-thread&&PACKAGE_boost-filesystem&&PACKAGE_boost-regex,)\
$(if$(findstring wave,$(lib)),depends on PACKAGE_boost-date_time&&PACKAGE_boost-thread&&PACKAGE_boost-filesystem,)\
$(if$(findstring python,$(lib)),depends on PACKAGE_$(lib),)
)
endmenu
@ -266,14 +309,13 @@ define Package/boost-test
$(call Package/boost/Default)
TITLE+=(test)
HIDDEN:=1
DEPENDS+=+boost-system +boost-timer
endef
defineBuild/Configure
endef
# 1: short name
# 2: dependencies on other boost libraries (short name)
# 2: dependencies on other boost libraries (short name) - Deprecated