Skip to content

WiX: package up Distributed in the experimental SDK #439

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

Merged
merged 1 commit into from
Jul 21, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions platforms/Windows/platforms/windows/windows.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@
<Directory Id="lib_StringProcessing.swiftmodule" Name="_StringProcessing.swiftmodule" />
<Directory Id="libCRT.swiftmodule" Name="CRT.swiftmodule" />
<Directory Id="libDispatch.swiftmodule" Name="Dispatch.swiftmodule" />
<Directory Id="libDistributed.swiftmodule" Name="Distributed.swiftmodule" />
<Directory Id="libFoundation.swiftmodule" Name="Foundation.swiftmodule" />
<Directory Id="libFoundationEssentials.swiftmodule" Name="FoundationEssentials.swiftmodule" />
<Directory Id="libFoundationInternationalization.swiftmodule" Name="FoundationInternationalization.swiftmodule" />
Expand Down Expand Up @@ -1471,6 +1472,49 @@
</ComponentGroup>
<?endif?>

<?if $(IncludeARM64) = True?>
<ComponentGroup Id="libDistributed.arm64" Directory="libDistributed.swiftmodule">
<Component DiskId="6">
<File Source="$(ExperimentalSDKRoot)\usr\lib\swift_static\windows\Distributed.swiftmodule\aarch64-unknown-windows-msvc.swiftdoc" />
</Component>
<Component DiskId="6">
<File Source="$(ExperimentalSDKRoot)\usr\lib\swift_static\windows\Distributed.swiftmodule\aarch64-unknown-windows-msvc.swiftmodule" />
</Component>

<Component Directory="WindowsExperimentalSDK_usr_lib_swift_static_windows_arm64">
<File Source="$(ExperimentalSDKRoot)\usr\lib\swift_static\windows\aarch64\libswiftDistributed.lib" />
</Component>
</ComponentGroup>
<?endif?>
<?if $(IncludeX64) = True?>
<ComponentGroup Id="libDistributed.x64" Directory="libDistributed.swiftmodule">
<Component DiskId="7">
<File Source="$(ExperimentalSDKRoot)\usr\lib\swift_static\windows\Distributed.swiftmodule\x86_64-unknown-windows-msvc.swiftdoc" />
</Component>
<Component DiskId="7">
<File Source="$(ExperimentalSDKRoot)\usr\lib\swift_static\windows\Distributed.swiftmodule\x86_64-unknown-windows-msvc.swiftmodule" />
</Component>

<Component Directory="WindowsExperimentalSDK_usr_lib_swift_static_windows_x64">
<File Source="$(ExperimentalSDKRoot)\usr\lib\swift_static\windows\x86_64\libswiftDistributed.lib" />
</Component>
</ComponentGroup>
<?endif?>
<?if $(IncludeX86) = True?>
<ComponentGroup Id="libDistributed.x86" Directory="libDistributed.swiftmodule">
<Component DiskId="8">
<File Source="$(ExperimentalSDKRoot)\usr\lib\swift_static\windows\Distributed.swiftmodule\i686-unknown-windows-msvc.swiftdoc" />
</Component>
<Component DiskId="8">
<File Source="$(ExperimentalSDKRoot)\usr\lib\swift_static\windows\Distributed.swiftmodule\i686-unknown-windows-msvc.swiftmodule" />
</Component>

<Component Directory="WindowsExperimentalSDK_usr_lib_swift_windows_x86">
<File Source="$(ExperimentalSDKRoot)\usr\lib\swift_static\windows\i686\libswiftDistributed.lib" />
</Component>
</ComponentGroup>
<?endif?>

<!-- _FoundationCollections -->
<?if $(IncludeARM64) = True?>
<ComponentGroup Id="_FoundationCollections.arm64" Directory="_FoundationCollections.swiftmodule">
Expand Down Expand Up @@ -2946,6 +2990,7 @@
<ComponentGroupRef Id="lib_StringProcessing.arm64" />
<ComponentGroupRef Id="libBlocksRuntime.arm64" />
<ComponentGroupRef Id="libCRT.arm64" />
<ComponentGroupRef Id="libDistributed.arm64" />
<ComponentGroupRef Id="libdispatch.arm64" />
<ComponentGroupRef Id="libFoundation.arm64" />
<ComponentGroupRef Id="libFoundationEssentials.arm64" />
Expand Down Expand Up @@ -2978,6 +3023,7 @@
<ComponentGroupRef Id="lib_StringProcessing.x64" />
<ComponentGroupRef Id="libBlocksRuntime.x64" />
<ComponentGroupRef Id="libCRT.x64" />
<ComponentGroupRef Id="libDistributed.x64" />
<ComponentGroupRef Id="libdispatch.x64" />
<ComponentGroupRef Id="libFoundation.x64" />
<ComponentGroupRef Id="libFoundationEssentials.x64" />
Expand Down Expand Up @@ -3010,6 +3056,7 @@
<ComponentGroupRef Id="lib_StringProcessing.x86" />
<ComponentGroupRef Id="libBlocksRuntime.x86" />
<ComponentGroupRef Id="libCRT.x86" />
<ComponentGroupRef Id="libDistributed.x86" />
<ComponentGroupRef Id="libdispatch.x86" />
<ComponentGroupRef Id="libFoundation.x86" />
<ComponentGroupRef Id="libFoundationEssentials.x86" />
Expand Down