[PATCH] D41402: [cmake] Fix DESTDIR support in compiler-rt build
Petr Hosek via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 2 11:06:27 PST 2018
phosek added a comment.
@smeenai why not set `-DCMAKE_INSTALL_PREFIX=""` (you can even omit the quotes altogether)? This is exactly what we do in Fuchsia toolchain build, we set `CMAKE_INSTALL_PREFIX` to empty string and then use `DESTDIR` to control the desired install path. This is a pretty standard pattern used by various package systems.
Repository:
rCRT Compiler Runtime
https://reviews.llvm.org/D41402
More information about the llvm-commits
mailing list