Skip to content

Use the clang-cl of Visual Studio 2026 in the clang-win CI job - #393

Open
gennaroprota wants to merge 1 commit into
developfrom
use-the-clang-cl-of-visual-studio-2026-in-the-clang-win-ci-job
Open

gennaroprota wants to merge 1 commit into
developfrom
use-the-clang-cl-of-visual-studio-2026-in-the-clang-win-ci-job

Conversation

@gennaroprota

Copy link
Copy Markdown
Collaborator

The windows-2025-vs2026 image now has MSVC 14.52, whose standard library refuses Clang versions older than 22, but b2 finds the standalone LLVM 20.1.8 of the image first. So every compilation in the clang-win job failed, including the configuration checks, and b2 skipped most of the tests without reporting them.

We now put the clang-cl which comes with Visual Studio first in the PATH of that job, as Microsoft ships it together with the standard library it is meant for, and run the job on windows-2025-vs2026 explicitly, which is where it was already running.

The windows-2025-vs2026 image now has MSVC 14.52, whose standard library
refuses Clang versions older than 22, but b2 finds the standalone LLVM
20.1.8 of the image first. So every compilation in the clang-win job
failed, including the configuration checks, and b2 skipped most of the
tests without reporting them.

We now put the clang-cl which comes with Visual Studio first in the
`PATH` of that job, as Microsoft ships it together with the standard
library it is meant for, and run the job on windows-2025-vs2026
explicitly, which is where it was already running.
@gennaroprota
gennaroprota force-pushed the use-the-clang-cl-of-visual-studio-2026-in-the-clang-win-ci-job branch from da1d2ce to 8ca8361 Compare November 23, 2026 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant