-
Notifications
You must be signed in to change notification settings - Fork 411
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Add ccache tip in readme.md (#6931)
* Update README.md * Update README.md Co-authored-by: Liqi Geng <[email protected]> --------- Co-authored-by: Liqi Geng <[email protected]>
- Loading branch information
1 parent
40d23ae
commit f57bc16
Showing
1 changed file
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,6 +41,7 @@ The following packages are required: | |
- Rust | ||
- Python 3.0+ | ||
- Ninja-Build or GNU Make | ||
- Ccache (not necessary but highly recommended to reduce rebuild time) | ||
|
||
Detailed steps for each platform are listed below. | ||
|
||
|
@@ -61,7 +62,7 @@ chmod +x llvm.sh | |
sudo ./llvm.sh 15 all | ||
|
||
# Install other dependencies | ||
sudo apt install -y cmake ninja-build zlib1g-dev libcurl4-openssl-dev | ||
sudo apt install -y cmake ninja-build zlib1g-dev libcurl4-openssl-dev ccache | ||
``` | ||
|
||
**Note for Ubuntu 18.04 and Ubuntu 20.04:** | ||
|
@@ -97,7 +98,7 @@ curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain none | |
source $HOME/.cargo/env | ||
|
||
# Install compilers and dependencies | ||
sudo pacman -S clang lld libc++ libc++abi compiler-rt openmp lcov cmake ninja curl openssl zlib llvm | ||
sudo pacman -S clang lld libc++ libc++abi compiler-rt openmp lcov cmake ninja curl openssl zlib llvm ccache | ||
``` | ||
|
||
</details> | ||
|
@@ -121,7 +122,7 @@ source $HOME/.cargo/env | |
xcode-select --install | ||
|
||
# Install other dependencies | ||
brew install ninja cmake [email protected] | ||
brew install ninja cmake [email protected] ccache | ||
``` | ||
|
||
</details> | ||
|