Skip to content

clang now maps to Homebrew clang not Apple clang #13827

@vszakats

Description

@vszakats

Description

After 0260317.0218.1, clang command maps to /opt/homebrew/bin/clang,
while earlier it mapped to Apple clang at /usr/bin/clang.

Was it intented?

Platforms affected

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

Runner images affected

  • Ubuntu 22.04
  • Ubuntu 24.04
  • Ubuntu Slim
  • macOS 14
  • macOS 14 Arm64
  • macOS 15
  • macOS 15 Arm64
  • macOS 26
  • macOS 26 Arm64
  • Windows Server 2022
  • Windows Server 2025
  • Windows Server 2025 with Visual Studio 2026

Image version and build link

Image: macos-15-arm64
Version: 20260317.0218.1
Included Software: https://github.com/actions/runner-images/blob/macos-15-arm64/20260317.0218/images/macos/macos-15-arm64-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/macos-15-arm64%2F20260317.0218

Last known good:
Image: macos-15-arm64
Version: 20260303.0188.2
Included Software: https://github.com/actions/runner-images/blob/macos-15-arm64/20260303.0188/images/macos/macos-15-arm64-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/macos-15-arm64%2F20260303.0188

Is it regression?

yes

Expected behavior

clang command maps to Apple clang.

Actual behavior

clang command maps to Homebrew llvm/clang 18

Repro steps

$ which clang

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions