Skip to content

Commit 8609915

Browse files
authored
doc: improve ccache explanation
ccache improves the build speed significantly only when the branch was built before. Building fresh branches with major changes are not benefited from ccache. PR-URL: #50133 Fixes: #49967 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
1 parent 33c87ec commit 8609915

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

BUILDING.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,8 @@ export CC="ccache cc" # add to ~/.zshrc or other shell config file
543543
export CXX="ccache c++" # add to ~/.zshrc or other shell config file
544544
```
545545

546-
This will allow for near-instantaneous rebuilds even when switching branches.
546+
This will allow for near-instantaneous rebuilds when switching branches back
547+
and forth that were built with cache.
547548

548549
When modifying only the JS layer in `lib`, it is possible to externally load it
549550
without modifying the executable:

0 commit comments

Comments
 (0)