[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 11:00:49 PDT 2022


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

Adopt the simple approach (as suggested by @AndreyChurbanov) to fix the bug for now. Perhaps someone with more extensive knowledge of LLVM's OpenMP implementation and CMake can perform a more comprehensive fix in the future.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D122667

Files:
  openmp/libompd/src/CMakeLists.txt


Index: openmp/libompd/src/CMakeLists.txt
===================================================================
--- openmp/libompd/src/CMakeLists.txt
+++ openmp/libompd/src/CMakeLists.txt
@@ -44,6 +44,10 @@
         ${LIBOMP_SRC_DIR}
 )

+if(${LIBOMP_USE_HWLOC})
+  include_directories(${LIBOMP_HWLOC_INSTALL_DIR}/include)
+endif()
+
 INSTALL( TARGETS ompd
         LIBRARY DESTINATION ${OPENMP_INSTALL_LIBDIR}
         ARCHIVE DESTINATION ${OPENMP_INSTALL_LIBDIR}


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


More information about the Openmp-commits mailing list