aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Frontend/CompilerInvocationTest.cpp
diff options
context:
space:
mode:
authorRaul Tambre <raul@tambre.ee>2021-01-07 12:32:41 +0200
committerRaul Tambre <raul@tambre.ee>2021-01-08 08:31:10 +0200
commit0ebc1fb29f278db0665423f15c53e6ee9601dddb (patch)
tree5468b5d5aa45475024f3bf6f7b792f28e0b046ae /clang/unittests/Frontend/CompilerInvocationTest.cpp
parentae25a397e9de833ffbd5d8e3b480086404625cb7 (diff)
downloadllvm-0ebc1fb29f278db0665423f15c53e6ee9601dddb.zip
llvm-0ebc1fb29f278db0665423f15c53e6ee9601dddb.tar.gz
llvm-0ebc1fb29f278db0665423f15c53e6ee9601dddb.tar.bz2
[CMake] Don't enable BUILD_WITH_INSTALL_RPATH when using custom build rpath
When `BUILD_WITH_INSTALL_RPATH` is enabled it prevents using a custom rpath only for the build tree as the install rpath will be used. This makes it impossible to run a runtimes build when compiling with Clang and wanting the installed rpath to be empty (i.e. `-DCMAKE_BUILD_RPATH="<some path>" -DCMAKE_SKIP_INSTALL_RPATH=ON`). Disable `BUILD_WITH_INSTALL_RPATH` when `CMAKE_BUILD_RPATH` is non-empty to allow for such build scenarios. Reviewed By: phosek Differential Revision: https://reviews.llvm.org/D93177
Diffstat (limited to 'clang/unittests/Frontend/CompilerInvocationTest.cpp')
0 files changed, 0 insertions, 0 deletions