1
0
Fork 0

ccache, perhaps

master
jebba 2021-07-27 16:26:37 -06:00
parent c2812a8fa4
commit 9964743874
1 changed files with 15 additions and 0 deletions

View File

@ -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: