-
Notifications
You must be signed in to change notification settings - Fork 40
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
base: main
Are you sure you want to change the base?
Conversation
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" /> |
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.
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
?
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.
Nice catch! That should still be dynamic - I believe it ended up being that this was not profitable.
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.
Wait, no: swiftlang/swift-package-manager#8268
That does change PackageModelSyntax
to be static, along with SwiftSDKCommand
, DriverSupport
.
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.
Okay, now it does.
Update the SPM file list after some of the modules were converted to static linking.