Skip to content

Commit

Permalink
Also clang-format-17 installer
Browse files Browse the repository at this point in the history
  • Loading branch information
miscco committed Oct 18, 2023
1 parent 74690a7 commit 3d86c9f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions windows/image/install-tools.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ Push-location "$PSScriptRoot"
./installers/install-cuda.ps1 -cudaVersion $cudaVersion
./installers/install-git.ps1
./installers/install-lit.ps1
## Must be after lit installation for pip
./installers/install-clang-format.ps1
./installers/install-cmake.ps1
./installers/install-ninja.ps1
./installers/install-sccache.ps1
Expand Down
6 changes: 6 additions & 0 deletions windows/image/installers/install-clang-format.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
## Remove previous clang-format binary from the MSVC install
Remove-Item -Path (gcm clang-format).Source -Force

## Ensure that this runs after the lit installer so we already have pip
python -m pip install --upgrade pip
python -m pip install clang-format==17.*

0 comments on commit 3d86c9f

Please sign in to comment.