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

WiX: adjust manifest for static conversion #373

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

compnerd
Copy link
Member

Update the SPM file list after some of the modules were converted to static linking.

Update the SPM file list after some of the modules were converted to
static linking.
@@ -222,9 +216,6 @@
<Component>
<File Source="$(TOOLCHAIN_ROOT)\usr\bin\PackageModel.dll" />
</Component>
<Component>
<File Source="$(TOOLCHAIN_ROOT)\usr\bin\PackageModelSyntax.dll" />
Copy link
Contributor

Choose a reason for hiding this comment

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

It looks like PackageModelSyntax is still able to go either way in https://github.com/swiftlang/swift-package-manager/pull/8268/files and https://github.com/swiftlang/swift-package-manager/blob/2215d098ed2aa991ed3f3d8c712266f14ebe4b45/Sources/PackageModelSyntax/CMakeLists.txt#L9

Does that PR need to switch it to a static archive, or are you switching things to use -DBUILD_SHARED_LIBS=NO?

Copy link
Member Author

Choose a reason for hiding this comment

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

Nice catch! That should still be dynamic - I believe it ended up being that this was not profitable.

Copy link
Member Author

Choose a reason for hiding this comment

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

Wait, no: swiftlang/swift-package-manager#8268

That does change PackageModelSyntax to be static, along with SwiftSDKCommand, DriverSupport.

Copy link
Contributor

Choose a reason for hiding this comment

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

Okay, now it does.

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.

2 participants