[Mesa-dev] [PATCH] gallium: build ddebug, noop, rbug, trace as part of auxiliary

Kai Wasserbäch kai at dev.carbon-project.org
Wed Sep 6 11:40:25 UTC 2017


On 06/09/17 13:11, Marek Olšák wrote:
> On Wed, Sep 6, 2017 at 1:02 PM, Marek Olšák <maraeo at gmail.com> wrote:
>> On Wed, Sep 6, 2017 at 12:38 PM, Emil Velikov <emil.l.velikov at gmail.com> wrote:
>>> On 4 September 2017 at 21:36, Marek Olšák <maraeo at gmail.com> wrote:
>>>> From: Marek Olšák <marek.olsak at 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?

Usually by appending -fuse-ld=gold to LDFLAGS (or by appending
-Wl,-fuse-ld=gold to CXXFLAGS/CFLAGS if the linker is invoked through
gcc/g++).

Cheers,
Kai


More information about the mesa-dev mailing list