================
@@ -91,7 +93,9 @@ function(llvm_ExternalProject_Add name source_dir)
     set(target_triple ${ARG_TARGET_TRIPLE})
   endif()
 
-  is_msvc_triple(is_msvc_target "${target_triple}")
+  if(NOT ARG_FORCE_POSIX_TOOLCHAIN)
+    is_msvc_triple(is_msvc_target "${target_triple}")
+  endif()
----------------
wenju-he wrote:

copilot is right that we can't override tools globally as it will impact other 
runtimes if built together with libclc.

https://github.com/llvm/llvm-project/pull/186726
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to