-
Notifications
You must be signed in to change notification settings - Fork 204
[CMake Build] Build and link driver dependencies as static libraries #965
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
795f1a6
to
1d38b4f
Compare
1d38b4f
to
c725ec1
Compare
@swift-ci please test |
Cross-repo tests in swiftlang/swift#40754 are green, including toolchain builds. |
not a CMake expert, but seems good to me 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One thing that this would do is prevent the use of the build-script-helper on windows (static linking is not available on Windows, though that is something that I would like to fix).
This will allow us to not install shared libraries of TSC, ArgumentParser, etc. into the toolchain when installing the driver.
c725ec1
to
10418ae
Compare
@swift-ci please test |
Is it currently being used to build swift-driver? If it is, should we preserve the ability to follow the old (pre-this-PR) code-path? |
No, I don't believe that the python script is being used, so it should be okay to merge this and fix that at some later date. |
This will allow us to not install shared libraries of TSC, ArgumentParser, etc. into the toolchain when installing the driver.
This would also help avoid having to do things like:
#963
#953