[clang] Remove Linux search paths on Windows (PR #113628)
Joseph Huber via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 13 13:32:37 PST 2024
================
@@ -3060,6 +3060,9 @@ Generic_GCC::Generic_GCC(const Driver &D, const llvm::Triple &Triple,
: ToolChain(D, Triple, Args), GCCInstallation(D),
CudaInstallation(D, Triple, Args), RocmInstallation(D, Triple, Args) {
getProgramPaths().push_back(getDriver().Dir);
+ llvm::Triple TargetTriple(D.getTargetTriple());
+ if (!TargetTriple.isOSWindows())
+ RocmInstallation->init();
----------------
jhuber6 wrote:
The RocmInstallation should handle Windows, even if it fails, rather than just masking it here and elsewhere.
https://github.com/llvm/llvm-project/pull/113628
More information about the cfe-commits
mailing list