[PATCH] D99484: Use `GNUInstallDirs` to support custom installation dirs.

John Ericson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 28 17:39:49 PDT 2021


Ericson2314 added a comment.

In D99484#2724343 <https://reviews.llvm.org/D99484#2724343>, @Meinersbur wrote:

> In D99484#2724055 <https://reviews.llvm.org/D99484#2724055>, @Ericson2314 wrote:
>
>> Fix bug makeing polly path full, and rebase fixing conflicts
>
> What was the problem?

I effectively replaced `${CMAKE_INSTALL_PREFIX}/lib` `${CMAKE_INSTALL_LIBDIR}`, which evaluates (by default) merely to `lib`. The fix was `${CMAKE_INSTALL_FULL_LIBDIR}` which will always return an absolute path.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D99484



More information about the cfe-commits mailing list