[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


================
@@ -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)
----------------
jhuber6 wrote:

Isn't there some header that's only built if we have OMPT support? Presumably the presence of that would indicate that whoever built OpenMP had OMPT support, or we could just make it an option, there's no explicit need for this to be automatically detected since a standalone build is supposed to be manual.

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


More information about the Openmp-commits mailing list