mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[GITHUB] Add clang-cl location to the beginning of PATH instead of the end.
Fixes build with the latest VS2019 (16.8.2). The new version now adds Llvm\x64\bin to the PATH of the "x64_x86 Cross Tools Commannd Prompt", so we must override this to get x86 clang.
This commit is contained in:
parent
9cc1a26b70
commit
99c02855a8
1 changed files with 1 additions and 1 deletions
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
@ -121,7 +121,7 @@ jobs:
|
|||
run: |
|
||||
mkdir build
|
||||
cd build
|
||||
$env:PATH = "$env:PATH;$env:VCToolsInstallDir\..\..\Llvm\bin"
|
||||
$env:PATH = "$env:VCToolsInstallDir\..\..\Llvm\bin;$env:PATH"
|
||||
cmake -G Ninja -DCMAKE_TOOLCHAIN_FILE:FILEPATH=toolchain-msvc.cmake -DARCH:STRING=i386 -DENABLE_ROSTESTS=1 -DENABLE_ROSAPPS=1 -DUSE_CLANG_CL:BOOL=1 ${{github.workspace}}\src
|
||||
- name: Build
|
||||
working-directory: ${{github.workspace}}\build
|
||||
|
|
Loading…
Reference in a new issue