[PATCH] D146918: [CMake] Don't set absolute paths as install runpaths on ELF platforms in llvm_setup_rpath()

Peter Waller via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 18 09:21:14 PDT 2023


peterwaller-arm added a comment.

Looks like my previous message was truncated. I think it is 'not incorrect' for the rpath to point to LLVM_LIBRARY_DIR, which is the install path at least for the nixpkgs llvm install. In this case, the prefix clang is installed to differs from the one LLVM is installed to. If the rpath isn't set for clang there, it can't find libLLVM.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D146918



More information about the llvm-commits mailing list