Skip to content

Commit

Permalink
ansible: add ClangCL to VS2022 (#3714)
Browse files Browse the repository at this point in the history
This is a part of an effort to enable compilation with Clang on Windows.
This commit enables building with ClangCL in the CI.

Fixes: #3709
  • Loading branch information
StefanStojanovic committed May 11, 2024
1 parent 56eaa17 commit e2397a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ansible/roles/visual-studio/tasks/partials/vs2022.yml
Expand Up @@ -9,10 +9,11 @@
win_chocolatey: name=visualstudio2022community

# Note: The .NET SDK was added as a prerequisite for WiX4 - https://github.com/nodejs/node/pull/45943
# Note: Clang components were aded as a prerequisite for v23 - https://github.com/nodejs/node/pull/52870
- name: install Visual Studio Community 2022 Native Desktop Workload
win_chocolatey:
name: visualstudio2022-workload-nativedesktop
params: '--add Microsoft.VisualStudio.Component.VC.Tools.ARM64 --add Microsoft.VisualStudio.Component.VC.ATL.ARM64 --add Microsoft.NetCore.Component.SDK'
params: '--add Microsoft.VisualStudio.Component.VC.Tools.ARM64 --add Microsoft.VisualStudio.Component.VC.ATL.ARM64 --add Microsoft.NetCore.Component.SDK --add Microsoft.VisualStudio.Component.VC.Llvm.Clang'

- name: install WiX Toolset
import_tasks: 'wixtoolset.yml'
Expand Down

0 comments on commit e2397a4

Please sign in to comment.