[flang-commits] [clang] [flang] [Flang][AMDGPU] Add rocm-path flag (PR #88190)
Joseph Huber via flang-commits
flang-commits at lists.llvm.org
Tue Apr 9 13:43:50 PDT 2024
================
@@ -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
More information about the flang-commits
mailing list