diff options
author | Nico Weber <thakis@chromium.org> | 2020-05-26 06:23:57 -0400 |
---|---|---|
committer | Nico Weber <thakis@chromium.org> | 2020-05-26 06:23:57 -0400 |
commit | 5229dd1366ab1423d66d3d16dddff6fbaee049d8 (patch) | |
tree | 3ba9d6d3b81b170a16f3aeb4c3e5097a78d25b47 /clang/unittests/Tooling/Syntax/TreeTest.cpp | |
parent | 09f7dcb64e1b2a3568ddb6ab327dd2f4a4d3d0fe (diff) | |
download | llvm-5229dd1366ab1423d66d3d16dddff6fbaee049d8.zip llvm-5229dd1366ab1423d66d3d16dddff6fbaee049d8.tar.gz llvm-5229dd1366ab1423d66d3d16dddff6fbaee049d8.tar.bz2 |
[build] Add LLVM_LOCAL_RPATH which can set an rpath on just unit test binaries
After D80096, bots that build clang for distribution and that can't use
system gcc / libstdc++ need to pass a working rpath so that unit test
binaries can run. The method suggested in GettingStarted.rst works fine
for local development, but it results in an absolute local rpath ending
up even in distributed binaries like clang, which is both ugly and
unnecessary.
Add an explicit toggle that can be used to add an rpath only for the
non-distributed binaries that need it.
Differential Revision: https://reviews.llvm.org/D80534
Diffstat (limited to 'clang/unittests/Tooling/Syntax/TreeTest.cpp')
0 files changed, 0 insertions, 0 deletions