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
This commit is contained in:
Mike Blumenkrantz 2018-07-20 14:24:10 -04:00 committed by Stefan Schmidt
parent e7716794d0
commit 5dba4f37a1
2 changed files with 4 additions and 3 deletions

View File

@ -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"

View File

@ -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