[Openmp-commits] [PATCH] D93055: [OpenMP] Add time profiling for libomptarget

Kelvin Li via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Fri Jan 22 15:25:45 PST 2021


kkwli0 added a comment.

In D93055#2516351 <https://reviews.llvm.org/D93055#2516351>, @vzakhari wrote:

> FYI, `libomptarget` LIT tests fail with profiling enabled in shared-libs builds, because `libLLVMSupport.so.12git` dependency cannot be resolved.  Apparently, `LD_LIBRARY_PATH` is only set to `<build>/llvm/projects/openmp/libomptarget`, which obviously does not contain the support library.

@vzakhari Is it an out-of-tree build?  If it is, you need to set `LIBOMPTARGET_OPENMP_HEADER_FOLDER` and `DLIBOMPTARGET_OPENMP_HOST_RTL_FOLDER` (https://github.com/llvm/llvm-project/tree/main/openmp#id11).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D93055



More information about the Openmp-commits mailing list