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

Expand std::atomic feature tests to include compare_exchange, fetch_add, etc. #1315

Merged
merged 1 commit into from
Nov 4, 2024

Conversation

msimberg
Copy link
Contributor

@msimberg msimberg commented Nov 4, 2024

Needed for #1314.

…dd, etc.

E.g. clang 18 with libstdc++ 14 can do loads and stores of 128-bit atomics without libatomic, but
can't do compare_exchange without libatomic. libatomic does not seem to support 128-bit
fetch_add/sub, but we don't need it so leave it out of the 128-bit feature test.
@msimberg msimberg added this to the 0.30.0 milestone Nov 4, 2024
@msimberg msimberg self-assigned this Nov 4, 2024
Copy link

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
-0.19% (target: -1.00%) (target: 90.00%)
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (5646a76) 18282 13819 75.59%
Head commit (04f9d59) 18282 (+0) 13785 (-34) 75.40% (-0.19%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#1315) 0 0 ∅ (not applicable)

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

Codacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more

@msimberg msimberg merged commit e3d64a6 into pika-org:main Nov 4, 2024
32 of 35 checks passed
@msimberg msimberg deleted the better-atomic-feature-test branch November 4, 2024 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Archive
Development

Successfully merging this pull request may close these issues.

1 participant