Commit 256ffe0e authored by xoviat's avatar xoviat Committed by GitHub
Browse files

osx_utils: add activate_ccache

parent 8156f647
...@@ -340,3 +340,13 @@ function install_pkg_config { ...@@ -340,3 +340,13 @@ function install_pkg_config {
# https://github.com/matthew-brett/multibuild/issues/24#issue-221951587 # https://github.com/matthew-brett/multibuild/issues/24#issue-221951587
command -v pkg-config > /dev/null 2>&1 || brew install pkg-config command -v pkg-config > /dev/null 2>&1 || brew install pkg-config
} }
function activate_ccache {
brew install ccache
export PATH=/usr/local/opt/ccache/libexec:$PATH
export CCACHE_MAXSIZE=200M
export CCACHE_CPP2=1
# Prove to the developer that ccache is activated
which clang
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment