[all-commits] [llvm/llvm-project] 8e2cd2: [OpenMP] Fix preprocessor mismatches between inclu...
Peter Arzt via All-commits
all-commits at lists.llvm.org
Mon Nov 3 01:36:12 PST 2025
Branch: refs/heads/release/21.x
Home: https://github.com/llvm/llvm-project
Commit: 8e2cd28cd4ba46613a46467b0c91b1cabead26cd
https://github.com/llvm/llvm-project/commit/8e2cd28cd4ba46613a46467b0c91b1cabead26cd
Author: Peter Arzt <peter at arzt-fd.de>
Date: 2025-11-03 (Mon, 03 Nov 2025)
Changed paths:
M openmp/runtime/src/kmp.h
M openmp/runtime/src/kmp_affinity.cpp
M openmp/runtime/src/kmp_affinity.h
M openmp/runtime/src/kmp_alloc.cpp
M openmp/runtime/src/kmp_dispatch.h
M openmp/runtime/src/kmp_global.cpp
M openmp/runtime/src/kmp_settings.cpp
Log Message:
-----------
[OpenMP] Fix preprocessor mismatches between include and usages of hwloc (#158349)
Fix https://github.com/llvm/llvm-project/issues/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: https://github.com/spack/spack-packages/pull/1212
This change introduces `KMP_HWLOC_ENABLED` that reflects
whether hwloc is actually used.
(cherry picked from commit cd24d108a2c19c23c4ac80b501fa7361963cca3d)
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list