Skip to content

Commit 951997c

Browse files
authored
CI Win64: Use clang 21, not v19 currently bundled with VS (#5057)
Activating the *x64* MSVC environment seems to newly put some bundled clang-cl onto PATH first, shadowing the matching version 21 we install into default `C:\Program Files\LLVM`. No bundled clang-cl for the *x86* environment apparently.
1 parent 9052fa5 commit 951997c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/actions/helper-build-ldc/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ runs:
5656
-DCMAKE_BUILD_TYPE=Release ^
5757
"-DLLVM_ROOT_DIR=%CD%\..\${{ inputs.llvm_dir }}" ^
5858
"-DD_COMPILER=${{ inputs.host_dc }}" ^
59-
-DCMAKE_C_COMPILER=clang-cl ^
60-
-DCMAKE_CXX_COMPILER=clang-cl ^
59+
"-DCMAKE_C_COMPILER=C:\Program Files\LLVM\bin\clang-cl.exe" ^
60+
"-DCMAKE_CXX_COMPILER=C:\Program Files\LLVM\bin\clang-cl.exe" ^
6161
${{ inputs.specify_install_dir == 'true' && '"-DCMAKE_INSTALL_PREFIX=%installDir%"' || '' }} ^
6262
${{ inputs.specify_install_dir == 'true' && '"-DINCLUDE_INSTALL_DIR=%installDir%\import"' || '' }} ^
6363
${{ inputs.cmake_flags }}

0 commit comments

Comments
 (0)