Thanks for proposing this.
Currently I know two issues for Linux.
- [CMake] Debian “Could NOT find ZLIB” when using a -DLLVM_ENABLE_RUNTIMES build of clang
arm-*
issue (@DavidSpickett can elaborate)
For *BSD, I have a pending ⚙ D110126 [CMake] Enable LLVM_ENABLE_PER_TARGET_RUNTIME_DIR by default on *BSD
For AIX, they disable LLVM_ENABLE_PER_TARGET_RUNTIME_DIR=on
with LLVM_ENABLE_RUNTIMES (⚙ D88169 [CMake][AIX] Set LLVM_ENABLE_PER_TARGET_RUNTIME_DIR appropriately for AIX) @daltenty
If you build with
-DLLVM_ENABLE_PROJECT=compiler-rt
it defaults to the old path, if you build with-DLLVM_ENABLE_RUNTIMES=compiler-rt
it defaults to the new path then there is the option to force which path to use with-DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR
.
Correction: main and release/15.x enable LLVM_ENABLE_PER_TARGET_RUNTIME_DIR=on by default on non-arm Linux.