Message ID | 20220727184850.2857314-1-thomas.petazzoni@bootlin.com |
---|---|
State | Accepted |
Headers | show |
Series | [1/3] docs/manual/ccache-support.txt: expand explanation about ccache cache location | expand |
Thomas, All, On 2022-07-27 20:48 +0200, Thomas Petazzoni via buildroot spake thusly: > The manual explanation seemed to imply that the cache is always in > ~/.buildroot-ccache/, but it's just the default value. Clarify this > point. > > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Applied to master, thanks. Regards, Yann E. MORIN. > --- > docs/manual/ccache-support.txt | 10 ++++++---- > 1 file changed, 6 insertions(+), 4 deletions(-) > > diff --git a/docs/manual/ccache-support.txt b/docs/manual/ccache-support.txt > index f6746ad7d8..ea64628615 100644 > --- a/docs/manual/ccache-support.txt > +++ b/docs/manual/ccache-support.txt > @@ -15,10 +15,12 @@ speed up the build process. > +Enable compiler cache+ in +Build options+. This will automatically > build +ccache+ and use it for every host and target compilation. > > -The cache is located in +$HOME/.buildroot-ccache+. It is stored > -outside of Buildroot output directory so that it can be shared by > -separate Buildroot builds. If you want to get rid of the cache, simply > -remove this directory. > +The cache is located in the directory defined by the +BR2_CCACHE_DIR+ > +configuration option, which defaults to > ++$HOME/.buildroot-ccache+. This default location is outside of > +Buildroot output directory so that it can be shared by separate > +Buildroot builds. If you want to get rid of the cache, simply remove > +this directory. > > You can get statistics on the cache (its size, number of hits, > misses, etc.) by running +make ccache-stats+. > -- > 2.37.1 > > _______________________________________________ > buildroot mailing list > buildroot@buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot
diff --git a/docs/manual/ccache-support.txt b/docs/manual/ccache-support.txt index f6746ad7d8..ea64628615 100644 --- a/docs/manual/ccache-support.txt +++ b/docs/manual/ccache-support.txt @@ -15,10 +15,12 @@ speed up the build process. +Enable compiler cache+ in +Build options+. This will automatically build +ccache+ and use it for every host and target compilation. -The cache is located in +$HOME/.buildroot-ccache+. It is stored -outside of Buildroot output directory so that it can be shared by -separate Buildroot builds. If you want to get rid of the cache, simply -remove this directory. +The cache is located in the directory defined by the +BR2_CCACHE_DIR+ +configuration option, which defaults to ++$HOME/.buildroot-ccache+. This default location is outside of +Buildroot output directory so that it can be shared by separate +Buildroot builds. If you want to get rid of the cache, simply remove +this directory. You can get statistics on the cache (its size, number of hits, misses, etc.) by running +make ccache-stats+.
The manual explanation seemed to imply that the cache is always in ~/.buildroot-ccache/, but it's just the default value. Clarify this point. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> --- docs/manual/ccache-support.txt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-)