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() {
source $1/bin/activate $2
# Configures CCACHE
use_ccache=`which ccache`
if [ -z "${use_ccache}" ]; then
log_warn "Cannot find ccache, compiling from scratch..."
else
local ccache_bin=$2/lib/ccache
if [ ! -d ${ccache_bin} ]; then
run_cmd mkdir -pv ${ccache_bin}
ln -sf ${use_ccache} ${ccache_bin}/gcc
ln -sf ${use_ccache} ${ccache_bin}/g++
ln -sf ${use_ccache} ${ccache_bin}/cc
ln -sf ${use_ccache} ${ccache_bin}/c++
fi
use_gcc=`which gcc`
#PATH=${ccache_bin}:${PATH}
#export_env PATH
#log_info "ccache installed at ${use_ccache}, caching compilations..."
log_info "gcc installed at ${use_gcc}..."
fi
# use_ccache=`which ccache`
# if [ -z "${use_ccache}" ]; then
# log_warn "Cannot find ccache, compiling from scratch..."
# else
# local ccache_bin=$2/lib/ccache
# if [ ! -d ${ccache_bin} ]; then
# run_cmd mkdir -pv ${ccache_bin}
# ln -sf ${use_ccache} ${ccache_bin}/gcc
# ln -sf ${use_ccache} ${ccache_bin}/g++
# ln -sf ${use_ccache} ${ccache_bin}/cc
# ln -sf ${use_ccache} ${ccache_bin}/c++
# fi
# use_gcc=`which gcc`
# PATH=${ccache_bin}:${PATH}
# export_env PATH
# log_info "ccache installed at ${use_ccache}, caching compilations..."
# log_info "gcc installed at ${use_gcc}..."
# 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