Skip to content

Commit e87872b

Browse files
committed
[troubleshoot]
1 parent 049086a commit e87872b

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.github/actions/1-setup/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ runs:
7777
./clang.exe //S # double-slash for bash
7878
rm clang.exe
7979
# C:\Program Files\LLVM\bin should already be in PATH
80+
where clang-cl
8081
clang-cl --version
8182
8283
- name: Download & extract LDC-flavoured LLVM # into ../llvm

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,11 @@ runs:
4646
- if: runner.os == 'Windows'
4747
shell: cmd
4848
run: |
49+
where clang-cl
4950
call "%LDC_VSDIR%\Common7\Tools\VsDevCmd.bat" -arch=${{ inputs.arch }} || exit /b
5051
echo on
52+
${{ inputs.arch == 'arm64' && 'set PATH=C:\Program Files\LLVM\bin;%PATH%' || '' }}
53+
where clang-cl
5154
cd .. || exit /b
5255
set installDir=%CD%\install
5356
mkdir "${{ inputs.build_dir }}" || exit /b

0 commit comments

Comments
 (0)