Skip to content

Commit 2a7a5b3

Browse files
committed
Update build_dll.py
1 parent 1b1cb70 commit 2a7a5b3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

warp/_src/build_dll.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,10 @@ def find_host_compiler() -> str:
190190
os.environ[pair[0]] = pair[1]
191191

192192
cl_path = shutil.which("cl.exe")
193+
if not cl_path:
194+
if verbose_cmd:
195+
print("Warning: cl.exe not found in PATH after running vcvars64.bat")
196+
return ""
193197
vc_tools_version = os.environ.get("VCToolsVersion", "")
194198
if not vc_tools_version:
195199
if verbose_cmd:

0 commit comments

Comments
 (0)