diff --git a/gitlab/functions.sh b/gitlab/functions.sh index 16db75ff1f2b4046f62e38faa041854045c7a25e..2caa1f4cece743b29d78978ada7fc422876bc019 100644 --- a/gitlab/functions.sh +++ b/gitlab/functions.sh @@ -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 }