[clang] [llvm] [OpenMP] Update the bitcode library install and search path (PR #136754)
Joseph Huber via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 23 06:20:15 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());
----------------
jhuber6 wrote:
Yeah, I mostly copied it from how clang gets the existing file paths. Probably should be cleaned up as a whole.
https://github.com/llvm/llvm-project/pull/136754
More information about the cfe-commits
mailing list