================ @@ -425,6 +425,12 @@ MSVCToolChain::MSVCToolChain(const Driver &D, const llvm::Triple &Triple, const ArgList &Args) : ToolChain(D, Triple, Args), CudaInstallation(D, Triple, Args), RocmInstallation(D, Triple, Args) { + + // Tell the ROCm installation detector that Host is Windows before trying to + // find HIPRT or Device Libs + RocmInstallation->setHostWindows(true); ---------------- arsenm wrote:
Toolchain constructor should not imply host https://github.com/llvm/llvm-project/pull/113628 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits