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

Support mold linker #569

Open
sjunges opened this issue Jun 10, 2024 · 2 comments
Open

Support mold linker #569

sjunges opened this issue Jun 10, 2024 · 2 comments
Milestone

Comments

@sjunges
Copy link
Contributor

sjunges commented Jun 10, 2024

Hi,

while waiting for Storm to link on linux... I found this

https://www.productive-cpp.com/using-the-mold-linker-for-fun-and-3x-8x-link-time-speedups/

I believe this could be a tremendous step towards faster CI.

Sebastian

@sjunges sjunges added this to the OSF milestone Jun 10, 2024
@volkm
Copy link
Contributor

volkm commented Jun 10, 2024

I tried building with mold, see this branch and this action. Some first insights:

  • mold is available as package for Ubuntu >= 22.04 and Debian >= 12.
  • Older versions of mold do not support LTO and fall back to ld
  • comparing timings with mold and without there seems to be a small improvement. But as the CI time can vary quite a bit, more experiments would be needed.

@sjunges
Copy link
Contributor Author

sjunges commented Jun 11, 2024

Cool!

Thanks for looking into it this quickly. Indeed, the difference seems not big as the mold website indicates. :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants