forked from enlightenment/efl
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:
parent
e7716794d0
commit
5dba4f37a1
|
@ -52,12 +52,12 @@ if [ "$DISTRO" != "" ] ; then
|
||||||
travis_fold autoreconf autoreconf
|
travis_fold autoreconf autoreconf
|
||||||
docker exec --env MAKEFLAGS="-j5 -rR" --env EIO_MONITOR_POLL=1 --env CC="ccache gcc" \
|
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" \
|
--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_endfold autoreconf
|
||||||
travis_fold configure "configure $OPTS"
|
travis_fold configure "configure $OPTS"
|
||||||
docker exec --env MAKEFLAGS="-j5 -rR" --env EIO_MONITOR_POLL=1 --env CC="ccache gcc" \
|
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" \
|
--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
|
travis_endfold configure
|
||||||
else
|
else
|
||||||
OSX_COPTS="--disable-cxx-bindings --with-tests=regular -C"
|
OSX_COPTS="--disable-cxx-bindings --with-tests=regular -C"
|
||||||
|
|
|
@ -10,7 +10,8 @@ if [ "$DISTRO" != "" ] ; then
|
||||||
docker exec --env MAKEFLAGS="-j5 -rR" --env EIO_MONITOR_POLL=1 --env CC="ccache gcc" \
|
docker exec --env MAKEFLAGS="-j5 -rR" --env EIO_MONITOR_POLL=1 --env CC="ccache gcc" \
|
||||||
--env CXX="ccache g++" \
|
--env CXX="ccache g++" \
|
||||||
--env CFLAGS="-fdirectives-only" --env CXXFLAGS="-fdirectives-only" \
|
--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
|
else
|
||||||
export PATH="/usr/local/opt/ccache/libexec:$(brew --prefix gettext)/bin:$PATH"
|
export PATH="/usr/local/opt/ccache/libexec:$(brew --prefix gettext)/bin:$PATH"
|
||||||
make
|
make
|
||||||
|
|
Loading…
Reference in New Issue