[Openmp-commits] [PATCH] D96187: [OpenMP] Fix libomptarget tests to find libomp

Joel E. Denny via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Fri Feb 5 17:42:06 PST 2021


jdenny updated this revision to Diff 321904.
jdenny edited the summary of this revision.
jdenny added a comment.
Herald added a subscriber: mgorny.

Set `LIBOMPTARGET_OPENMP_HOST_RTL_FOLDER` for non-standalone builds.


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

https://reviews.llvm.org/D96187

Files:
  openmp/libomptarget/CMakeLists.txt


Index: openmp/libomptarget/CMakeLists.txt
===================================================================
--- openmp/libomptarget/CMakeLists.txt
+++ openmp/libomptarget/CMakeLists.txt
@@ -75,6 +75,7 @@
     "Path to folder containing libomp.so")
 else()
   set(LIBOMPTARGET_OPENMP_HEADER_FOLDER "${CMAKE_CURRENT_BINARY_DIR}/../runtime/src")
+  set(LIBOMPTARGET_OPENMP_HOST_RTL_FOLDER "${LIBOMP_LIBRARY_DIR}")
 endif()
 
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96187.321904.patch
Type: text/x-patch
Size: 426 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20210206/f660ddf5/attachment.bin>


More information about the Openmp-commits mailing list