summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2020-12-28 21:04:22 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-12-31 11:53:26 +0000
commitcf8a40e6c48ce3c2888a713f0f13b73febb56091 (patch)
tree834df5a10eb00beec07d66bbeb4ab48d70aada45
parentdf0bb1cb96389d534b53faf677a0f6ee30dd672d (diff)
downloadpoky-cf8a40e6c48ce3c2888a713f0f13b73febb56091.tar.gz
boost: update 1.74.0 -> 1.75.0
Remove 0001-Apply-boost-1.62.0-no-forced-flags.patch.patch: upstream has refactored the code, purpose of the patch is unclear. (From OE-Core rev: fe931dbdb6eebf99e5f034d4b530387066486f4c) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-support/boost/boost-1.75.0.inc (renamed from meta/recipes-support/boost/boost-1.74.0.inc)2
-rw-r--r--meta/recipes-support/boost/boost/0001-Apply-boost-1.62.0-no-forced-flags.patch.patch100
-rw-r--r--meta/recipes-support/boost/boost_1.75.0.bb (renamed from meta/recipes-support/boost/boost_1.74.0.bb)1
3 files changed, 1 insertions, 102 deletions
diff --git a/meta/recipes-support/boost/boost-1.74.0.inc b/meta/recipes-support/boost/boost-1.75.0.inc
index b47fdaf099..e5a8488c58 100644
--- a/meta/recipes-support/boost/boost-1.74.0.inc
+++ b/meta/recipes-support/boost/boost-1.75.0.inc
@@ -12,7 +12,7 @@ BOOST_MAJ = "${@"_".join(d.getVar("PV").split(".")[0:2])}"
12BOOST_P = "boost_${BOOST_VER}" 12BOOST_P = "boost_${BOOST_VER}"
13 13
14SRC_URI = "https://dl.bintray.com/boostorg/release/${PV}/source/${BOOST_P}.tar.bz2" 14SRC_URI = "https://dl.bintray.com/boostorg/release/${PV}/source/${BOOST_P}.tar.bz2"
15SRC_URI[sha256sum] = "83bfc1507731a0906e387fc28b7ef5417d591429e51e788417fe9ff025e116b1" 15SRC_URI[sha256sum] = "953db31e016db7bb207f11432bef7df100516eeb746843fa0486a222e3fd49cb"
16 16
17UPSTREAM_CHECK_URI = "http://www.boost.org/users/download/" 17UPSTREAM_CHECK_URI = "http://www.boost.org/users/download/"
18UPSTREAM_CHECK_REGEX = "boostorg/release/(?P<pver>.*)/source/" 18UPSTREAM_CHECK_REGEX = "boostorg/release/(?P<pver>.*)/source/"
diff --git a/meta/recipes-support/boost/boost/0001-Apply-boost-1.62.0-no-forced-flags.patch.patch b/meta/recipes-support/boost/boost/0001-Apply-boost-1.62.0-no-forced-flags.patch.patch
deleted file mode 100644
index 169906344f..0000000000
--- a/meta/recipes-support/boost/boost/0001-Apply-boost-1.62.0-no-forced-flags.patch.patch
+++ /dev/null
@@ -1,100 +0,0 @@
1From 8845a786598f1d9e83aa1b7d2966b0d1eb765ba0 Mon Sep 17 00:00:00 2001
2From: Christopher Larson <chris_larson@mentor.com>
3Date: Tue, 13 Dec 2016 10:14:31 -0700
4Subject: [PATCH 1/3] Apply boost-1.62.0-no-forced-flags.patch
5
6Upstream-Status: Inappropriate
7Signed-off-by: Christopher Larson <chris_larson@mentor.com>
8---
9 libs/log/build/Jamfile.v2 | 4 ++--
10 libs/log/config/x86-ext/Jamfile.jam | 16 ++++++++--------
11 libs/log/src/dump_avx2.cpp | 4 ++++
12 libs/log/src/dump_ssse3.cpp | 4 ++++
13 4 files changed, 18 insertions(+), 10 deletions(-)
14
15diff --git a/libs/log/build/Jamfile.v2 b/libs/log/build/Jamfile.v2
16index 4abbdbc..b3016fc 100644
17--- a/libs/log/build/Jamfile.v2
18+++ b/libs/log/build/Jamfile.v2
19@@ -373,7 +373,7 @@ rule avx2-targets-cond ( properties * )
20 }
21 else if <toolset>clang in $(properties)
22 {
23- result = <cxxflags>"-mavx -mavx2" ;
24+ result = <cxxflags> ;
25 }
26 else if <toolset>intel in $(properties)
27 {
28@@ -383,7 +383,7 @@ rule avx2-targets-cond ( properties * )
29 }
30 else
31 {
32- result = <cxxflags>"-xCORE-AVX2 -fabi-version=0" ;
33+ result = <cxxflags>"-fabi-version=0" ;
34 }
35 }
36 else if <toolset>msvc in $(properties)
37diff --git a/libs/log/config/x86-ext/Jamfile.jam b/libs/log/config/x86-ext/Jamfile.jam
38index 0e9695a..dcc394d 100644
39--- a/libs/log/config/x86-ext/Jamfile.jam
40+++ b/libs/log/config/x86-ext/Jamfile.jam
41@@ -15,19 +15,19 @@ project /boost/log/x86-extensions
42
43 obj ssse3 : ssse3.cpp
44 :
45- <toolset>gcc:<cxxflags>"-msse -msse2 -msse3 -mssse3"
46- <toolset>clang:<cxxflags>"-msse -msse2 -msse3 -mssse3"
47- <toolset>intel-linux:<cxxflags>"-xSSSE3"
48- <toolset>intel-darwin:<cxxflags>"-xSSSE3"
49+ <toolset>gcc:<cxxflags>
50+ <toolset>clang:<cxxflags>
51+ <toolset>intel-linux:<cxxflags>
52+ <toolset>intel-darwin:<cxxflags>
53 <toolset>intel-win:<cxxflags>"/QxSSSE3"
54 ;
55
56 obj avx2 : avx2.cpp
57 :
58- <toolset>gcc:<cxxflags>"-mavx -mavx2 -fabi-version=0"
59- <toolset>clang:<cxxflags>"-mavx -mavx2"
60- <toolset>intel-linux:<cxxflags>"-xCORE-AVX2 -fabi-version=0"
61- <toolset>intel-darwin:<cxxflags>"-xCORE-AVX2 -fabi-version=0"
62+ <toolset>gcc:<cxxflags>"-fabi-version=0"
63+ <toolset>clang:<cxxflags>
64+ <toolset>intel-linux:<cxxflags>"-fabi-version=0"
65+ <toolset>intel-darwin:<cxxflags>"-fabi-version=0"
66 <toolset>intel-win:<cxxflags>"/arch:CORE-AVX2"
67 <toolset>msvc:<cxxflags>"/arch:AVX"
68 ;
69diff --git a/libs/log/src/dump_avx2.cpp b/libs/log/src/dump_avx2.cpp
70index 4ab1250..610fc6d 100644
71--- a/libs/log/src/dump_avx2.cpp
72+++ b/libs/log/src/dump_avx2.cpp
73@@ -22,6 +22,10 @@
74 #include <boost/cstdint.hpp>
75 #include <boost/log/detail/header.hpp>
76
77+#if !defined(__AVX2__)
78+#error "AVX2 Unsupported!"
79+#endif
80+
81 #if defined(__x86_64) || defined(__x86_64__) || \
82 defined(__amd64__) || defined(__amd64) || \
83 defined(_M_X64)
84diff --git a/libs/log/src/dump_ssse3.cpp b/libs/log/src/dump_ssse3.cpp
85index 1325b49..60d4112 100644
86--- a/libs/log/src/dump_ssse3.cpp
87+++ b/libs/log/src/dump_ssse3.cpp
88@@ -22,6 +22,10 @@
89 #include <boost/cstdint.hpp>
90 #include <boost/log/detail/header.hpp>
91
92+#if !defined(__SSSE3__)
93+#error "SSSE3 Unsupported!"
94+#endif
95+
96 #if defined(__x86_64) || defined(__x86_64__) || \
97 defined(__amd64__) || defined(__amd64) || \
98 defined(_M_X64)
99--
1002.8.0
diff --git a/meta/recipes-support/boost/boost_1.74.0.bb b/meta/recipes-support/boost/boost_1.75.0.bb
index b01b390a59..33137e236d 100644
--- a/meta/recipes-support/boost/boost_1.74.0.bb
+++ b/meta/recipes-support/boost/boost_1.75.0.bb
@@ -4,7 +4,6 @@ require boost.inc
4SRC_URI += "file://arm-intrinsics.patch \ 4SRC_URI += "file://arm-intrinsics.patch \
5 file://boost-CVE-2012-2677.patch \ 5 file://boost-CVE-2012-2677.patch \
6 file://boost-math-disable-pch-for-gcc.patch \ 6 file://boost-math-disable-pch-for-gcc.patch \
7 file://0001-Apply-boost-1.62.0-no-forced-flags.patch.patch \
8 file://0001-Don-t-set-up-arch-instruction-set-flags-we-do-that-o.patch \ 7 file://0001-Don-t-set-up-arch-instruction-set-flags-we-do-that-o.patch \
9 file://0001-dont-setup-compiler-flags-m32-m64.patch \ 8 file://0001-dont-setup-compiler-flags-m32-m64.patch \
10 file://0001-fiber-libs-Define-SYS_futex-if-it-does-not-exist.patch \ 9 file://0001-fiber-libs-Define-SYS_futex-if-it-does-not-exist.patch \