[all-commits] [llvm/llvm-project] 822142: [OpenMP][OMPD] libompd must not link libomp (#83119)

Joachim via All-commits all-commits at lists.llvm.org
Tue Feb 27 07:25:08 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 822142ffdfbe93f213c2c6b3f2aec7fe5f0af072
      https://github.com/llvm/llvm-project/commit/822142ffdfbe93f213c2c6b3f2aec7fe5f0af072
  Author: Joachim <jenke at itc.rwth-aachen.de>
  Date:   2024-02-27 (Tue, 27 Feb 2024)

  Changed paths:
    M openmp/libompd/src/CMakeLists.txt
    M openmp/libompd/src/omp-icv.cpp
    M openmp/runtime/src/kmp.h

  Log Message:
  -----------
  [OpenMP][OMPD] libompd must not link libomp (#83119)

Fixes a regression introduced in 91ccd8248.
The code for libompd includes kmp.h for enum kmp_sched. The dependency
to hwloc is not necessary. Avoid the dependency by skipping the
definitions in kmp.h using types from hwloc.h.

Fixes #80750



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