mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 09:00:22 +00:00
Build: Use ccache if it's available (#1315)
This commit is contained in:
parent
4997dcde06
commit
cdb58cdfd2
Notes:
sideshowbarker
2024-07-19 09:02:21 +09:00
Author: https://github.com/xyproto 🔰 Commit: https://github.com/SerenityOS/serenity/commit/cdb58cdfd29 Pull-request: https://github.com/SerenityOS/serenity/pull/1315
2 changed files with 4 additions and 2 deletions
|
@ -54,8 +54,6 @@ Once you've built the toolchain, go into the `Kernel/` directory, then run
|
|||
**./makeall.sh**, and if nothing breaks too much, take it for a spin by using
|
||||
**./run**.
|
||||
|
||||
You can vastly reduce the build time of successive rebuilds of Serenity by installing `ccache` and `export`ing ```PRE_CXX=ccache```
|
||||
|
||||
Bare curious users may even consider sourcing suitable hardware to [install Serenity on a physical PC.](https://github.com/SerenityOS/serenity/blob/master/INSTALL.md)
|
||||
|
||||
Later on, when you `git pull` to get the latest changes, there's no need to rebuild the toolchain. You can simply rerun **./makeall.sh** in the `Kernel/` directory and you'll be good to **./run** again.
|
||||
|
|
4
Makefile
4
Makefile
|
@ -15,6 +15,10 @@ SUBDIRS += \
|
|||
Games \
|
||||
Demos
|
||||
|
||||
ifneq (, $(shell which ccache))
|
||||
export PRE_CXX=ccache
|
||||
endif
|
||||
|
||||
include Makefile.subdir
|
||||
|
||||
all: subdirs
|
||||
|
|
Loading…
Reference in a new issue