summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/boost
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/boost')
-rw-r--r--meta/recipes-support/boost/boost-1.88.0.inc (renamed from meta/recipes-support/boost/boost-1.84.0.inc)6
-rw-r--r--meta/recipes-support/boost/boost-build-native_1.87.0.bb (renamed from meta/recipes-support/boost/boost-build-native_1.84.0.bb)6
-rw-r--r--meta/recipes-support/boost/boost.inc21
-rw-r--r--meta/recipes-support/boost/boost/0001-Don-t-set-up-arch-instruction-set-flags-we-do-that-o.patch6
-rw-r--r--meta/recipes-support/boost/boost/0001-dont-setup-compiler-flags-m32-m64.patch12
-rw-r--r--meta/recipes-support/boost/boost/boost-math-disable-pch-for-gcc.patch8
-rw-r--r--meta/recipes-support/boost/boost_1.88.0.bb (renamed from meta/recipes-support/boost/boost_1.84.0.bb)0
7 files changed, 28 insertions, 31 deletions
diff --git a/meta/recipes-support/boost/boost-1.84.0.inc b/meta/recipes-support/boost/boost-1.88.0.inc
index 5bbea2ba5b..96bd986f6a 100644
--- a/meta/recipes-support/boost/boost-1.84.0.inc
+++ b/meta/recipes-support/boost/boost-1.88.0.inc
@@ -11,10 +11,10 @@ BOOST_VER = "${@"_".join(d.getVar("PV").split("."))}"
11BOOST_MAJ = "${@"_".join(d.getVar("PV").split(".")[0:2])}" 11BOOST_MAJ = "${@"_".join(d.getVar("PV").split(".")[0:2])}"
12BOOST_P = "boost_${BOOST_VER}" 12BOOST_P = "boost_${BOOST_VER}"
13 13
14SRC_URI = "https://boostorg.jfrog.io/artifactory/main/release/${PV}/source/${BOOST_P}.tar.bz2" 14SRC_URI = "https://archives.boost.io/release/${PV}/source/${BOOST_P}.tar.bz2"
15SRC_URI[sha256sum] = "cc4b893acf645c9d4b698e9a0f08ca8846aa5d6c68275c14c3e7949c24109454" 15SRC_URI[sha256sum] = "46d9d2c06637b219270877c9e16155cbd015b6dc84349af064c088e9b5b12f7b"
16 16
17UPSTREAM_CHECK_URI = "http://www.boost.org/users/download/" 17UPSTREAM_CHECK_URI = "http://www.boost.org/users/download/"
18UPSTREAM_CHECK_REGEX = "release/(?P<pver>.*)/source/" 18UPSTREAM_CHECK_REGEX = "release/(?P<pver>.*)/source/"
19 19
20S = "${WORKDIR}/${BOOST_P}" 20S = "${UNPACKDIR}/${BOOST_P}"
diff --git a/meta/recipes-support/boost/boost-build-native_1.84.0.bb b/meta/recipes-support/boost/boost-build-native_1.87.0.bb
index a345bac499..5b914b6f88 100644
--- a/meta/recipes-support/boost/boost-build-native_1.84.0.bb
+++ b/meta/recipes-support/boost/boost-build-native_1.87.0.bb
@@ -7,21 +7,19 @@ LICENSE = "BSL-1.0"
7LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e4224ccaecb14d942c71d31bef20d78c" 7LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e4224ccaecb14d942c71d31bef20d78c"
8 8
9SRC_URI = "git://github.com/boostorg/build;protocol=https;branch=master" 9SRC_URI = "git://github.com/boostorg/build;protocol=https;branch=master"
10SRCREV = "8d86b9a85407d73d6e8c631771f18c2a237d2d71" 10SRCREV = "4a52d8c06635435b64e31a56eaf7ca5dc912a71d"
11PE = "1" 11PE = "1"
12 12
13UPSTREAM_CHECK_GITTAGREGEX = "boost-(?P<pver>(\d+(\.\d+)+))" 13UPSTREAM_CHECK_GITTAGREGEX = "boost-(?P<pver>(\d+(\.\d+)+))"
14 14
15inherit native 15inherit native
16 16
17S = "${WORKDIR}/git"
18
19do_compile() { 17do_compile() {
20 ./bootstrap.sh 18 ./bootstrap.sh
21} 19}
22 20
23do_install() { 21do_install() {
24 HOME=/var/run ./b2 install --prefix=${prefix} staging-prefix=${D}${prefix} 22 HOME=/var/run ./b2 install --prefix=${D}${prefix}
25} 23}
26 24
27# The build is either release mode (pre-stripped) or debug (-O0). 25# The build is either release mode (pre-stripped) or debug (-O0).
diff --git a/meta/recipes-support/boost/boost.inc b/meta/recipes-support/boost/boost.inc
index 77105aa1fa..64a57ddfb2 100644
--- a/meta/recipes-support/boost/boost.inc
+++ b/meta/recipes-support/boost/boost.inc
@@ -16,6 +16,7 @@ do_configure[cleandirs] = "${B}"
16 16
17BOOST_LIBS = "\ 17BOOST_LIBS = "\
18 atomic \ 18 atomic \
19 charconv \
19 chrono \ 20 chrono \
20 container \ 21 container \
21 context \ 22 context \
@@ -31,6 +32,7 @@ BOOST_LIBS = "\
31 json \ 32 json \
32 log \ 33 log \
33 math \ 34 math \
35 process \
34 program_options \ 36 program_options \
35 random \ 37 random \
36 regex \ 38 regex \
@@ -42,6 +44,9 @@ BOOST_LIBS = "\
42 type_erasure \ 44 type_erasure \
43 url \ 45 url \
44 wave \ 46 wave \
47 ${@bb.utils.filter('PACKAGECONFIG', 'locale python', d)} \
48 ${@bb.utils.contains('PACKAGECONFIG', 'graph_parallel', 'graph_parallel mpi', \
49 bb.utils.filter('PACKAGECONFIG', 'mpi', d), d)} \
45 " 50 "
46 51
47# optional libraries 52# optional libraries
@@ -51,12 +56,6 @@ PACKAGECONFIG[graph_parallel] = ",,,boost-mpi mpich"
51PACKAGECONFIG[mpi] = ",,mpich" 56PACKAGECONFIG[mpi] = ",,mpich"
52PACKAGECONFIG[python] = ",,python3" 57PACKAGECONFIG[python] = ",,python3"
53 58
54BOOST_LIBS += "\
55 ${@bb.utils.filter('PACKAGECONFIG', 'locale python', d)} \
56 ${@bb.utils.contains('PACKAGECONFIG', 'graph_parallel', 'graph_parallel mpi', \
57 bb.utils.filter('PACKAGECONFIG', 'mpi', d), d)} \
58"
59
60inherit python3-dir 59inherit python3-dir
61PYTHON_ROOT = "${STAGING_DIR_HOST}/${prefix}" 60PYTHON_ROOT = "${STAGING_DIR_HOST}/${prefix}"
62 61
@@ -69,14 +68,12 @@ python __anonymous () {
69 mlprefix = d.getVar("MLPREFIX") 68 mlprefix = d.getVar("MLPREFIX")
70 for lib in d.getVar('BOOST_LIBS').split(): 69 for lib in d.getVar('BOOST_LIBS').split():
71 extras.append("--with-%s" % lib) 70 extras.append("--with-%s" % lib)
72 pkg = "boost-%s" % (lib.replace("_", "-")) 71 pkg = "%s-%s" % (d.getVar("BPN"), lib.replace("_", "-"))
73 if "-native" in pn: 72 if "-native" in pn:
74 pkg = pkg + "-native" 73 pkg = pkg + "-native"
75 packages.append(mlprefix + pkg) 74 packages.append(mlprefix + pkg)
76 if not d.getVar("FILES:%s" % pkg): 75 if not d.getVar("FILES:%s%s" % (mlprefix, pkg)):
77 d.setVar("FILES:%s%s" % (mlprefix, pkg), "${libdir}/libboost_%s*.so.*" % lib) 76 d.setVar("FILES:%s%s" % (mlprefix, pkg), "${libdir}/libboost_%s*.so.*" % lib)
78 else:
79 d.setVar("FILES:%s%s" % (mlprefix, pkg), d.getVar("FILES:%s" % pkg))
80 77
81 d.setVar("BOOST_PACKAGES", " ".join(packages)) 78 d.setVar("BOOST_PACKAGES", " ".join(packages))
82 d.setVar("BJAM_EXTRA", " ".join(extras)) 79 d.setVar("BJAM_EXTRA", " ".join(extras))
@@ -86,9 +83,9 @@ python __anonymous () {
86FILES:${PN}-graph_parallel = "${libdir}/libboost_graph_parallel.so.*" 83FILES:${PN}-graph_parallel = "${libdir}/libboost_graph_parallel.so.*"
87FILES:${PN}-locale = "${libdir}/libboost_locale.so.*" 84FILES:${PN}-locale = "${libdir}/libboost_locale.so.*"
88FILES:${PN}-mpi = "${libdir}/mpi.so ${libdir}/libboost_mpi*.so.*" 85FILES:${PN}-mpi = "${libdir}/mpi.so ${libdir}/libboost_mpi*.so.*"
89FILES:boost-serialization = "${libdir}/libboost_serialization*.so.* \ 86FILES:${PN}-serialization = "${libdir}/libboost_serialization*.so.* \
90 ${libdir}/libboost_wserialization*.so.*" 87 ${libdir}/libboost_wserialization*.so.*"
91FILES:boost-test = "${libdir}/libboost_prg_exec_monitor*.so.* \ 88FILES:${PN}-test = "${libdir}/libboost_prg_exec_monitor*.so.* \
92 ${libdir}/libboost_unit_test_framework*.so.*" 89 ${libdir}/libboost_unit_test_framework*.so.*"
93 90
94# -dev last to pick up the remaining stuff 91# -dev last to pick up the remaining stuff
diff --git a/meta/recipes-support/boost/boost/0001-Don-t-set-up-arch-instruction-set-flags-we-do-that-o.patch b/meta/recipes-support/boost/boost/0001-Don-t-set-up-arch-instruction-set-flags-we-do-that-o.patch
index 9ba5d5cc33..04bede4578 100644
--- a/meta/recipes-support/boost/boost/0001-Don-t-set-up-arch-instruction-set-flags-we-do-that-o.patch
+++ b/meta/recipes-support/boost/boost/0001-Don-t-set-up-arch-instruction-set-flags-we-do-that-o.patch
@@ -1,4 +1,4 @@
1From 18185e939ca121335a6172c8e50872af8122a759 Mon Sep 17 00:00:00 2001 1From e2cc24d6d8b7b24a6d0a30c52c7ad69a001a0ad5 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Tue, 18 Dec 2018 15:42:57 +0100 3Date: Tue, 18 Dec 2018 15:42:57 +0100
4Subject: [PATCH] Don't set up arch/instruction-set flags, we do that 4Subject: [PATCH] Don't set up arch/instruction-set flags, we do that
@@ -13,10 +13,10 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
13 1 file changed, 153 deletions(-) 13 1 file changed, 153 deletions(-)
14 14
15diff --git a/tools/build/src/tools/gcc.jam b/tools/build/src/tools/gcc.jam 15diff --git a/tools/build/src/tools/gcc.jam b/tools/build/src/tools/gcc.jam
16index 834f5e1bf..493a43e6d 100644 16index b7825d4e6..ed7e39baf 100644
17--- a/tools/build/src/tools/gcc.jam 17--- a/tools/build/src/tools/gcc.jam
18+++ b/tools/build/src/tools/gcc.jam 18+++ b/tools/build/src/tools/gcc.jam
19@@ -1113,156 +1113,3 @@ local rule cpu-flags ( toolset variable : architecture : instruction-set + : 19@@ -1144,156 +1144,3 @@ local rule cpu-flags ( toolset variable : architecture : instruction-set + :
20 <architecture>$(architecture)/<instruction-set>$(instruction-set) 20 <architecture>$(architecture)/<instruction-set>$(instruction-set)
21 : $(values) ; 21 : $(values) ;
22 } 22 }
diff --git a/meta/recipes-support/boost/boost/0001-dont-setup-compiler-flags-m32-m64.patch b/meta/recipes-support/boost/boost/0001-dont-setup-compiler-flags-m32-m64.patch
index 913810a340..db1ee03898 100644
--- a/meta/recipes-support/boost/boost/0001-dont-setup-compiler-flags-m32-m64.patch
+++ b/meta/recipes-support/boost/boost/0001-dont-setup-compiler-flags-m32-m64.patch
@@ -1,4 +1,4 @@
1From bbb0845c0a79238fb2e84cca41826a0944b6ce7e Mon Sep 17 00:00:00 2001 1From b0728812241c048907e6f1ba168292cd9948347d Mon Sep 17 00:00:00 2001
2From: Anuj Mittal <anuj.mittal@intel.com> 2From: Anuj Mittal <anuj.mittal@intel.com>
3Date: Thu, 14 Nov 2019 10:13:53 +0800 3Date: Thu, 14 Nov 2019 10:13:53 +0800
4Subject: [PATCH] dont setup compiler flags -m32/-m64 4Subject: [PATCH] dont setup compiler flags -m32/-m64
@@ -9,14 +9,14 @@ Upstream-Status: Inappropriate [OE-specific]
9 9
10Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> 10Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
11--- 11---
12 tools/build/src/tools/gcc.jam | 14 -------------- 12 tools/build/src/tools/gcc.jam | 16 ----------------
13 1 file changed, 14 deletions(-) 13 1 file changed, 16 deletions(-)
14 14
15diff --git a/tools/build/src/tools/gcc.jam b/tools/build/src/tools/gcc.jam 15diff --git a/tools/build/src/tools/gcc.jam b/tools/build/src/tools/gcc.jam
16index 493a43e6d..42dccbdfe 100644 16index ed7e39baf..90513f84a 100644
17--- a/tools/build/src/tools/gcc.jam 17--- a/tools/build/src/tools/gcc.jam
18+++ b/tools/build/src/tools/gcc.jam 18+++ b/tools/build/src/tools/gcc.jam
19@@ -360,20 +360,6 @@ local rule compile-link-flags ( * ) 19@@ -377,22 +377,6 @@ local rule compile-link-flags ( * )
20 compile-link-flags <link>shared/<target-os>$(non-windows) : -fPIC ; 20 compile-link-flags <link>shared/<target-os>$(non-windows) : -fPIC ;
21 } 21 }
22 22
@@ -29,6 +29,8 @@ index 493a43e6d..42dccbdfe 100644
29- compile-link-flags <target-os>hpux/<address-model>64 : -mlp64 ; 29- compile-link-flags <target-os>hpux/<address-model>64 : -mlp64 ;
30- 30-
31- local generic-os = [ set.difference $(all-os) : aix hpux ] ; 31- local generic-os = [ set.difference $(all-os) : aix hpux ] ;
32- compile-link-flags <target-os>$(generic-os)/<architecture>s390x/<address-model>32 : -m31 ;
33- compile-link-flags <target-os>$(generic-os)/<architecture>s390x/<address-model>64 : -m64 ;
32- local arch = power sparc x86 ; 34- local arch = power sparc x86 ;
33- compile-link-flags <target-os>$(generic-os)/<architecture>$(arch)/<address-model>32 : -m32 ; 35- compile-link-flags <target-os>$(generic-os)/<architecture>$(arch)/<address-model>32 : -m32 ;
34- compile-link-flags <target-os>$(generic-os)/<architecture>$(arch)/<address-model>64 : -m64 ; 36- compile-link-flags <target-os>$(generic-os)/<architecture>$(arch)/<address-model>64 : -m64 ;
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
index 9b6fcc6358..ad90d96ddd 100644
--- 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
@@ -1,4 +1,4 @@
1From d6864bd78c01c5e8578805a7b67555c70a0e99a2 Mon Sep 17 00:00:00 2001 1From e7491f9874411fd9855957812ba9bac948a61356 Mon Sep 17 00:00:00 2001
2From: Jackie Huang <jackie.huang@windriver.com> 2From: Jackie Huang <jackie.huang@windriver.com>
3Date: Fri, 23 Sep 2016 01:04:50 -0700 3Date: Fri, 23 Sep 2016 01:04:50 -0700
4Subject: [PATCH] boost-math: disable pch for gcc 4Subject: [PATCH] boost-math: disable pch for gcc
@@ -14,13 +14,13 @@ Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
14 1 file changed, 1 insertion(+), 1 deletion(-) 14 1 file changed, 1 insertion(+), 1 deletion(-)
15 15
16diff --git a/libs/math/build/Jamfile.v2 b/libs/math/build/Jamfile.v2 16diff --git a/libs/math/build/Jamfile.v2 b/libs/math/build/Jamfile.v2
17index fd840287e..5aff7d724 100644 17index 500c77363..504d7d8c6 100644
18--- a/libs/math/build/Jamfile.v2 18--- a/libs/math/build/Jamfile.v2
19+++ b/libs/math/build/Jamfile.v2 19+++ b/libs/math/build/Jamfile.v2
20@@ -14,7 +14,7 @@ project 20@@ -15,7 +15,7 @@ project
21 <toolset>intel-win:<linkflags>-nologo
21 #<toolset>intel-linux:<pch>off 22 #<toolset>intel-linux:<pch>off
22 <toolset>intel-darwin:<pch>off 23 <toolset>intel-darwin:<pch>off
23 <toolset>msvc-7.1:<pch>off
24- <toolset>gcc,<target-os>windows:<pch>off 24- <toolset>gcc,<target-os>windows:<pch>off
25+ <toolset>gcc:<pch>off 25+ <toolset>gcc:<pch>off
26 #<toolset>gcc:<cxxflags>-fvisibility=hidden 26 #<toolset>gcc:<cxxflags>-fvisibility=hidden
diff --git a/meta/recipes-support/boost/boost_1.84.0.bb b/meta/recipes-support/boost/boost_1.88.0.bb
index 4b580d078b..4b580d078b 100644
--- a/meta/recipes-support/boost/boost_1.84.0.bb
+++ b/meta/recipes-support/boost/boost_1.88.0.bb