stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=db4d908c06e95b0e8cac0551f40cfcffb3831349

commit db4d908c06e95b0e8cac0551f40cfcffb3831349
Author: Stefan Schmidt <s.schm...@samsung.com>
Date:   Tue Nov 5 15:26:36 2019 +0100

    ci: work around ccache segafult during setup
    
    This is the same fix we applied for the macOS. Somehow ccache segfaults
    during the init. This only shows on the Ubuntu 19.10 update.
    
    Reviewed-by: Marcel Hollerbach <m...@marcel-hollerbach.de>
    Differential Revision: https://phab.enlightenment.org/D10599
---
 .ci/docker-ccache-setup.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.ci/docker-ccache-setup.sh b/.ci/docker-ccache-setup.sh
index 748e743bf9..f9c1aa7809 100755
--- a/.ci/docker-ccache-setup.sh
+++ b/.ci/docker-ccache-setup.sh
@@ -7,5 +7,6 @@ cp .ci/ccache.conf ~/.ccache
 if [ "$1" = "release-ready" ] ; then
   ccache -o base_dir="$(pwd)/$(grep '^PACKAGE_STRING' config.log|cut -d\' 
-f2|tr ' ' -)"
 else
-  ccache -o base_dir=$(pwd)
+  sed -iE '/^base_dir/d' ~/.ccache/ccache.conf
+  echo "base_dir = $pwd" >> ~/.ccache/ccache.conf
 fi

-- 


Reply via email to