compiler-rt runtime directory path when -DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=on #91160
Labels
A-LLVM
Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
It seems that "runtimes build" is getting more popular in llvm-project and -DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=on may possibly be enabled by default in the future.
Currently compiler-rt runtime libraries are aggressive on normalizing the target triple
LLVM_DEFAULT_TARGET_TRIPLE=x86_64-linux-gnu
tolib/clang/14.0.0/x86_64-unknown-linux-gnu/
.If https://reviews.llvm.org/D109837 (remove config.guess) and https://reviews.llvm.org/D110663 are accepted, the CMake build system will try respecting
LLVM_DEFAULT_TARGET_TRIPLE
and uselib/clang/14.0.0/x86_64-linux-gnu/
.This is a heads-up in case Rust needs any adjustment. I am not sure it needs, though.
The text was updated successfully, but these errors were encountered: