[PATCH] D146686: [Driver] Fix rpath for compiler-rt

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 23 00:21:03 PDT 2023


MaskRay added a comment.

This change is correct for Linux. `llvm/CMakeLists.txt` says:

  if(CMAKE_SYSTEM_NAME MATCHES "BSD|Linux|OS390")
    set(LLVM_ENABLE_PER_TARGET_RUNTIME_DIR_default ON)

Some rpath using OSes (notably macOS) use LLVM_ENABLE_PER_TARGET_RUNTIME_DIR_default=OFF. Is the rpath setting ever usable on macOS?
If not, the change is correct.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D146686/new/

https://reviews.llvm.org/D146686



More information about the cfe-commits mailing list