[clang] [clang][Driver] Handle ROCm installation layout of lib/llvm/bin/clang (PR #138928)

Yaxun Liu via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 7 10:16:48 PST 2025


================
@@ -181,8 +181,15 @@ RocmInstallationDetector::getInstallationPathCandidates() {
 
     // Some versions of the rocm llvm package install to /opt/rocm/llvm/bin
----------------
yxsamliu wrote:

I think this is for detecting rocm installation path, which is used for HIP include and lib path.

https://github.com/llvm/llvm-project/pull/138928


More information about the cfe-commits mailing list