Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[build] Enable LLD by default #6814

Closed

Conversation

jim19930609
Copy link
Contributor

@jim19930609 jim19930609 commented Dec 6, 2022

Issue: #6793

Brief Summary

Use "lld" as default linker instead of "ld" because:

  1. lld is a drop-in replacement for ld
  2. lld is way more performant than ld
  3. lld is simpler to use, whereas ld has strict restrictions on link order
    and you will have to play with --start-group/--end-group to work around it

Ref1: https://stackoverflow.com/questions/29361801/is-the-lld-linker-a-drop-in-replacement-for-ld-and-gold
Ref2: https://community.haxe.org/t/hxcpp-on-linux-tip-replace-ld-linker-with-lld-to-seriously-improve-compilation-time/2134

@netlify
Copy link

netlify bot commented Dec 6, 2022

Deploy Preview for docsite-preview ready!

Name Link
🔨 Latest commit b079c14
🔍 Latest deploy log https://app.netlify.com/sites/docsite-preview/deploys/63904352d566a00008587aea
😎 Deploy Preview https://deploy-preview-6814--docsite-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@taichi-gardener taichi-gardener added this to In progress in CI/CD & Build & Tests Dec 6, 2022
@jim19930609 jim19930609 closed this Dec 7, 2022
CI/CD & Build & Tests automation moved this from In progress to Done Dec 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant