On 6 September 2017 at 12:11, Marek Olšák <mar...@gmail.com> wrote: > On Wed, Sep 6, 2017 at 1:02 PM, Marek Olšák <mar...@gmail.com> wrote: >> On Wed, Sep 6, 2017 at 12:38 PM, Emil Velikov <emil.l.veli...@gmail.com> >> wrote: >>> On 4 September 2017 at 21:36, Marek Olšák <mar...@gmail.com> wrote: >>>> From: Marek Olšák <marek.ol...@amd.com> >>>> >>>> Building gallium is faster by 7.5 seconds on a 4core/8thread 3GHz CPU. >>>> (gallium build time is reduced by 15% when building only radeonsi) >>>> >>> Some of this can be attributed to a couple libraries less to link. >>> Speaking of which, did you switch to the gold linker, it should >>> utilise the multiple cores/threads nicely. >> >> Sadly no. > > How do I switch to the gold linker? > There's multiple ways: - manually (or via binutils-config –linker ld.gold) set the default /usr/bin/ld By default Arch has _hardlink_ to ld.bfd - export LD=ld.gold // haven't tried it - Add -fuse-ld=gold to the LDFLAGS (you may need a libtool patch [1])
HTH Emil [1] http://git.savannah.gnu.org/cgit/libtool.git/commit/?id=f9970d99293faf908fdc153a653fa5781095fb7a _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev