Skip to content

Conversation

llvmbot
Copy link
Member

@llvmbot llvmbot commented Oct 16, 2025

Backport cd24d10

Requested by: @pearzt

…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)
@llvmbot
Copy link
Member Author

llvmbot commented Oct 16, 2025

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

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

Status: Needs Review

Development

Successfully merging this pull request may close these issues.

2 participants