pytorch / pytorch/executorch

Include ClangCL toolset in MSVC

Open
#11,199 5 comments 2 reactions 2 assignees View on GitHub

@atalman is already working on this.

Since May 30, 2025.

module: build/install
Dominant language
Python
Stars
5k
Forks
1.2k
Avg merge
2d 10h
Merged PRs (30d)
581

Description

ExecuTorch doesn't build with MSVC. It has a ton of compiler errors that require significant effort to fix. It requires clang to compile. Our current Windows machines in CI do no have clang installed with MSVC. To support building and testing ET on Windows in CI, we need to support clang + MSVC.

The change to enable in Windows AMI has been landed: https://github.com/pytorch/test-infra/pull/6654 . The clang enablement was validated in canary using this PR: https://github.com/pytorch/pytorch-canary/pull/255

AMI is not fully tested in canary yet and not ready to be part of production yet.

cc @larryliu0820

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.