[OpenMP][Libomptarget] Fix check-libomptarget
authorGiorgis Georgakoudis <georgakoudis1@llnl.gov>
Mon, 25 Jan 2021 17:48:12 +0000 (09:48 -0800)
committerGiorgis Georgakoudis <georgakoudis1@llnl.gov>
Wed, 27 Jan 2021 14:46:40 +0000 (06:46 -0800)
commit1e59c1a89851534f162d5ada9fb61796710e4de5
tree6b538202a56fa195dd2a3b499fa59de7919b4b6d
parentbb40e6731843de92f1c73ad6efceb8a89e045ea6
[OpenMP][Libomptarget] Fix check-libomptarget

The check-libomptarget fails when building with LLVM_ENABLE_PROJECTS. This is because test configuration misses the path to libomp.so and libLLVMSupport.so when time profiling is enabled (both libraries have the same path when building). This patch add the path to the configuration.

Reviewed By: vzakhari

Differential Revision: https://reviews.llvm.org/D95376
openmp/README.rst
openmp/libomptarget/CMakeLists.txt