[Openmp-commits] [PATCH] D122667: llvm14 patch: hwloc include directory for libompd
Andrey Churbanov via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Wed Mar 30 10:33:51 PDT 2022
AndreyChurbanov added a comment.
In D122667#3417163 <https://reviews.llvm.org/D122667#3417163>, @AndreyChurbanov wrote:
> The kmp.h is not installed, it is used only for library build. And hwloc library is used by libomp dynamically only if it is accessible at runtime, it is not "linked" with libomp.
Sorry, I was in a hurry:(. Looks like the libomp depends on libhwloc when LIBOMP_USE_HWLOC is true. So @tianshilei is right, we would better use `target_link_libraries`. Only I am not sure it worth doing in this patch.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122667/new/
https://reviews.llvm.org/D122667
More information about the Openmp-commits
mailing list