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

Butta via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 20 00:40:11 PDT 2023


buttaface added a comment.

@asb, thanks for letting us know, could you share more info on what platform you are building for? Your CMake error says this is supported on ELF, so you are building on macOS? As you can see in the OP above, @phosek reported a similar error before, so I coded this very defensively to always apply `BUILD_WITH_INSTALL_RPATH` for Mac and Windows. Perhaps this also affects you on other rare confurations, so we will need more info on your config to come up with a fix.


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