cbalint13 commented on code in PR #17260:
URL: https://github.com/apache/tvm/pull/17260#discussion_r1713364621


##########
python/tvm/contrib/cc.py:
##########
@@ -373,7 +373,11 @@ def _linux_compile(
 
 def _windows_compile(output, objects, options, cwd=None, ccache_env=None):
     cmd = ["clang"]
+    compiler = os.getenv("TVM_WIN_CC", default="clang")
+    win_target = os.getenv("TVM_WIN_TARGET", default="x86_64")
+    cmd = [compiler]

Review Comment:
   This overwrite initial ```cmd = ["clang"]``` initialization, in a 
counterintuitive logic, could we condition the new assignment here to 
```TVM_WIN_CC``` presence ?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to