Skip to content

[SR-8866] build-script should default to LLVM_USE_LINKER=gold if gold is available #51372

Open
@kevints

Description

@kevints
Previous ID SR-8866
Radar None
Original Reporter @kevints
Type Improvement
Additional Detail from JIRA
Votes 0
Component/s Project Infrastructure
Labels Improvement, CMake
Assignee None
Priority Medium

md5: a656328a25495a95d8efbd9ff685edc7

Issue Description:

On Ubuntu 14.04 a clean build of swift from a fresh clone takes a long time with the default flags to build-script. Much of this can be attributed to the use of the GNU ld linker. Right now you can get a great speed increase by passing --extra-cmake-options=-DLLVM_USE_LINKER=gold to build-script. Is there any reason not to make this the default?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions