* [PATCH] boost: add support for additional boost libs
@ 2016-09-14 5:08 jackie.huang
2016-09-14 12:04 ` Burton, Ross
2016-09-16 14:25 ` Burton, Ross
0 siblings, 2 replies; 5+ messages in thread
From: jackie.huang @ 2016-09-14 5:08 UTC (permalink / raw)
To: openembedded-core
From: Jackie Huang <jackie.huang@windriver.com>
* 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@windriver.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.* \
--
2.8.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] boost: add support for additional boost libs
2016-09-14 5:08 [PATCH] boost: add support for additional boost libs jackie.huang
@ 2016-09-14 12:04 ` Burton, Ross
2016-09-19 2:01 ` Huang, Jie (Jackie)
2016-09-16 14:25 ` Burton, Ross
1 sibling, 1 reply; 5+ messages in thread
From: Burton, Ross @ 2016-09-14 12:04 UTC (permalink / raw)
To: jackie.huang; +Cc: OE-core
[-- Attachment #1: Type: text/plain, Size: 328 bytes --]
On 14 September 2016 at 06:08, <jackie.huang@windriver.com> wrote:
> * Added libs:
> - container
> - context
> - coroutine
> - exception
> - graph_parallel
> - locale
> - math
> - mpi
> - wave
>
I don't see packages created for mpi, graph_parallel or exception. Is this
intentional?
Ross
[-- Attachment #2: Type: text/html, Size: 769 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] boost: add support for additional boost libs
2016-09-14 5:08 [PATCH] boost: add support for additional boost libs jackie.huang
2016-09-14 12:04 ` Burton, Ross
@ 2016-09-16 14:25 ` Burton, Ross
2016-09-17 2:25 ` Huang, Jie (Jackie)
1 sibling, 1 reply; 5+ messages in thread
From: Burton, Ross @ 2016-09-16 14:25 UTC (permalink / raw)
To: jackie.huang; +Cc: OE-core
[-- Attachment #1: Type: text/plain, Size: 803 bytes --]
On 14 September 2016 at 06:08, <jackie.huang@windriver.com> wrote:
> From: Jackie Huang <jackie.huang@windriver.com>
>
> * 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
>
This patch appears to be periodically breaking boost in the autobuilder
runs.
| libs/math/build/../src/tr1/asinhf.cpp:6:21: error: while reading
precompiled header: No such file or directory
See http://autobuilder.yocto.io:8010/builders/nightly-x86-64-lsb/builds/56/
for the full logs. A build earlier also ended with GCC internal errors,
but these may be related.
Ross
[-- Attachment #2: Type: text/html, Size: 1550 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] boost: add support for additional boost libs
2016-09-16 14:25 ` Burton, Ross
@ 2016-09-17 2:25 ` Huang, Jie (Jackie)
0 siblings, 0 replies; 5+ messages in thread
From: Huang, Jie (Jackie) @ 2016-09-17 2:25 UTC (permalink / raw)
To: BURTON, ROSS; +Cc: OE-core
[-- Attachment #1: Type: text/plain, Size: 1110 bytes --]
I see, I will try to fix it then send v2.
Thanks,
Jackie
From: Burton, Ross [mailto:ross.burton@intel.com]
Sent: Friday, September 16, 2016 10:26 PM
To: Huang, Jie (Jackie)
Cc: OE-core
Subject: Re: [OE-core] [PATCH] boost: add support for additional boost libs
On 14 September 2016 at 06:08, <jackie.huang@windriver.com<mailto:jackie.huang@windriver.com>> wrote:
From: Jackie Huang <jackie.huang@windriver.com<mailto:jackie.huang@windriver.com>>
* 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
This patch appears to be periodically breaking boost in the autobuilder runs.
| libs/math/build/../src/tr1/asinhf.cpp:6:21: error: while reading precompiled header: No such file or directory
See http://autobuilder.yocto.io:8010/builders/nightly-x86-64-lsb/builds/56/ for the full logs. A build earlier also ended with GCC internal errors, but these may be related.
Ross
[-- Attachment #2: Type: text/html, Size: 5305 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] boost: add support for additional boost libs
2016-09-14 12:04 ` Burton, Ross
@ 2016-09-19 2:01 ` Huang, Jie (Jackie)
0 siblings, 0 replies; 5+ messages in thread
From: Huang, Jie (Jackie) @ 2016-09-19 2:01 UTC (permalink / raw)
To: BURTON, ROSS; +Cc: OE-core
[-- Attachment #1: Type: text/plain, Size: 861 bytes --]
No, they were skipped unexpectedly:
warning: Graph library does not contain MPI-based parallel components.
warning: skipping optional Message Passing Interface (MPI) library.
Sorry that I didn’t notice these warnings, I will fix them in v2 so these packages
should be created.
Thanks,
Jackie
From: Burton, Ross [mailto:ross.burton@intel.com]
Sent: Wednesday, September 14, 2016 8:05 PM
To: Huang, Jie (Jackie)
Cc: OE-core
Subject: Re: [OE-core] [PATCH] boost: add support for additional boost libs
On 14 September 2016 at 06:08, <jackie.huang@windriver.com<mailto:jackie.huang@windriver.com>> wrote:
* Added libs:
- container
- context
- coroutine
- exception
- graph_parallel
- locale
- math
- mpi
- wave
I don't see packages created for mpi, graph_parallel or exception. Is this intentional?
Ross
[-- Attachment #2: Type: text/html, Size: 5233 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2016-09-19 2:01 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-14 5:08 [PATCH] boost: add support for additional boost libs jackie.huang
2016-09-14 12:04 ` Burton, Ross
2016-09-19 2:01 ` Huang, Jie (Jackie)
2016-09-16 14:25 ` Burton, Ross
2016-09-17 2:25 ` Huang, Jie (Jackie)
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.