Skip to content

[build-script] On non-Darwin build lld by default. #31647

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

Conversation

gottesmm
Copy link
Contributor

@gottesmm gottesmm commented May 8, 2020

This will let us use lld to link the stdlib. This will allow us to
avoid problems due to old compilers being used on certain older distributions
that we support.

If anyone wants to not build lld, they can just pass to build-script-impl
--skip-build-lld

This will let us use lld to link the stdlib. This will allow us to
avoid problems due to old compilers being used on certain older distributions
that we support.

If anyone wants to not build lld, they can just pass to build-script-impl
--skip-build-lld
@gottesmm gottesmm requested review from compnerd and shahmishal May 8, 2020 00:43
@gottesmm
Copy link
Contributor Author

gottesmm commented May 8, 2020

@swift-ci smoke test

@gottesmm
Copy link
Contributor Author

gottesmm commented May 8, 2020

It is just good to have tools that are meant to work together when building target like things.

@gottesmm
Copy link
Contributor Author

gottesmm commented May 8, 2020

@swift-ci smoke test linux platform

Copy link
Member

@compnerd compnerd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason to not just build it always? The lld build times are negligible.

@gottesmm
Copy link
Contributor Author

gottesmm commented May 8, 2020

@compnerd I just don't want to cross that bridge for now. This is unquestionably an improvement.

@gottesmm gottesmm merged commit 7bdc402 into swiftlang:master May 8, 2020
@gottesmm gottesmm deleted the pr-ff0d585699a2dcf98bf6077190a869f014d0fec0 branch May 8, 2020 21:43
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

Successfully merging this pull request may close these issues.

3 participants