[Openmp-commits] [llvm] [openmp] [OpenMP][Offload] Support standalone build (PR #88957)
Joseph Huber via Openmp-commits
openmp-commits at lists.llvm.org
Wed Apr 17 06:17:02 PDT 2024
================
@@ -190,6 +198,10 @@ if (LIBOMPTARGET_USE_LTO)
list(APPEND offload_link_flags ${CMAKE_CXX_COMPILE_OPTIONS_IPO})
endif()
+# Set LIBOMP_HAVE_OMPT_SUPPORT and LIBOMP_HAVE_VERSION_SCRIPT_FLAG using common offload/openmp cmake module.
+list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../openmp/runtime/cmake")
+include(OffloadOpenmpCommon)
----------------
jhuber6 wrote:
Again, we're assuming that this is in an LLVM directory despite the fact that this is supposed to be "standalone".
https://github.com/llvm/llvm-project/pull/88957
More information about the Openmp-commits
mailing list