Skip to content
Snippets Groups Projects
Commit 5effb507 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

Disables use of ccache for the time being

parent ad05cf61
No related branches found
No related tags found
1 merge request!42Staging
...@@ -182,24 +182,24 @@ prepare_build_env() { ...@@ -182,24 +182,24 @@ prepare_build_env() {
source $1/bin/activate $2 source $1/bin/activate $2
# Configures CCACHE # Configures CCACHE
use_ccache=`which ccache` # use_ccache=`which ccache`
if [ -z "${use_ccache}" ]; then # if [ -z "${use_ccache}" ]; then
log_warn "Cannot find ccache, compiling from scratch..." # log_warn "Cannot find ccache, compiling from scratch..."
else # else
local ccache_bin=$2/lib/ccache # local ccache_bin=$2/lib/ccache
if [ ! -d ${ccache_bin} ]; then # if [ ! -d ${ccache_bin} ]; then
run_cmd mkdir -pv ${ccache_bin} # run_cmd mkdir -pv ${ccache_bin}
ln -sf ${use_ccache} ${ccache_bin}/gcc # ln -sf ${use_ccache} ${ccache_bin}/gcc
ln -sf ${use_ccache} ${ccache_bin}/g++ # ln -sf ${use_ccache} ${ccache_bin}/g++
ln -sf ${use_ccache} ${ccache_bin}/cc # ln -sf ${use_ccache} ${ccache_bin}/cc
ln -sf ${use_ccache} ${ccache_bin}/c++ # ln -sf ${use_ccache} ${ccache_bin}/c++
fi # fi
use_gcc=`which gcc` # use_gcc=`which gcc`
#PATH=${ccache_bin}:${PATH} # PATH=${ccache_bin}:${PATH}
#export_env PATH # export_env PATH
#log_info "ccache installed at ${use_ccache}, caching compilations..." # log_info "ccache installed at ${use_ccache}, caching compilations..."
log_info "gcc installed at ${use_gcc}..." # log_info "gcc installed at ${use_gcc}..."
fi # fi
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment