[clang] [compiler-rt] Change compiler-rt lib search path for Hexagon-linux (PR #154530)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 20 22:59:49 PDT 2025
================
@@ -547,11 +548,8 @@ HexagonToolChain::getSmallDataThreshold(const ArgList &Args) {
}
std::string HexagonToolChain::getCompilerRTPath() const {
- SmallString<128> Dir(getDriver().SysRoot);
- llvm::sys::path::append(Dir, "usr", "lib");
- if (!SelectedMultilibs.empty()) {
- Dir += SelectedMultilibs.back().gccSuffix();
- }
----------------
quic-k wrote:
yes, the installation command needs to be in sync with where the clang driver looks for the libraries, and nothing should break
I wish there was a way to keep the driver and installation in sync but I don't think there is
also if this is merged, i will create a PR to toolchain_for_hexagon repo to accommodate the changes here
https://github.com/llvm/llvm-project/pull/154530
More information about the llvm-commits
mailing list