This is an archive of the discontinued LLVM Phabricator instance.

[CMake] Add RPATHS parameter to llvm_add_executable/library
AbandonedPublic

Authored by sgraenitz on Nov 29 2018, 3:23 PM.

Details

Reviewers
None
Summary

This allows to set target-specific LC_RPATH load commands on macOS. It would be useful to locate LLDB.framework in LLDB tools.

Diff Detail

Event Timeline

sgraenitz created this revision.Nov 29 2018, 3:23 PM
sgraenitz abandoned this revision.Dec 5 2018, 5:24 AM

More requirements for RPATH handling in LLDB came up. We will do it manually over there instead of adding support in LLVM. Added D55316 to avoid the need for reverting default settings.