[Openmp-commits] [openmp] [openmp][testing] disable check targets if not building with clang (PR #71866)

Shilei Tian via Openmp-commits openmp-commits at lists.llvm.org
Fri Nov 10 11:41:47 PST 2023


shiltian wrote:

> @shiltian is there a way no exported target is [created during standalone build](https://github.com/llvm/llvm-project/blob/daef6d327aa3c952c91e54a22de4be1db191f911/openmp/runtime/src/CMakeLists.txt#L359)?
> 
> ```
> if (NOT OPENMP_STANDALONE_BUILD)
>   get_target_export_arg(omp LLVM export_to_llvmexports)
>   set_property(GLOBAL APPEND PROPERTY LLVM_EXPORTS omp)
> endif()
> ```
> 
> I tried removing the `NOT` just now and it seems to work fine?

AFAIK, the issue only exists on macOS. I didn't see that on either Windows or Linux. In standalone build, we don't need to export `omp` to LLVM.

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


More information about the Openmp-commits mailing list