[llvm] [openmp] [OpenMP][Offload] Support standalone build (PR #88957)

via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 17 07:27:35 PDT 2024


================
@@ -0,0 +1,51 @@
+# Check if OMPT support is available
+# Currently, __builtin_frame_address() is required for OMPT
+# Weak attribute is required for Unices (except Darwin), LIBPSAPI is used for Windows
+if(NOT LIBOMP_ARCH)
----------------
estewart08 wrote:

At first thought this could work. If the ompt header is found offload standalone would set the OMPT support to ON. This would allow us to drop the majority of this top level cmake module. Then that makes the argument for removing it entirely and just put `LIBOMP_HAVE_VERSION_SCRIPT_FLAG` and `pythonize_bool` directly into offload/CMakeLists.txt.

https://github.com/llvm/llvm-project/pull/88957


More information about the llvm-commits mailing list