[Openmp-commits] [PATCH] D149617: [OpenMP] Make `libomptarget` link against `libomp`

Christian Ulmann via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue May 2 01:20:14 PDT 2023


Dinistro added a comment.

We observed some change in CMake behaviour in the last 24 hours and we suspect that this revision might be the cause of it.
Originality, we used to enable openmp with the `-DLLVM_ENABLE_PROJECTS="....;openmp"` flag, but this now produces the following error:

  CMake Error: install(EXPORT "LLVMExports" ...) includes target "omptarget" which requires target "omp" that is not in any export set.
  CMake Error in cmake/modules/CMakeLists.txt:
     export called with target "omptarget" which requires target "omp" that is
     not in any export set.

Switching to use the `-DLLVM_ENABLE_RUNTIMES="openmp"` seem fix this issue.

I was just wondering if this is intended behaviour.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D149617



More information about the Openmp-commits mailing list