================ @@ -342,6 +342,10 @@ void Flang::AddAMDGPUTargetArgs(const ArgList &Args, StringRef Val = A->getValue(); CmdArgs.push_back(Args.MakeArgString("-mcode-object-version=" + Val)); } + + // Check ROCm path if specified + const ToolChain &TC = getToolChain(); + TC.getDeviceLibs(Args); ---------------- jhuber6 wrote:
What does this have to do with adding `--rocm-path`? Does `flang` correctly inherit the `RocmInstallationDetector` logic once specified? https://github.com/llvm/llvm-project/pull/88190 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits