Skip to content

Commit

Permalink
chore: Add ccache tip in readme.md (#6931)
Browse files Browse the repository at this point in the history
* Update README.md

* Update README.md

Co-authored-by: Liqi Geng <[email protected]>

---------

Co-authored-by: Liqi Geng <[email protected]>
  • Loading branch information
LittleFall and gengliqi authored Mar 2, 2023
1 parent 40d23ae commit f57bc16
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -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:**
Expand Down Expand Up @@ -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>
Expand All @@ -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>
Expand Down

0 comments on commit f57bc16

Please sign in to comment.