[PATCH] D101935: [clang] Search runtimes build tree for openmp runtime

Jon Chesterfield via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 23 11:39:40 PDT 2021


JonChesterfield added a comment.

At present libomptarget_amdgcn_bc_path and nvptx need to be a path to a file. If we relax that to accept a path to a directory in which the corresponding file is found, then we can use that argument in place of LIBRARY_PATH from the test scripts. That will let the tests run, gives developers absolute control over which deviceRTL library is linked in, stops clang from picking up the wrong file from an unrelated toolchain on LIBRARY_PATH. I consider that strictly better than the above patch. Thoughts?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D101935



More information about the cfe-commits mailing list