summaryrefslogtreecommitdiff
path: root/.ci
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2018-07-20 14:24:10 -0400
committerStefan Schmidt <s.schmidt@samsung.com>2018-07-30 17:40:57 +0200
commit5dba4f37a12dfa06d397f45802fb8819d4e77664 (patch)
tree8a68765fdad06dea9174d973b779c934ab8fe3a1 /.ci
parente7716794d02abd26ab6000357d2e779c4519e06b (diff)
ci: use gold linker for linux builds
this is a substantially faster linker which should yield some speedups for our builds Differential Revision: https://phab.enlightenment.org/D6655
Diffstat (limited to '.ci')
-rwxr-xr-x.ci/ci-configure.sh4
-rwxr-xr-x.ci/ci-make-distcheck.sh3
2 files changed, 4 insertions, 3 deletions
diff --git a/.ci/ci-configure.sh b/.ci/ci-configure.sh
index 8aebe8a78e..e7bf7255bb 100755
--- a/.ci/ci-configure.sh
+++ b/.ci/ci-configure.sh
@@ -52,12 +52,12 @@ if [ "$DISTRO" != "" ] ; then
52 travis_fold autoreconf autoreconf 52 travis_fold autoreconf autoreconf
53 docker exec --env MAKEFLAGS="-j5 -rR" --env EIO_MONITOR_POLL=1 --env CC="ccache gcc" \ 53 docker exec --env MAKEFLAGS="-j5 -rR" --env EIO_MONITOR_POLL=1 --env CC="ccache gcc" \
54 --env CXX="ccache g++" --env CFLAGS="-fdirectives-only" --env CXXFLAGS="-fdirectives-only" \ 54 --env CXX="ccache g++" --env CFLAGS="-fdirectives-only" --env CXXFLAGS="-fdirectives-only" \
55 $(cat $HOME/cid) sh -c "autoreconf -iv" 55 --env LD="ld.gold" $(cat $HOME/cid) sh -c "autoreconf -iv"
56 travis_endfold autoreconf 56 travis_endfold autoreconf
57 travis_fold configure "configure $OPTS" 57 travis_fold configure "configure $OPTS"
58 docker exec --env MAKEFLAGS="-j5 -rR" --env EIO_MONITOR_POLL=1 --env CC="ccache gcc" \ 58 docker exec --env MAKEFLAGS="-j5 -rR" --env EIO_MONITOR_POLL=1 --env CC="ccache gcc" \
59 --env CXX="ccache g++" --env CFLAGS="-fdirectives-only" --env CXXFLAGS="-fdirectives-only" \ 59 --env CXX="ccache g++" --env CFLAGS="-fdirectives-only" --env CXXFLAGS="-fdirectives-only" \
60 $(cat $HOME/cid) sh -c "./configure $OPTS" 60 --env LD="ld.gold" $(cat $HOME/cid) sh -c "./configure $OPTS"
61 travis_endfold configure 61 travis_endfold configure
62else 62else
63 OSX_COPTS="--disable-cxx-bindings --with-tests=regular -C" 63 OSX_COPTS="--disable-cxx-bindings --with-tests=regular -C"
diff --git a/.ci/ci-make-distcheck.sh b/.ci/ci-make-distcheck.sh
index c79c397470..c5b2d9750c 100755
--- a/.ci/ci-make-distcheck.sh
+++ b/.ci/ci-make-distcheck.sh
@@ -10,7 +10,8 @@ if [ "$DISTRO" != "" ] ; then
10 docker exec --env MAKEFLAGS="-j5 -rR" --env EIO_MONITOR_POLL=1 --env CC="ccache gcc" \ 10 docker exec --env MAKEFLAGS="-j5 -rR" --env EIO_MONITOR_POLL=1 --env CC="ccache gcc" \
11 --env CXX="ccache g++" \ 11 --env CXX="ccache g++" \
12 --env CFLAGS="-fdirectives-only" --env CXXFLAGS="-fdirectives-only" \ 12 --env CFLAGS="-fdirectives-only" --env CXXFLAGS="-fdirectives-only" \
13 $(cat $HOME/cid) make distcheck || (sudo cat efl-*/_build/sub/src/test-suite.log; false) 13 --env LD="ld.gold" $(cat $HOME/cid) make distcheck || \
14 (sudo cat efl-*/_build/sub/src/test-suite.log; false)
14else 15else
15 export PATH="/usr/local/opt/ccache/libexec:$(brew --prefix gettext)/bin:$PATH" 16 export PATH="/usr/local/opt/ccache/libexec:$(brew --prefix gettext)/bin:$PATH"
16 make 17 make