forked from enlightenment/efl
ci: fix ccache segfault during setup on CI in release-ready build
Hopefully this is the last place we need to apply this. It has been bugging the cron daily CI builds a while now. Differential Revision: https://phab.enlightenment.org/D10643 Signed-off-by: Stefan Schmidt <s.schmidt@samsung.com>
This commit is contained in:
parent
4c8a764b49
commit
5b6b1b10ee
|
@ -5,7 +5,8 @@ CI_BUILD_TYPE="$1"
|
||||||
cp .ci/ccache.conf ~/.ccache
|
cp .ci/ccache.conf ~/.ccache
|
||||||
|
|
||||||
if [ "$1" = "release-ready" ] ; then
|
if [ "$1" = "release-ready" ] ; then
|
||||||
ccache -o base_dir="$(pwd)/$(grep '^PACKAGE_STRING' config.log|cut -d\' -f2|tr ' ' -)"
|
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
|
else
|
||||||
sed -iE '/^base_dir/d' ~/.ccache/ccache.conf
|
sed -iE '/^base_dir/d' ~/.ccache/ccache.conf
|
||||||
echo "base_dir = $pwd" >> ~/.ccache/ccache.conf
|
echo "base_dir = $pwd" >> ~/.ccache/ccache.conf
|
||||||
|
|
Loading…
Reference in New Issue