[oe-commits] [openembedded-core] 11/14: boost: add support for additional boost libs
git at git.openembedded.org
git at git.openembedded.org
Thu Sep 15 15:44:33 UTC 2016
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit 906980b05c69e01472640a35f446c721bc8baddc
Author: Jackie Huang <jackie.huang at windriver.com>
AuthorDate: Wed Sep 14 13:08:48 2016 +0800
boost: add support for additional boost libs
* Added libs:
- container
- context
- coroutine
- exception
- graph_parallel
- locale
- math
- mpi
- wave
* Add PACKAGECONFIG to add proper dependencies for boost-locale
* context and coroutine are added only for x86 and powerpc
Signed-off-by: Jackie Huang <jackie.huang at windriver.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/recipes-support/boost/boost.inc | 24 +++++++++++++++++++++---
1 file changed, 21 insertions(+), 3 deletions(-)
diff --git a/meta/recipes-support/boost/boost.inc b/meta/recipes-support/boost/boost.inc
index 5696b6a..2386b00 100644
--- a/meta/recipes-support/boost/boost.inc
+++ b/meta/recipes-support/boost/boost.inc
@@ -8,11 +8,16 @@ ARM_INSTRUCTION_SET_armv5 = "arm"
BOOST_LIBS = "\
atomic \
chrono \
+ container \
date_time \
+ exception \
filesystem \
graph \
+ graph_parallel \
iostreams \
log \
+ math \
+ mpi \
program_options \
random \
regex \
@@ -22,12 +27,24 @@ BOOST_LIBS = "\
timer \
test \
thread \
+ wave \
"
-# optional boost-python library
-PACKAGECONFIG ??= ""
+# only supported by x86 and powerpc
+BOOST_LIBS_append_x86 = " context coroutine"
+BOOST_LIBS_append_x86-64 = " context coroutine"
+BOOST_LIBS_append_powerpc = " context coroutine"
+
+# optional libraries
+PACKAGECONFIG ??= "locale"
PACKAGECONFIG[python] = ",,python python3"
-BOOST_LIBS += "${@bb.utils.contains('PACKAGECONFIG', 'python', 'python python3', '', d)}"
+PACKAGECONFIG[locale] = ",,icu"
+
+BOOST_LIBS += "\
+ ${@bb.utils.contains('PACKAGECONFIG', 'python', 'python python3', '', d)} \
+ ${@bb.utils.contains('PACKAGECONFIG', 'locale', 'locale', '', d)} \
+"
+
inherit python-dir
PYTHON_ROOT = "${STAGING_DIR_HOST}/${prefix}"
@@ -54,6 +71,7 @@ python __anonymous () {
}
# Override the contents of specific packages
+FILES_${PN}-locale = "${libdir}/libboost_locale.so.*"
FILES_boost-serialization = "${libdir}/libboost_serialization*.so.* \
${libdir}/libboost_wserialization*.so.*"
FILES_boost-test = "${libdir}/libboost_prg_exec_monitor*.so.* \
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list