diff options
author | Raul Tambre <raul@tambre.ee> | 2021-01-08 20:18:25 +0200 |
---|---|---|
committer | Raul Tambre <raul@tambre.ee> | 2021-01-08 20:26:08 +0200 |
commit | d9ce31ae7d1fc68de0ea1535fd25ef84e69aeb07 (patch) | |
tree | c848c4dada2c744710cf3f515fd12d2c07d6bd9a /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | fe50b7363a1fbf974107d75a7d0a4be8b9481b56 (diff) | |
download | llvm-d9ce31ae7d1fc68de0ea1535fd25ef84e69aeb07.zip llvm-d9ce31ae7d1fc68de0ea1535fd25ef84e69aeb07.tar.gz llvm-d9ce31ae7d1fc68de0ea1535fd25ef84e69aeb07.tar.bz2 |
Re-land "[CMake] Don't enable BUILD_WITH_INSTALL_RPATH when using custom build rpath"
Reverted check for empty CMAKE_BUILD_RPATH fixed.
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.
Differential Revision: https://reviews.llvm.org/D94322
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions