[Openmp-commits] [PATCH] D122667: llvm14 patch: hwloc include directory for libompd
John Ericson via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Wed Mar 30 10:06:33 PDT 2022
Ericson2314 added a comment.
Looks like `kmp,h` is not installed. OK this will call for something fancier.
Look for `add_custom_target(libomp-needed-headers`
My suggestion would be to
1. make `add_custom_target(libomp-kmp-headers)`
2. `target_include_directories(libomp-kmp-headers ${LIBOMP_HWLOC_INSTALL_DIR}/include PUBLIC)`
3. make `ompd` and `omp` depend on `libomp-kmp-headers` PRIVATRELY
good luck!
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