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

Fix C++ Atomic support check #2126

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

luhenry
Copy link
Contributor

@luhenry luhenry commented Jan 15, 2024

Some platforms need libatomic linked for sub-word operations while others need it for super-word operations. Let's make sure we test for all.

Relates to #1907

Some platforms need libatomic linked for sub-word operations while
others need it for super-word operations. Let's make sure we test for
all.
@barracuda156
Copy link

@luhenry Thank you for addressing this!

Copy link

@barracuda156 barracuda156 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe also modify a comment at line 184:

# Using clang with libstdc++ requires explicitly linking against libatomic

To something like:

# Using clang with libstdc++ requires explicitly linking against libatomic.
# gcc requires explicit linking against libatomic on some platforms.

@facebook-github-bot
Copy link
Contributor

@Orvid has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants