ci: simplify ccache setup handling
We no longer need the special case for release ready. This was needed for the way autotools setup directories, which we no longer use. (We are not having a config.log anymore) Differential Revision: https://phab.enlightenment.org/D11937
This commit is contained in:
parent
63b1334e2c
commit
816b3b3637
|
@ -4,10 +4,5 @@ CI_BUILD_TYPE="$1"
|
|||
|
||||
cp .ci/ccache.conf ~/.ccache
|
||||
|
||||
if [ "$1" = "release-ready" ] ; then
|
||||
sed -iE '/^base_dir/d' ~/.ccache/ccache.conf
|
||||
echo "base_dir = $(pwd)/$(grep '^PACKAGE_STRING' config.log|cut -d\' -f2|tr ' ' -)" >> ~/.ccache/ccache.conf
|
||||
else
|
||||
sed -iE '/^base_dir/d' ~/.ccache/ccache.conf
|
||||
echo "base_dir = $pwd" >> ~/.ccache/ccache.conf
|
||||
fi
|
||||
sed -iE '/^base_dir/d' ~/.ccache/ccache.conf
|
||||
echo "base_dir = $pwd" >> ~/.ccache/ccache.conf
|
||||
|
|
Loading…
Reference in New Issue