diff options
author | Mike Blumenkrantz <zmike@samsung.com> | 2018-07-20 14:24:10 -0400 |
---|---|---|
committer | Stefan Schmidt <s.schmidt@samsung.com> | 2018-07-30 17:40:57 +0200 |
commit | 5dba4f37a12dfa06d397f45802fb8819d4e77664 (patch) | |
tree | 8a68765fdad06dea9174d973b779c934ab8fe3a1 /.ci | |
parent | e7716794d02abd26ab6000357d2e779c4519e06b (diff) | |
download | efl-5dba4f37a12dfa06d397f45802fb8819d4e77664.tar.gz |
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.sh | 4 | ||||
-rwxr-xr-x | .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 |