[all-commits] [llvm/llvm-project] cd24d1: [OpenMP] Fix preprocessor mismatches between inclu...

Peter Arzt via All-commits all-commits at lists.llvm.org
Wed Oct 15 01:59:02 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cd24d108a2c19c23c4ac80b501fa7361963cca3d
      https://github.com/llvm/llvm-project/commit/cd24d108a2c19c23c4ac80b501fa7361963cca3d
  Author: Peter Arzt <peter at arzt-fd.de>
  Date:   2025-10-15 (Wed, 15 Oct 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.



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