Skip to content

Commit 33470d9

Browse files
legendecastargos
authored andcommitted
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 <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
1 parent 73757a5 commit 33470d9

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)