[Openmp-commits] [PATCH] D122667: llvm14 patch: hwloc include directory for libompd

Sajid Ali via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Mar 30 09:52:44 PDT 2022


s-sajid-ali updated this revision to Diff 419188.
s-sajid-ali added a comment.

Address reviewer comments: include target name.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D122667/new/

https://reviews.llvm.org/D122667

Files:
  openmp/runtime/src/CMakeLists.txt


Index: openmp/runtime/src/CMakeLists.txt
===================================================================
--- openmp/runtime/src/CMakeLists.txt
+++ openmp/runtime/src/CMakeLists.txt
@@ -47,7 +47,7 @@
   ${LIBOMP_SRC_DIR}/thirdparty/ittnotify
 )
 if(${LIBOMP_USE_HWLOC})
-  include_directories(${LIBOMP_HWLOC_INSTALL_DIR}/include)
+  target_include_directories(omp ${LIBOMP_HWLOC_INSTALL_DIR}/include PUBLIC)
 endif()

 # Building with time profiling support requires LLVM directory includes.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122667.419188.patch
Type: text/x-patch
Size: 495 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20220330/7674d45b/attachment.bin>


More information about the Openmp-commits mailing list