diff options
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.inc | 21 | ||||
-rw-r--r-- | meta/recipes-support/boost/boost/0001-Don-t-set-up-arch-instruction-set-flags-we-do-that-o.patch | 6 | ||||
-rw-r--r-- | meta/recipes-support/boost/boost/0001-dont-setup-compiler-flags-m32-m64.patch | 12 | ||||
-rw-r--r-- | meta/recipes-support/boost/boost/boost-math-disable-pch-for-gcc.patch | 8 | ||||
-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("."))}" | |||
11 | BOOST_MAJ = "${@"_".join(d.getVar("PV").split(".")[0:2])}" | 11 | BOOST_MAJ = "${@"_".join(d.getVar("PV").split(".")[0:2])}" |
12 | BOOST_P = "boost_${BOOST_VER}" | 12 | BOOST_P = "boost_${BOOST_VER}" |
13 | 13 | ||
14 | SRC_URI = "https://boostorg.jfrog.io/artifactory/main/release/${PV}/source/${BOOST_P}.tar.bz2" | 14 | SRC_URI = "https://archives.boost.io/release/${PV}/source/${BOOST_P}.tar.bz2" |
15 | SRC_URI[sha256sum] = "cc4b893acf645c9d4b698e9a0f08ca8846aa5d6c68275c14c3e7949c24109454" | 15 | SRC_URI[sha256sum] = "46d9d2c06637b219270877c9e16155cbd015b6dc84349af064c088e9b5b12f7b" |
16 | 16 | ||
17 | UPSTREAM_CHECK_URI = "http://www.boost.org/users/download/" | 17 | UPSTREAM_CHECK_URI = "http://www.boost.org/users/download/" |
18 | UPSTREAM_CHECK_REGEX = "release/(?P<pver>.*)/source/" | 18 | UPSTREAM_CHECK_REGEX = "release/(?P<pver>.*)/source/" |
19 | 19 | ||
20 | S = "${WORKDIR}/${BOOST_P}" | 20 | S = "${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" | |||
7 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e4224ccaecb14d942c71d31bef20d78c" | 7 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=e4224ccaecb14d942c71d31bef20d78c" |
8 | 8 | ||
9 | SRC_URI = "git://github.com/boostorg/build;protocol=https;branch=master" | 9 | SRC_URI = "git://github.com/boostorg/build;protocol=https;branch=master" |
10 | SRCREV = "8d86b9a85407d73d6e8c631771f18c2a237d2d71" | 10 | SRCREV = "4a52d8c06635435b64e31a56eaf7ca5dc912a71d" |
11 | PE = "1" | 11 | PE = "1" |
12 | 12 | ||
13 | UPSTREAM_CHECK_GITTAGREGEX = "boost-(?P<pver>(\d+(\.\d+)+))" | 13 | UPSTREAM_CHECK_GITTAGREGEX = "boost-(?P<pver>(\d+(\.\d+)+))" |
14 | 14 | ||
15 | inherit native | 15 | inherit native |
16 | 16 | ||
17 | S = "${WORKDIR}/git" | ||
18 | |||
19 | do_compile() { | 17 | do_compile() { |
20 | ./bootstrap.sh | 18 | ./bootstrap.sh |
21 | } | 19 | } |
22 | 20 | ||
23 | do_install() { | 21 | do_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 | ||
17 | BOOST_LIBS = "\ | 17 | BOOST_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" | |||
51 | PACKAGECONFIG[mpi] = ",,mpich" | 56 | PACKAGECONFIG[mpi] = ",,mpich" |
52 | PACKAGECONFIG[python] = ",,python3" | 57 | PACKAGECONFIG[python] = ",,python3" |
53 | 58 | ||
54 | BOOST_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 | |||
60 | inherit python3-dir | 59 | inherit python3-dir |
61 | PYTHON_ROOT = "${STAGING_DIR_HOST}/${prefix}" | 60 | PYTHON_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 () { | |||
86 | FILES:${PN}-graph_parallel = "${libdir}/libboost_graph_parallel.so.*" | 83 | FILES:${PN}-graph_parallel = "${libdir}/libboost_graph_parallel.so.*" |
87 | FILES:${PN}-locale = "${libdir}/libboost_locale.so.*" | 84 | FILES:${PN}-locale = "${libdir}/libboost_locale.so.*" |
88 | FILES:${PN}-mpi = "${libdir}/mpi.so ${libdir}/libboost_mpi*.so.*" | 85 | FILES:${PN}-mpi = "${libdir}/mpi.so ${libdir}/libboost_mpi*.so.*" |
89 | FILES:boost-serialization = "${libdir}/libboost_serialization*.so.* \ | 86 | FILES:${PN}-serialization = "${libdir}/libboost_serialization*.so.* \ |
90 | ${libdir}/libboost_wserialization*.so.*" | 87 | ${libdir}/libboost_wserialization*.so.*" |
91 | FILES:boost-test = "${libdir}/libboost_prg_exec_monitor*.so.* \ | 88 | FILES:${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 @@ | |||
1 | From 18185e939ca121335a6172c8e50872af8122a759 Mon Sep 17 00:00:00 2001 | 1 | From e2cc24d6d8b7b24a6d0a30c52c7ad69a001a0ad5 Mon Sep 17 00:00:00 2001 |
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
3 | Date: Tue, 18 Dec 2018 15:42:57 +0100 | 3 | Date: Tue, 18 Dec 2018 15:42:57 +0100 |
4 | Subject: [PATCH] Don't set up arch/instruction-set flags, we do that | 4 | Subject: [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 | ||
15 | diff --git a/tools/build/src/tools/gcc.jam b/tools/build/src/tools/gcc.jam | 15 | diff --git a/tools/build/src/tools/gcc.jam b/tools/build/src/tools/gcc.jam |
16 | index 834f5e1bf..493a43e6d 100644 | 16 | index 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 @@ | |||
1 | From bbb0845c0a79238fb2e84cca41826a0944b6ce7e Mon Sep 17 00:00:00 2001 | 1 | From b0728812241c048907e6f1ba168292cd9948347d Mon Sep 17 00:00:00 2001 |
2 | From: Anuj Mittal <anuj.mittal@intel.com> | 2 | From: Anuj Mittal <anuj.mittal@intel.com> |
3 | Date: Thu, 14 Nov 2019 10:13:53 +0800 | 3 | Date: Thu, 14 Nov 2019 10:13:53 +0800 |
4 | Subject: [PATCH] dont setup compiler flags -m32/-m64 | 4 | Subject: [PATCH] dont setup compiler flags -m32/-m64 |
@@ -9,14 +9,14 @@ Upstream-Status: Inappropriate [OE-specific] | |||
9 | 9 | ||
10 | Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> | 10 | Signed-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 | ||
15 | diff --git a/tools/build/src/tools/gcc.jam b/tools/build/src/tools/gcc.jam | 15 | diff --git a/tools/build/src/tools/gcc.jam b/tools/build/src/tools/gcc.jam |
16 | index 493a43e6d..42dccbdfe 100644 | 16 | index 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 @@ | |||
1 | From d6864bd78c01c5e8578805a7b67555c70a0e99a2 Mon Sep 17 00:00:00 2001 | 1 | From e7491f9874411fd9855957812ba9bac948a61356 Mon Sep 17 00:00:00 2001 |
2 | From: Jackie Huang <jackie.huang@windriver.com> | 2 | From: Jackie Huang <jackie.huang@windriver.com> |
3 | Date: Fri, 23 Sep 2016 01:04:50 -0700 | 3 | Date: Fri, 23 Sep 2016 01:04:50 -0700 |
4 | Subject: [PATCH] boost-math: disable pch for gcc | 4 | Subject: [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 | ||
16 | diff --git a/libs/math/build/Jamfile.v2 b/libs/math/build/Jamfile.v2 | 16 | diff --git a/libs/math/build/Jamfile.v2 b/libs/math/build/Jamfile.v2 |
17 | index fd840287e..5aff7d724 100644 | 17 | index 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 | |||