[clang] [llvm] [OpenMP] Update the bitcode library install and search path (PR #136754)
Michael Kruse via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 23 00:53:12 PDT 2025
================
@@ -2794,6 +2794,11 @@ void tools::addOpenMPDeviceRTL(const Driver &D,
for (const auto &LibPath : HostTC.getFilePaths())
LibraryPaths.emplace_back(LibPath);
+ // Check the target specific library path for the triple as well.
+ SmallString<128> P(D.Dir);
+ llvm::sys::path::append(P, "..", "lib", Triple.getTriple());
----------------
Meinersbur wrote:
Another note: Paths should not be relative to `P.Dir`. It should either be the resource dir or sysroot. Again, a common problem that I don't expect to be fixed here.
https://github.com/llvm/llvm-project/pull/136754
More information about the cfe-commits
mailing list