[Openmp-commits] [PATCH] D101266: [OpenMP][CMake] Pass --cuda-path to regression tests.

Shilei Tian via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Apr 26 18:28:12 PDT 2021


tianshilei1992 added a comment.

In D101266#2718386 <https://reviews.llvm.org/D101266#2718386>, @JonChesterfield wrote:

> Ah, I have confused this with needing to set LD_LIBRARY_PATH to find libomp.so when running an application, which may have been fixed somewhat recently. The tests using environment variables set by cmake to find cuda seems fine.

Actually `LD_LIBRARY_PATH` is indeed also set to find `libomp.so` and `libomptarget.so` in test. You can find it just a few lines above the code change in `openmp/libomptarget/test/lit.cfg`. However I don't think it's a problem, as long as they're prepended.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D101266



More information about the Openmp-commits mailing list