This is going to be used by the runtime build in the multi-target setup to allow using different install prefix for each target.
Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
Please add an entry for this option in the BuildingLibcxx.rst file, under the CMake options heading.
Oh, shoot nevermind abouth the LGTM. This needs changes to the testsuite as well, since it needs to be taught where to find libc++.
Also isn't there a CMake PREFIX variable we can set to change this globally?
There's CMAKE_PREFIX_PATH, the problem is that this is a global setting which works fine when building libc++ as standalone or as part of LLVM only for a single target. However, with D32816 we would like to add a support for building runtimes for multiple targets and hence we need a way to customize the install path for individual targets.
I have updated the documentation. I've checked the test suite but I don't think there's anything that needs to change there as this option is only used during installation.