From 5dba4f37a12dfa06d397f45802fb8819d4e77664 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 20 Jul 2018 14:24:10 -0400 Subject: [PATCH] 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 --- .ci/ci-configure.sh | 4 ++-- .ci/ci-make-distcheck.sh | 3 ++- 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 travis_fold autoreconf autoreconf docker exec --env MAKEFLAGS="-j5 -rR" --env EIO_MONITOR_POLL=1 --env CC="ccache gcc" \ --env CXX="ccache g++" --env CFLAGS="-fdirectives-only" --env CXXFLAGS="-fdirectives-only" \ - $(cat $HOME/cid) sh -c "autoreconf -iv" + --env LD="ld.gold" $(cat $HOME/cid) sh -c "autoreconf -iv" travis_endfold autoreconf travis_fold configure "configure $OPTS" docker exec --env MAKEFLAGS="-j5 -rR" --env EIO_MONITOR_POLL=1 --env CC="ccache gcc" \ --env CXX="ccache g++" --env CFLAGS="-fdirectives-only" --env CXXFLAGS="-fdirectives-only" \ - $(cat $HOME/cid) sh -c "./configure $OPTS" + --env LD="ld.gold" $(cat $HOME/cid) sh -c "./configure $OPTS" travis_endfold configure else 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 docker exec --env MAKEFLAGS="-j5 -rR" --env EIO_MONITOR_POLL=1 --env CC="ccache gcc" \ --env CXX="ccache g++" \ --env CFLAGS="-fdirectives-only" --env CXXFLAGS="-fdirectives-only" \ - $(cat $HOME/cid) make distcheck || (sudo cat efl-*/_build/sub/src/test-suite.log; false) + --env LD="ld.gold" $(cat $HOME/cid) make distcheck || \ + (sudo cat efl-*/_build/sub/src/test-suite.log; false) else export PATH="/usr/local/opt/ccache/libexec:$(brew --prefix gettext)/bin:$PATH" make