Skip to content

Conversation

@llvmbot
Copy link
Member

@llvmbot llvmbot commented Oct 16, 2025

Backport cd24d10

Requested by: @pearzt

@llvmbot
Copy link
Member Author

llvmbot commented Oct 16, 2025

@mjklemm What do you think about merging this PR to the release branch?

@mjklemm
Copy link
Contributor

mjklemm commented Oct 30, 2025

@pearzt Does this fix a critical error so that a backport is warranted?

@pearzt
Copy link
Contributor

pearzt commented Oct 30, 2025

@mjklemm I wouldn't call it critical, but it fixes a build error on Darwin without touching any functionality. Without a backport, all upcoming v21.x releases would be affected. If this doesn't qualify it for a backport, I'm fine with closing this.

Copy link
Contributor

@mjklemm mjklemm left a comment

Choose a reason for hiding this comment

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

LGTM

…loc (llvm#158349)

Fix llvm#156679

There is a mismatch between the preprocessor guards around the include
of `hwloc.h` and those protecting its usages, leading to build failures
on Darwin: spack/spack-packages#1212

This change introduces `KMP_HWLOC_ENABLED` that reflects
whether hwloc is actually used.

(cherry picked from commit cd24d10)
@c-rhodes c-rhodes merged commit 8e2cd28 into llvm:release/21.x Nov 3, 2025
1 check was pending
@github-project-automation github-project-automation bot moved this from Needs Review to Done in LLVM Release Status Nov 3, 2025
@github-actions
Copy link

github-actions bot commented Nov 3, 2025

@pearzt (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a one or two sentence description of the fix. When you are done, please add the release:note label to this PR.

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

Labels

openmp:libomp OpenMP host runtime

Projects

Development

Successfully merging this pull request may close these issues.

4 participants