Skip to content

Commit cfcac8f

Browse files
authored
doc: remove obsolete mentioning of cl.exe on windows
Signed-off-by: Chengzhong Wu <cwu631@bloomberg.net> PR-URL: #66038 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com> Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com>
1 parent 99f0dde commit cfcac8f

1 file changed

Lines changed: 1 addition & 16 deletions

File tree

BUILDING.md

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -874,16 +874,7 @@ Follow <https://github.com/ccache/ccache/wiki/MS-Visual-Studio>, and you
874874
should notice that obj file will be bigger than the normal one.
875875

876876
First, install ccache. Assuming the installation of ccache is in `c:\ccache`
877-
(where you can find `ccache.exe`), copy `c:\ccache\ccache.exe` to `c:\ccache\cl.exe`
878-
with this command.
879-
880-
```powershell
881-
cp c:\ccache\ccache.exe c:\ccache\cl.exe
882-
```
883-
884-
With newer version of Visual Studio, it may need the copy to be `clang-cl.exe`
885-
instead. If the output of `vcbuild.bat` suggests missing `clang-cl.exe`, copy
886-
it differently:
877+
(where you can find `ccache.exe`), setup aliases as the following commands:
887878

888879
```powershell
889880
cp c:\ccache\ccache.exe c:\ccache\clang-cl.exe
@@ -898,12 +889,6 @@ When building Node.js, provide a path to your ccache via the option:
898889
This will allow for near-instantaneous rebuilds when switching branches back
899890
and forth that were built with cache.
900891

901-
To use it with ClangCL, run this instead:
902-
903-
```powershell
904-
.\vcbuild.bat clang-cl ccache c:\ccache\
905-
```
906-
907892
### Android
908893

909894
Android is not a supported platform. Patches to improve the Android build are

0 commit comments

Comments
 (0)