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

Link against libatomic if needed #95

Merged
merged 2 commits into from
Dec 18, 2020

Conversation

roehling
Copy link
Contributor

Some architectures such as RISC-V have only limited support for atomic
operations and need the GCC atomic helper library for
compare_exchange_strong() to work.

This PR adds a config-time test to check if libatomic is required and
links against it if yes.

Some architectures such as RISC-V have only limited support for atomic
operations and need the GCC atomic helper library for
compare_exchange_strong() to work.

This PR adds a config-time test to check if libatomic is required and
links against it if yes.
@codecov
Copy link

codecov bot commented Dec 10, 2020

Codecov Report

Merging #95 (08b9947) into master (ac7412a) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #95   +/-   ##
=======================================
  Coverage   70.14%   70.14%           
=======================================
  Files          83       83           
  Lines        4217     4217           
=======================================
  Hits         2958     2958           
  Misses       1259     1259           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ac7412a...08b9947. Read the comment docs.

@foonathan foonathan merged commit bab692e into foonathan:master Dec 18, 2020
@foonathan
Copy link
Owner

Thanks.

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.

2 participants