Skip to content

Commit

Permalink
Speeding up Build: Fixing symbolic links (facebook#3329)
Browse files Browse the repository at this point in the history
  • Loading branch information
rplankenhorn authored Nov 6, 2022
1 parent 8e22289 commit ab32e2d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/build-speed.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,12 @@ On Mac OS, we can install ccache with `brew install ccache`.
Once installed you can configure it as follows to cache NDK compile results:

```
ln -s ccache /usr/local/bin/gcc
ln -s ccache /usr/local/bin/g++
ln -s ccache /usr/local/bin/cc
ln -s ccache /usr/local/bin/c++
ln -s ccache /usr/local/bin/clang
ln -s ccache /usr/local/bin/clang++
ln -s $(which ccache) /usr/local/bin/gcc
ln -s $(which ccache) /usr/local/bin/g++
ln -s $(which ccache) /usr/local/bin/cc
ln -s $(which ccache) /usr/local/bin/c++
ln -s $(which ccache) /usr/local/bin/clang
ln -s $(which ccache) /usr/local/bin/clang++
```

This will create symbolic links to `ccache` inside the `/usr/local/bin/` which are called `gcc`, `g++`, and so on.
Expand Down

0 comments on commit ab32e2d

Please sign in to comment.