Commit c4ba0f4e authored by xoviat's avatar xoviat Committed by GitHub
Browse files

osx: initialize ccache in get_macpython_environment

This is a better place IMHO because it parallels where it's set up in docker.
parent ecf5f259
...@@ -266,6 +266,15 @@ function set_py_vars { ...@@ -266,6 +266,15 @@ function set_py_vars {
} }
function get_macpython_environment { function get_macpython_environment {
if [ $USE_CCACHE == 1 ]; then
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
fi
# Set up MacPython environment # Set up MacPython environment
# Parameters: # Parameters:
# $version : [implementation-]major[.minor[.patch]] # $version : [implementation-]major[.minor[.patch]]
......
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