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 with -latomic if needed #109

Merged
merged 1 commit into from
May 7, 2021
Merged

link with -latomic if needed #109

merged 1 commit into from
May 7, 2021

Conversation

ffontaine
Copy link
Contributor

numactl unconditionally uses __atomic_fetch_and but some architectures (e.g. sparc) needs to link with -latomic to be able to use it. So check if -latomic is needed and update numa.pc accordingly

Signed-off-by: Fabrice Fontaine fontaine.fabrice@gmail.com

numactl unconditionally uses __atomic_fetch_and but some architectures
(e.g. sparc) needs to link with -latomic to be able to use it. So check
if -latomic is needed and update numa.pc accordingly

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
@andikleen andikleen merged commit e0de0d9 into numactl:master May 7, 2021
@andikleen
Copy link
Contributor

Looks good. 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