From 9964743874c9293440ce9c1d764ca42ab34a1c89 Mon Sep 17 00:00:00 2001 From: jebba Date: Tue, 27 Jul 2021 16:26:37 -0600 Subject: [PATCH] ccache, perhaps --- docs/BUILD.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/BUILD.md b/docs/BUILD.md index e2e16e8..fcac769 100644 --- a/docs/BUILD.md +++ b/docs/BUILD.md @@ -75,6 +75,21 @@ apt install \ sharutils ``` +Maybe want to use `ccache` to save on rebuilds: + +``` +apt install ccache +``` + +Add to your `~/.bashrc`: + +``` +PATH=/usr/lib/ccache:$PATH +``` + +Then log out and back in and run `echo $PATH` to make sure it is there. +Run `ccache -s` during build to see cache hit rate. + ## Get Source Clone OpenWRT sources, around ~300 megs: