HomePhabricator

[cmake] Allow to configure the linker used.

Description

[cmake] Allow to configure the linker used.

Summary: Now default to lld as it is even significantly faster than gold and packaged pretty much everywhere, except when a plateform file is explicitely specified in which case it uses the linker provide by the plateform.

Test Plan:

ninja all check-all

Cross compile OSX, ARM and Win64 to make sure they work properly.

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

Differential Revision: https://reviews.bitcoinabc.org/D8640

Details

Provenance
deadalnixAuthored on Dec 9 2020, 22:25
deadalnixPushed on Dec 15 2020, 16:29
Reviewer
Restricted Project
Differential Revision
D8640: [cmake] Allow to configure the linker used.
Parents
rABCc7aa1518e5bb: Make uploading the assets optional when creating a release draft
Branches
Unknown
Tags
Unknown