@ -11,13 +11,13 @@
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := boost
PKG_VERSION := 1.70 .0
PKG_SOURCE_VERSION := 1_70 _0
PKG_RELEASE := 7
PKG_VERSION := 1.71 .0
PKG_SOURCE_VERSION := 1_71 _0
PKG_RELEASE := 1
PKG_SOURCE := $( PKG_NAME) _$( PKG_SOURCE_VERSION) .tar.bz2
PKG_SOURCE_URL := @SF/$( PKG_NAME) /$( PKG_NAME) /$( PKG_VERSION) https://dl.bintray.com/boostorg/release/$( PKG_VERSION) /source/
PKG_HASH := 430ae8354789de4fd19ee52f3b1f739e1fba576f0aded0897c3c2bc00fb38778
PKG_HASH := d73a8da01e8bf8c7eda40b4c84915071a8c8a0df4a6734537ddde4a8580524ee
PKG_MAINTAINER := Carlos M. Ferreira <carlosmf.pt@gmail.com>
PKG_LICENSE := BSL-1.0
@ -26,6 +26,7 @@ PKG_LICENSE_FILES:=LICENSE_1_0.txt
PKG_BUILD_DIR := $( BUILD_DIR) /$( PKG_NAME) _$( PKG_SOURCE_VERSION)
HOST_BUILD_DIR := $( BUILD_DIR_HOST) /$( PKG_NAME) _$( PKG_SOURCE_VERSION)
HOST_BUILD_PARALLEL := 1
PKG_BUILD_PARALLEL := 1
PKG_USE_MIPS16 := 0
@ -41,32 +42,20 @@ define Package/boost/Default
e n d e f
d e f i n e P a c k a g e / b o o s t / d e s c r i p t i o n
T h i s p a c k a g e p r o v i d e s t h e B o o s t v 1 . 7 0 . 0 l i b r a r i e s .
T h i s p a c k a g e p r o v i d e s t h e B o o s t v 1 . 7 1 . 0 l i b r a r i e s .
B o o s t i s a s e t o f f r e e , p e e r - r e v i e w e d , p o r t a b l e C + + s o u r c e l i b r a r i e s .
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| W a r n i n g |
| I n o r d e r t o b u i l d a l l o f t h e B o o s t L i b r a r i e s , i t i s n e c e s s a r y |
| t o u s e , a t l e a s t , G C C v e r s i o n 5 ( C + + 1 4 s u p p o r t ) a n d , i t i s n e c e s s a r y t o |
| c o m p i l e t h e k e r n e l w i t h F u l l L a n g u a g e S u p p o r t . |
| Without these requirerements, the following libs will not be available : |
| - B o o s t . L o c a l e |
| - B o o s t . C o r o u t i n e 2 ( h e a d e r - o n l y l i b r a r y - r e q u i r e s C + + 1 1 ) |
| - B o o s t . F i b e r ( r e q u i r e s C + + 1 4 ) |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
This package provides the following run-time libraries :
- atomic
- chrono
- container
- context
- contract
- coroutine ( Deprecated - use Coroutine2)
- - coroutine2 ( Requires GCC v5 and up)
- coroutine and coroutine2 ( Coroutine is deprecated - use Coroutine2)
- date_time
- exception
- filesystem
- fiber ( Requires GCC v5 and up)
- fiber
- graph
- - graph-parallel
- iostreams
@ -87,7 +76,7 @@ This package provides the following run-time libraries:
- wave
T h e r e a r e m a n y m o r e h e a d e r - o n l y l i b r a r i e s s u p p o r t e d b y B o o s t .
See more at http : //www .boost .org /doc /libs /1_ 70 _ 0/
See more at http : //www .boost .org /doc /libs /1_ 71 _ 0/
e n d e f
PKG_BUILD_DEPENDS := boost/host PACKAGE_python:python PACKAGE_python3:python3
@ -127,6 +116,22 @@ define Package/boost
e n d e f
d e f i n e P a c k a g e / b o o s t / c o n f i g
# Invisible config dependency
config boost-context-exclude
bool
default y if ( mips64 || arc || arc700)
default n
config boost-coroutine-exclude
bool
default y if boost-context-exclude
default n
config boost-fiber-exclude
bool
default y if ( TARGET_brcm47xx_generic || TARGET_brcm47xx_legacy || mips32 || mips64 || boost-coroutine-exclude)
default n
menu "Select Boost Options"
depends on PACKAGE_boost
comment "Boost compilation options."
@ -199,11 +204,11 @@ define Package/boost/config
bool "Shared"
config boost-runtime-static
depends on !boost-shared-libs&& !boost-static-and-shared-libs
depends on ( !boost-shared-libs && !boost-static-and-shared-libs)
bool "Static"
config boost-runtime-static-and-shared
depends on boost-use-name-tags&& !boost-shared-libs&& !boost-static-and-shared-libs
depends on ( boost-use-name-tags && !boost-shared-libs && !boost-static-and-shared-libs)
bool "Both"
endchoice
@ -263,29 +268,17 @@ define Package/boost/config
default m if ALL
select PACKAGE_boost-libs
select boost-test-pkg
select boost-coroutine2
select boost-graph-parallel
# Invisible config dependency
config boost-fiber-exclude
bool
default y if ( CPU_TYPE = mips32 || CPU_TYPE = mips64)
config boost-test-pkg
bool "Boost test package."
default m if ALL
select PACKAGE_boost-test
config boost-coroutine2
depends on !GCC_VERSION_4_8
bool "Boost couroutine2 support."
select PACKAGE_boost-coroutine
default n
config boost-graph-parallel
bool "Boost parallel graph support."
select PACKAGE_boost-graph
default n
default m if ALL
$( foreach lib,$( BOOST_LIBS) , \
config PACKAGE_boost-$( lib)
@ -293,10 +286,11 @@ define Package/boost/config
default m if ALL
$( if $( findstring locale,$( lib) ) ,depends on BUILD_NLS,) \
$( if $( findstring python,$( lib) ) ,depends on PACKAGE_$( lib) ,) \
$( if $( findstring fiber,$( lib) ) ,depends on ( CPU_TYPE!= mips32 && CPU_TYPE!= mips64) ,)
$( if $( findstring fiber,$( lib) ) ,depends on !boost-fiber-exclude,) \
$( if $( findstring context,$( lib) ) ,depends on !boost-context-exclude,)
$( if $( findstring coroutine,$( lib) ) ,depends on !boost-coroutine-exclude,)
)
endmenu
e n d e f
PKG_CONFIG_DEPENDS := CONFIG_PACKAGE_boost-test
@ -334,35 +328,35 @@ define DefineBoostLibrary
endef
e n d e f
$( eval $ ( call DefineBoostLibrary ,atomic ,system , ) )
$( eval $ ( call DefineBoostLibrary ,chrono ,system , ) )
$( eval $ ( call DefineBoostLibrary ,container ,, ) )
$( eval $ ( call DefineBoostLibrary ,context ,chrono system thread ,) )
$( eval $ ( call DefineBoostLibrary ,contract ,system , ) )
$( eval $ ( call DefineBoostLibrary ,coroutine ,system chrono context thread ,) )
$( eval $ ( call DefineBoostLibrary ,date_time ,, ) )
$( eval $ ( call DefineBoostLibrary ,atomic ,system ) )
$( eval $ ( call DefineBoostLibrary ,chrono ,system ) )
$( eval $ ( call DefineBoostLibrary ,container ) )
$( eval $ ( call DefineBoostLibrary ,context ,chrono system thread ,,!boost -context -exclude ) )
$( eval $ ( call DefineBoostLibrary ,contract ,system ) )
$( eval $ ( call DefineBoostLibrary ,coroutine ,system chrono context thread ,,!boost -coroutine -exclude ) )
$( eval $ ( call DefineBoostLibrary ,date_time ) )
#$(eval $(call DefineBoostLibrary,exception,,))
$( eval $ ( call DefineBoostLibrary ,fiber ,coroutine filesystem ,,!boost -fiber -exclude ) )
$( eval $ ( call DefineBoostLibrary ,filesystem ,system , ) )
$( eval $ ( call DefineBoostLibrary ,graph ,regex , ) )
$( eval $ ( call DefineBoostLibrary ,filesystem ,system ) )
$( eval $ ( call DefineBoostLibrary ,graph ,regex ) )
$( eval $ ( call DefineBoostLibrary ,iostreams ,,+zlib +liblzma +libbz 2 +zstd ) )
$( eval $ ( call DefineBoostLibrary ,locale ,system ,$ ( ICONV_DEPENDS ) ,BUILD_NLS ) )
$( eval $ ( call DefineBoostLibrary ,log ,system chrono date_time thread filesystem regex , ) )
$( eval $ ( call DefineBoostLibrary ,math ,, ) )
$( eval $ ( call DefineBoostLibrary ,log ,system chrono date_time thread filesystem regex ) )
$( eval $ ( call DefineBoostLibrary ,math ) )
#$(eval $(call DefineBoostLibrary,mpi,,)) # OpenMPI does no exist in OpenWRT at this time.
$( eval $ ( call DefineBoostLibrary ,program_options ,, ) )
$( eval $ ( call DefineBoostLibrary ,program_options ) )
$( eval $ ( call DefineBoostLibrary ,python ,,,PACKAGE_python ) )
$( eval $ ( call DefineBoostLibrary ,python 3,,,PACKAGE_python 3) )
$( eval $ ( call DefineBoostLibrary ,random ,system , ) )
$( eval $ ( call DefineBoostLibrary ,regex ,, ) )
$( eval $ ( call DefineBoostLibrary ,serialization ,, ) )
$( eval $ ( call DefineBoostLibrary ,wserialization ,serialization , ) )
$( eval $ ( call DefineBoostLibrary ,stacktrace ,, ) )
$( eval $ ( call DefineBoostLibrary ,system ,, ) )
$( eval $ ( call DefineBoostLibrary ,thread ,system chrono atomic , ) )
$( eval $ ( call DefineBoostLibrary ,random ,system ) )
$( eval $ ( call DefineBoostLibrary ,regex ) )
$( eval $ ( call DefineBoostLibrary ,serialization ) )
$( eval $ ( call DefineBoostLibrary ,wserialization ,serialization ) )
$( eval $ ( call DefineBoostLibrary ,stacktrace ) )
$( eval $ ( call DefineBoostLibrary ,system ) )
$( eval $ ( call DefineBoostLibrary ,thread ,system chrono atomic ) )
$( eval $ ( call DefineBoostLibrary ,timer ,chrono ) )
$( eval $ ( call DefineBoostLibrary ,type_erasure ,chrono system thread , ) )
$( eval $ ( call DefineBoostLibrary ,wave ,date_time thread filesystem , ) )
$( eval $ ( call DefineBoostLibrary ,type_erasure ,chrono system thread ) )
$( eval $ ( call DefineBoostLibrary ,wave ,date_time thread filesystem ) )
i n c l u d e $( INCLUDE_DIR ) / h o s t - b u i l d . m k
@ -513,7 +507,7 @@ endef
d e f i n e H o s t / I n s t a l l
$( INSTALL_DIR) $( STAGING_DIR_HOSTPKG) /bin
$( CP) $( HOST_BUILD_DIR) /tools/build/src/engine/bin.*/b 2 $( STAGING_DIR_HOSTPKG) /bin/
$( CP) $( HOST_BUILD_DIR) /tools/build/src/engine/b2 $( STAGING_DIR_HOSTPKG) /bin/
e n d e f
d e f i n e P a c k a g e / b o o s t / D e f a u l t / i n s t a l l