I am converting our build-system to use runtime builds (so that
runtimes are built with the newly built compiler) by setting
LLVM_ENABLE_RUNTIMES=libcxx;compiler-rt and I am running into some
problems with the default search directories and getting a "out of the
box" working toolchain.
By default the runtimes are installed into
Trying to use clang or clang++ later will not automatically search
those directories. With the old way of doing this (without runtime
builds) it would install the libraries and headers in places where
clang/clang++ would automatically find it.
I have tried the CMake option LLVM_ENABLE_PER_TARGET_RUNTIME_DIR and
set it to "OFF" but this seems not to change anything.
Is there a way to get clang to automatically search these dirs or
control the install directory?