summaryrefslogtreecommitdiff
path: root/.ci
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2020-06-04 15:19:47 +0200
committerStefan Schmidt <s.schmidt@samsung.com>2020-06-08 09:45:14 +0200
commit816b3b36379b2eafc2cd91cd9d63597996f45a2a (patch)
tree7a0518043aee730d3edbeaff071be9509601ef17 /.ci
parent63b1334e2c98f0c0f08801ce77d66f372e7abb30 (diff)
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
Diffstat (limited to '.ci')
-rwxr-xr-x.ci/docker-ccache-setup.sh9
1 files changed, 2 insertions, 7 deletions
diff --git a/.ci/docker-ccache-setup.sh b/.ci/docker-ccache-setup.sh
index caba08ac81..81406cb8bc 100755
--- a/.ci/docker-ccache-setup.sh
+++ b/.ci/docker-ccache-setup.sh
@@ -4,10 +4,5 @@ CI_BUILD_TYPE="$1"
4 4
5cp .ci/ccache.conf ~/.ccache 5cp .ci/ccache.conf ~/.ccache
6 6
7if [ "$1" = "release-ready" ] ; then 7sed -iE '/^base_dir/d' ~/.ccache/ccache.conf
8 sed -iE '/^base_dir/d' ~/.ccache/ccache.conf 8echo "base_dir = $pwd" >> ~/.ccache/ccache.conf
9 echo "base_dir = $(pwd)/$(grep '^PACKAGE_STRING' config.log|cut -d\' -f2|tr ' ' -)" >> ~/.ccache/ccache.conf
10else
11 sed -iE '/^base_dir/d' ~/.ccache/ccache.conf
12 echo "base_dir = $pwd" >> ~/.ccache/ccache.conf
13fi