Skip to content

windows-latest (20261116.315.1) ships with incompatible MSVC (18.12) and pinned LLVM/Clang (20) #15367

Open

Description

@zsliu98

Description

windows-latest (20261116.315.1) ships with MSVC 18.12 and pins standalone LLVM to version 20. Those two are not compatible.

As a result, C++ project cannot be built with clang-cl.

Platforms affected

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

Runner images affected

  • Ubuntu 22.04
  • Ubuntu 22.04 Arm64
  • Ubuntu 24.04
  • Ubuntu 24.04 Arm64
  • Ubuntu 26.04
  • Ubuntu 26.04 Arm64
  • Ubuntu Slim
  • macOS 14
  • macOS 15
  • macOS 15 Arm64
  • macOS 26
  • macOS 26 Arm64
  • Xcode 27 Arm64
  • Windows Server 2022
  • Windows Server 2025
  • Windows Server 2025 with Visual Studio 2026
  • Windows Desktop 11 with Visual Studio 2026

Image version and build link

20261116.315.1

Is it regression?

Yes (20261103.298.1 does not have such issue)

Expected behavior

upgrade pinned LLVM version to make it compatible with MSVC

MSVC 18.2 requires Clang 22 as the minimum.

Actual behavior

The building processing fails.

  **********************************************************************
  ** Visual Studio 2026 Developer Command Prompt v18.12.0
  ** Copyright (c) 2026 Microsoft Corporation
  **********************************************************************
  [vcvarsall.bat] Environment initialized for: 'x64'
  [D:\a\ZLEqualizer\ZLEqualizer] cmake -S . -B Builds -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DZL_JUCE_FORMATS=VST3 -DZL_HWY_STATIC_TARGET=AVX2 -DWITH_ADDRESS_SANITIZER=OFF -DWITH_THREAD_SANITIZER=OFF -DZL_EQ_BAND_NUM=8
  -- Plugin version: 1.4.2 (42878f4c)
  -- The C compiler identification is Clang 20.1.8 with MSVC-like command-line
  -- The CXX compiler identification is Clang 20.1.8 with MSVC-like command-line
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - done
  -- Check for working C compiler: C:/Program Files/LLVM/bin/clang-cl.exe - skipped
  -- Detecting C compile features
  -- Detecting C compile features - done
  -- Detecting CXX compiler ABI info
  -- Detecting CXX compiler ABI info - done
  -- Check for working CXX compiler: C:/Program Files/LLVM/bin/clang-cl.exe - skipped
  -- Detecting CXX compile features
  -- Detecting CXX compile features - done
  -- Compiling with custom band number: 8
  -- Formats are VST3
  -- Sanitizers: ASan=OFF TSan=OFF
  -- Configuring juceaide
  -- Building juceaide
  -- Exporting juceaide
  -- Testing juceaide
  -- Finished setting up juceaide
  -- SIMD target is AVX2
  CMake Warning (deprecated) at highway/CMakeLists.txt:28 (cmake_policy):
    The OLD behavior for policy CMP0111 will be removed from a future version
    of CMake.
  
    The cmake-policies(7) manual explains that the OLD behaviors of all
    policies are deprecated and that a policy should be set to OLD only under
    specific short-term circumstances.  Projects should be ported to the NEW
    behavior and not rely on setting a policy to OLD.
  This warning is for project developers.  Use -Wno-author or -Wno-deprecated
  to suppress it.
  
  -- Performing Test ATOMICS_LOCK_FREE_INSTRUCTIONS
  -- Performing Test ATOMICS_LOCK_FREE_INSTRUCTIONS - Failed
  -- Performing Test ATOMICS_IN_LIBRARY
  -- Performing Test ATOMICS_IN_LIBRARY - Failed
  CMake Error at highway/cmake/FindAtomics.cmake:51 (message):
    Neither lock free instructions nor -latomic found.
  Call Stack (most recent call first):
    highway/CMakeLists.txt:51 (find_package)
  
  
  -- Configuring incomplete, errors occurred!

Repro steps

Build Google Highway in a C++ project (I don't think it is needed as the problem is obvious).

Activity

  1. v-dovchar commented on Nov 25, 2026

    @v-dovchar
    Contributor

    I’ve opened PR #15370 to address this issue. I’m working on finalizing validation and coordinating the review before merging. I’ll share an update once the remaining checks and review are complete.

  2. falcucci commented on Nov 25, 2026

    @falcucci

    At Neovide, this incompatibility also broke our pipeline. Any ETA for #15370 to get merged?

  3. v-dovchar commented on Nov 26, 2026

    @v-dovchar
    Contributor

    Thanks for the report. The fix in #15370 has passed image validation and is awaiting review. I don’t have a confirmed ETA for the merge yet. I’ll share an update when there is progress.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions