summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/boost
diff options
context:
space:
mode:
authorJackie Huang <jackie.huang@windriver.com>2016-09-26 15:56:28 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-28 10:16:03 +0100
commit55cab158e45bd3f2b961ddbe7faf625c0be64d8c (patch)
treea220d0cd0bcffc58f173ca51e2b8eb54146e663d /meta/recipes-support/boost
parent6c22e39f06dac92698e98172c509f3671743e92f (diff)
downloadpoky-55cab158e45bd3f2b961ddbe7faf625c0be64d8c.tar.gz
boost: disable pch when build boost-math
It's a work around for a defect when build in parallel: https://svn.boost.org/trac/boost/ticket/12477 (From OE-Core rev: 9f30160f8623aebe8459e5b155d01397ff0f13b3) Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/boost')
-rw-r--r--meta/recipes-support/boost/boost/boost-math-disable-pch-for-gcc.patch31
-rw-r--r--meta/recipes-support/boost/boost_1.61.0.bb1
2 files changed, 32 insertions, 0 deletions
diff --git a/meta/recipes-support/boost/boost/boost-math-disable-pch-for-gcc.patch b/meta/recipes-support/boost/boost/boost-math-disable-pch-for-gcc.patch
new file mode 100644
index 0000000000..595ba17865
--- /dev/null
+++ b/meta/recipes-support/boost/boost/boost-math-disable-pch-for-gcc.patch
@@ -0,0 +1,31 @@
1From cabfcba1ff7511ffd6b91ca244288d44f585aad2 Mon Sep 17 00:00:00 2001
2From: Jackie Huang <jackie.huang@windriver.com>
3Date: Fri, 23 Sep 2016 01:04:50 -0700
4Subject: [PATCH] boost-math: disable pch for gcc
5
6Upstream-Status: Inappropriate [*]
7
8* It's a work around for a defect when build in parallel:
9https://svn.boost.org/trac/boost/ticket/12477
10
11Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
12---
13 libs/math/build/Jamfile.v2 | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/libs/math/build/Jamfile.v2 b/libs/math/build/Jamfile.v2
17index e19fb2e..82472a7 100644
18--- a/libs/math/build/Jamfile.v2
19+++ b/libs/math/build/Jamfile.v2
20@@ -13,7 +13,7 @@ project
21 #<toolset>intel-linux:<pch>off
22 <toolset>intel-darwin:<pch>off
23 <toolset>msvc-7.1:<pch>off
24- <toolset>gcc,<target-os>windows:<pch>off
25+ <toolset>gcc:<pch>off
26 #<toolset>gcc:<cxxflags>-fvisibility=hidden
27 <toolset>intel-linux:<cxxflags>-fvisibility=hidden
28 #<toolset>sun:<cxxflags>-xldscope=hidden
29--
302.7.4
31
diff --git a/meta/recipes-support/boost/boost_1.61.0.bb b/meta/recipes-support/boost/boost_1.61.0.bb
index 33f209c9be..40e3870a3d 100644
--- a/meta/recipes-support/boost/boost_1.61.0.bb
+++ b/meta/recipes-support/boost/boost_1.61.0.bb
@@ -9,4 +9,5 @@ SRC_URI += "\
9 file://0002-boost-test-execution_monitor.hpp-fix-mips-soft-float.patch \ 9 file://0002-boost-test-execution_monitor.hpp-fix-mips-soft-float.patch \
10 file://0003-smart_ptr-mips-assembly-doesn-t-compile-in-mips16e-m.patch \ 10 file://0003-smart_ptr-mips-assembly-doesn-t-compile-in-mips16e-m.patch \
11 file://0004-Use-atomic-by-default-when-BOOST_NO_CXX11_HDR_ATOMIC.patch \ 11 file://0004-Use-atomic-by-default-when-BOOST_NO_CXX11_HDR_ATOMIC.patch \
12 file://boost-math-disable-pch-for-gcc.patch \
12" 13"