Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide graceful failure for Bernoulli code on platforms with no atomics. #684

Merged
merged 5 commits into from
Sep 6, 2021

Conversation

jzmaddock
Copy link
Collaborator

See #673

Allows us to test/emulate platforms with no atomic integers.
Include an "escape macro" so thread safety can be disabled if certain bernoulli features are to be used in a no-atomics environment.
Fixes #673.
@jzmaddock jzmaddock merged commit 455b88c into develop Sep 6, 2021
@NAThompson NAThompson deleted the no_atomic_bernoulli branch September 6, 2021 16:57
ClaymorePT added a commit to ClaymorePT/packages that referenced this pull request Sep 8, 2021
This commit adds a new patch which fixes build issue with Boost.Math.
Issue is described in upstream PR boostorg/math#684 [1]

[1]: boostorg/math#684

Signed-off-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>
neheb pushed a commit to openwrt/packages that referenced this pull request Sep 9, 2021
This commit adds a new patch which fixes build issue with Boost.Math.
Issue is described in upstream PR boostorg/math#684 [1]

[1]: boostorg/math#684

Signed-off-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>
1715173329 pushed a commit to immortalwrt/packages that referenced this pull request Sep 10, 2021
This commit adds a new patch which fixes build issue with Boost.Math.
Issue is described in upstream PR boostorg/math#684 [1]

[1]: boostorg/math#684

Signed-off-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
buildroot-auto-update pushed a commit to buildroot/buildroot that referenced this pull request Sep 12, 2021
Boost 1.77.0 broke the build of the math component on architectures
without lockfree atomics. This was reported in [0].

This patch adds the relevant patches from the upstream patchset[1] which fix the build
and removes the dependency on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS

[0] boostorg/math#673
[1] boostorg/math#684

Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Beginner-Go pushed a commit to coolsnowwolf/packages that referenced this pull request Dec 30, 2021
This commit adds a new patch which fixes build issue with Boost.Math.
Issue is described in upstream PR boostorg/math#684 [1]

[1]: boostorg/math#684

Signed-off-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>
utoni pushed a commit to utoni/openwrt-packages that referenced this pull request Jan 21, 2022
This commit adds a new patch which fixes build issue with Boost.Math.
Issue is described in upstream PR boostorg/math#684 [1]

[1]: boostorg/math#684

Signed-off-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>
graysky2 pushed a commit to graysky2/packages that referenced this pull request Feb 3, 2022
This commit adds a new patch which fixes build issue with Boost.Math.
Issue is described in upstream PR boostorg/math#684 [1]

[1]: boostorg/math#684

Signed-off-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>
graysky2 pushed a commit to graysky2/packages that referenced this pull request Feb 6, 2022
This commit adds a new patch which fixes build issue with Boost.Math.
Issue is described in upstream PR boostorg/math#684 [1]

[1]: boostorg/math#684

Signed-off-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>
breakings pushed a commit to breakings/packages that referenced this pull request Apr 28, 2022
This commit adds a new patch which fixes build issue with Boost.Math.
Issue is described in upstream PR boostorg/math#684 [1]

[1]: boostorg/math#684

Signed-off-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>
Beginner-Go pushed a commit to coolsnowwolf/packages that referenced this pull request Apr 28, 2022
* boost: fix compilation error under SPARC

Missing braces.

Signed-off-by: Rosen Penev <rosenp@gmail.com>

* boost: Bump to version 1.77.0

This commit updates boost to version 1.77.0
More info about Boost 1.77.0 can be found at the usual place [1].

There are two new libraries in this version:
* Describe [2]: A C++14 reflection library, from Peter Dimov. Provides
macros for describing enumerators and struct/class members, and
primitives for querying this information.
* Lambda2 [3]: A C++14, dependency-free, single header lambda library, from
Peter Dimov. Allows simple function objects to be constructed via
expressions such as:
_1 + 5, _1 % 2 == 0, _1 > _2, or _1 == ' ' || _1 == '\t'.

[1]: https://www.boost.org/users/history/version_1_77_0.html
[2]: https://www.boost.org/libs/describe/
[3]: https://www.boost.org/libs/lambda2/

Signed-off-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>

* boost: Fixes Boost.Math build for arm_xscale

This commit adds a new patch which fixes build issue with Boost.Math.
Issue is described in upstream PR boostorg/math#684 [1]

[1]: boostorg/math#684

Signed-off-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>

* boost: Bump to version 1.78.0

This commit updates boost to version 1.78.0
More info about Boost 1.78.0 can be found at the usual place [1].

No new libraries have been added.

[1]: https://www.boost.org/users/history/version_1_78_0.html

Signed-off-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>

* boost: fix libboost_context for mips64

There was an upstream patch that changes mips1 to mips.

Signed-off-by: Rosen Penev <rosenp@gmail.com>

* boost: Updates package to version 1.79.0

This commit updates boost to version 1.79.0

There are no new libraries in this version

More info about Boost 1.79.0 can be found at the usual place [1].

Note: This package update includes a fix merged to Boost.JSON in [2]
which did not make into this version.

[1]: https://www.boost.org/users/history/version_1_79_0.html
[2]: boostorg/json#692

Signed-off-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>

Co-authored-by: Rosen Penev <rosenp@gmail.com>
Co-authored-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>
utoni pushed a commit to utoni/openwrt-packages that referenced this pull request May 30, 2022
This commit adds a new patch which fixes build issue with Boost.Math.
Issue is described in upstream PR boostorg/math#684 [1]

[1]: boostorg/math#684

Signed-off-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>
ineedfat pushed a commit to ineedfat/rockchip_rk3568_openwrt_packages that referenced this pull request Jun 7, 2024
* boost: fix compilation error under SPARC

Missing braces.

Signed-off-by: Rosen Penev <rosenp@gmail.com>

* boost: Bump to version 1.77.0

This commit updates boost to version 1.77.0
More info about Boost 1.77.0 can be found at the usual place [1].

There are two new libraries in this version:
* Describe [2]: A C++14 reflection library, from Peter Dimov. Provides
macros for describing enumerators and struct/class members, and
primitives for querying this information.
* Lambda2 [3]: A C++14, dependency-free, single header lambda library, from
Peter Dimov. Allows simple function objects to be constructed via
expressions such as:
_1 + 5, _1 % 2 == 0, _1 > _2, or _1 == ' ' || _1 == '\t'.

[1]: https://www.boost.org/users/history/version_1_77_0.html
[2]: https://www.boost.org/libs/describe/
[3]: https://www.boost.org/libs/lambda2/

Signed-off-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>

* boost: Fixes Boost.Math build for arm_xscale

This commit adds a new patch which fixes build issue with Boost.Math.
Issue is described in upstream PR boostorg/math#684 [1]

[1]: boostorg/math#684

Signed-off-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>

* boost: Bump to version 1.78.0

This commit updates boost to version 1.78.0
More info about Boost 1.78.0 can be found at the usual place [1].

No new libraries have been added.

[1]: https://www.boost.org/users/history/version_1_78_0.html

Signed-off-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>

* boost: fix libboost_context for mips64

There was an upstream patch that changes mips1 to mips.

Signed-off-by: Rosen Penev <rosenp@gmail.com>

* boost: Updates package to version 1.79.0

This commit updates boost to version 1.79.0

There are no new libraries in this version

More info about Boost 1.79.0 can be found at the usual place [1].

Note: This package update includes a fix merged to Boost.JSON in [2]
which did not make into this version.

[1]: https://www.boost.org/users/history/version_1_79_0.html
[2]: boostorg/json#692

Signed-off-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>

Co-authored-by: Rosen Penev <rosenp@gmail.com>
Co-authored-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant