summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2019-06-24 09:09:34 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-06-24 09:09:34 -0400
commitdafd23655f2a9408d9e979b93b20fbad68c18fc3 (patch)
treef5455c8f264d64b051d83a1d8f00b7f02efd657b
parent3ddbda1266c3902500c543692884e5d434ac7e0b (diff)
ci: enforce ccache for macos meson run
Summary: While we set CC="ccache gcc" as an env var in Travis it gets overridden at some point before meson is run. This results in a situation where we have ccache enabled for g++, but not for gcc. Enforcing the setting directly before meson again to make sure it gets picked up correctly. I have seen build time improvements on Travis with up to 7 minutes with this in an optimal case (rebuild existing job). It should shave off at least a few minutes from every build even with bigger changes. Depends on D9160 Reviewers: zmike, bu5hm4n Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9161
-rwxr-xr-x.ci/ci-configure.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/.ci/ci-configure.sh b/.ci/ci-configure.sh
index 0b0522cf0d..7802c6b409 100755
--- a/.ci/ci-configure.sh
+++ b/.ci/ci-configure.sh
@@ -83,6 +83,7 @@ else
83 export LDFLAGS="-L/usr/local/opt/openssl/lib $LDFLAGS" 83 export LDFLAGS="-L/usr/local/opt/openssl/lib $LDFLAGS"
84 LIBFFI_VER=$(brew list --versions libffi|head -n1|cut -d' ' -f2) 84 LIBFFI_VER=$(brew list --versions libffi|head -n1|cut -d' ' -f2)
85 export PKG_CONFIG_PATH="/usr/local/opt/openssl/lib/pkgconfig:/usr/local/Cellar/libffi/$LIBFFI_VER/lib/pkgconfig" 85 export PKG_CONFIG_PATH="/usr/local/opt/openssl/lib/pkgconfig:/usr/local/Cellar/libffi/$LIBFFI_VER/lib/pkgconfig"
86 export CC="ccache gcc"
86 travis_fold meson meson 87 travis_fold meson meson
87 mkdir build && meson build -Decore-imf-loaders-disabler=scim,ibus -Dx11=false -Davahi=false -Dbindings=luajit -Deeze=false -Dsystemd=false -Dnls=false -Dcocoa=true -Demotion-loaders-disabler=gstreamer,gstreamer1,libvlc,xine 88 mkdir build && meson build -Decore-imf-loaders-disabler=scim,ibus -Dx11=false -Davahi=false -Dbindings=luajit -Deeze=false -Dsystemd=false -Dnls=false -Dcocoa=true -Demotion-loaders-disabler=gstreamer,gstreamer1,libvlc,xine
88 travis_endfold meson 89 travis_endfold meson