Skip to content

Missing/Wrong Clang versions on macos runners #13166

@Flamefire

Description

@Flamefire

Description

macos-13 is supposed to have

Clang/LLVM 14.0.0
Clang/LLVM (Homebrew) 15.0.7 - available on $(brew --prefix llvm@15)/bin/clang

However /usr/bin/clang++ resolves to

Apple clang version 15.0.0 (clang-1500.1.0.2.5)

macos-15 should have

Clang/LLVM 16.0.0
Clang/LLVM (Homebrew) 18.1.8 - available on $(brew --prefix llvm@18)/bin/clang

/usr/bin/clang++ resolves to

Apple clang version 17.0.0 (clang-1700.0.13.5)

InstalledDir: /Applications/Xcode_16.4.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

Is that a documentation issue or a setup bug? Or am I missing anything?

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 22.04
  • Ubuntu 24.04
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • macOS 15
  • macOS 15 Arm64
  • macOS 26 Arm64
  • Windows Server 2019
  • Windows Server 2022
  • Windows Server 2025

Image version and build link

Image: macos-13
Version: 20250908.1476

Image: macos-15-arm64
Version: 20250928.2397

Is it regression?

no

Expected behavior

Default (Apple)Clang version matches documented version

Actual behavior

Different version reported

Repro steps

Run clang++ --version in a job on the macos-* images

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions