]> code.ossystems Code Review - openembedded-core.git/commit
boost: Fix build on arches with no atomics
authorKhem Raj <raj.khem@gmail.com>
Thu, 2 Dec 2021 05:12:01 +0000 (21:12 -0800)
committerAnuj Mittal <anuj.mittal@intel.com>
Tue, 7 Dec 2021 06:57:09 +0000 (14:57 +0800)
commitaaaf763acfca236654e299d3be6a9484355e3be9
treeb9598da986422d681c3130d873fb906f1e8dc8dc
parent8d622afe96b67133f519fc888ff03222162f20f9
boost: Fix build on arches with no atomics

1.77 is broken on architectures which dont have lockfree atomics e.g.
armv5 [1], backport relevant fixes from upstream to unbreak the build

[1] https://github.com/boostorg/math/issues/673

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 57dc797712abcf83b63694b21d2b3a3f09b1c9bc)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
meta/recipes-support/boost/boost/0002-math-allow-definition-of-boost_math_no_atomic_int-on-the-command-line.patch [new file with mode: 0644]
meta/recipes-support/boost/boost/0003-math-make-no-atomics-a-soft-failure-in-bernoulli_details_hpp.patch [new file with mode: 0644]
meta/recipes-support/boost/boost_1.77.0.bb