[Openmp-commits] [PATCH] D102043: [libomptarget] Look for plugins next to libomptarget.so
Jon Chesterfield via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Fri Jul 30 14:42:18 PDT 2021
JonChesterfield added a reviewer: jhuber6.
JonChesterfield added a comment.
It turns out some systems have lots of LLVM compilers installed, and try to use LD_LIBRARY_PATH to control which one is picked up.
I can see zero advantage to accidentally using a plugin that comes from one compiler with a libomptarget from another one. It seems a direct path to confusion in debugging. If someone wants to assemble a mashup locally, they're still totally free to do so, using cp/ln etc.
I think we should always use the plugin which is located right next to libomptarget, and use the current machinery for finding a given libomptarget.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D102043/new/
https://reviews.llvm.org/D102043
More information about the Openmp-commits
mailing list