aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Basic/FileManagerTest.cpp
diff options
context:
space:
mode:
authorJon Chesterfield <jonathanchesterfield@gmail.com>2021-09-01 18:47:55 +0100
committerJon Chesterfield <jonathanchesterfield@gmail.com>2021-09-01 18:47:56 +0100
commit718e5a9883eb7f21638315db638d7a7615a3f247 (patch)
treece1e911e684b4518a812783f0009cf0fb76846f9 /clang/unittests/Basic/FileManagerTest.cpp
parent3af981b0659ffb2445dee60f1ec14ba417b7d9b1 (diff)
downloadllvm-718e5a9883eb7f21638315db638d7a7615a3f247.zip
llvm-718e5a9883eb7f21638315db638d7a7615a3f247.tar.gz
llvm-718e5a9883eb7f21638315db638d7a7615a3f247.tar.bz2
[libomptarget] Set runpath on libomptarget, use that to drop LD_LIBRARY_PATH from test runner
Using rpath instead of LD_LIBRARY_PATH to find libomp.so and libomptarget.so lets one rerun the already built test executables without setting environment variables and removes the risk of the test runner picking up different libraries to the developer debugging the failure. rpath usually means runpath, which is not transitive, so set runpath on libomptarget itself so that it can find the plugins located next to it, spelled $ORIGIN. This provides sufficient functionality to drop D102043 Reviewed By: tianshilei1992 Differential Revision: https://reviews.llvm.org/D109071
Diffstat (limited to 'clang/unittests/Basic/FileManagerTest.cpp')
0 files changed, 0 insertions, 0 deletions