[clang] Remove Linux search paths on Windows (PR #113628)

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 13 11:18:17 PST 2024


================
@@ -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


More information about the cfe-commits mailing list