mirror of
https://github.com/nodejs/node.git
synced 2026-10-28 10:15:07 +08:00
doc: remove obsolete mentioning of cl.exe on windows
Signed-off-by: Chengzhong Wu <cwu631@bloomberg.net> PR-URL: https://github.com/nodejs/node/pull/66038 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com> Reviewed-By: Stefan Stojanovic <stefan.stojanovic@janeasystems.com>
This commit is contained in:
1 parent
99f0ddef2e
commit
cfcac8f34a
1 file changed
+1
-16
+1
-16
@@ -874,16 +874,7 @@ Follow <https://github.com/ccache/ccache/wiki/MS-Visual-Studio>, and you
|
||||
should notice that obj file will be bigger than the normal one.
|
||||
|
||||
First, install ccache. Assuming the installation of ccache is in `c:\ccache`
|
||||
(where you can find `ccache.exe`), copy `c:\ccache\ccache.exe` to `c:\ccache\cl.exe`
|
||||
with this command.
|
||||
|
||||
```powershell
|
||||
cp c:\ccache\ccache.exe c:\ccache\cl.exe
|
||||
```
|
||||
|
||||
With newer version of Visual Studio, it may need the copy to be `clang-cl.exe`
|
||||
instead. If the output of `vcbuild.bat` suggests missing `clang-cl.exe`, copy
|
||||
it differently:
|
||||
(where you can find `ccache.exe`), setup aliases as the following commands:
|
||||
|
||||
```powershell
|
||||
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:
|
||||
This will allow for near-instantaneous rebuilds when switching branches back
|
||||
and forth that were built with cache.
|
||||
|
||||
To use it with ClangCL, run this instead:
|
||||
|
||||
```powershell
|
||||
.\vcbuild.bat clang-cl ccache c:\ccache\
|
||||
```
|
||||
|
||||
### Android
|
||||
|
||||
Android is not a supported platform. Patches to improve the Android build are
|
||||
|
||||
Reference in new issue
Block a user