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

CI: test libatomic #1784

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

CI: test libatomic #1784

wants to merge 3 commits into from

Conversation

neheb
Copy link
Collaborator

@neheb neheb commented Nov 14, 2024

No description provided.

Under some platforms, libatomic is needed to be linked to use
std::atomic or C atomics. This seems to be a way to test this.

Signed-off-by: Rosen Penev <[email protected]>
Increase test coverage to extra architectures. Because most of these use
QEMU, they are really slow. Thus, limit to sanity_checks.

Signed-off-by: Rosen Penev <[email protected]>
It seems __sync_synchronize does not need libatomic.

Test __atomic_is_lock_free instead.

Signed-off-by: Rosen Penev <[email protected]>
@neheb
Copy link
Collaborator Author

neheb commented Nov 14, 2024

actually it's enough to switch Alpine from x64 to x86 and g++ to clang to test atomic.

@bgilbert what do you think?

@neheb
Copy link
Collaborator Author

neheb commented Nov 14, 2024

huh, PPC errors in abseil-cpp:

#error Must implement UnscaledCycleClock::Frequency()

Very interesting.

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